GithubHelp home page GithubHelp logo

anthrax3 / austinhackers.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from austinhackers/austinhackers.github.io

0.0 0.0 0.0 2.56 MB

AHA! Website Source

Home Page: http://takeonme.org/

Ruby 12.80% HTML 32.78% CSS 54.42%

austinhackers.github.io's Introduction

AHA! Website

This repo contains the new website for the AHA group. This is replacing the old (and nasty) website that was previously hosted at wikidot.

How to submit your speaker materials

This is primarily taken from the Metasploit Pull-Request documentation from @corelanc0der, as well as styling from tbaggery.

The procedure outline is as follows:

  1. Create new branch
  2. Create/copy new speaker-notes markdown file
  3. Test changes locally with rake (requires jekyll and components be installed).
  4. Commit changes to local repo
  5. Push local branch to origin
  6. Create/submit pull request on github.com
  7. Clean up
  8. Resyncing from upstream

Create new branch

First, create a new branch from your master branch:

Please use the format YYYY-MM-DD-yourhandle
git checkout master
git checkout -b 2013-09-26-mauvehead

Create/copy new speaker-notes markdown file

Either copy an existing speaker-notes file from another meeting or use the template found in templates/. If you choose to use the template, please remove the "Date:" line before your final commit. This line is only required to make jekyll run without errors while testing locally with rake.

Create/copy the speaker-notes markdown file, ensuring to put it in the proper meeting folder _posts/YYYY-MM-DD/ that you spoke at.

Test changes with rake

With jekyll installed locally (follow quick-start-instructions from jekyll website), from the main root of the repo, run rake to start jekyll and watch the output of the server. Now you can navigate to localhost:4000 to view your changes.

Commit changes, push branch to origin

Once it's all done and tested, add the changes to your repo and push the branch up to origin:

git add <path to new speaker-notes>
git commit -m "added speaker-notes for mauvehead at meeting 2013-09-26"
git push origin 2013-09-26-mauvehead

Please make sure your commit messages conform to [this guide] (http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). TL;DR - First line should be 50 characters or less, then a blank line, then more explanatory text if necessary, with lines no longer than 72 characters.

Create/submit pull-request on github.com

From your github page, navigate to your forked copy of the AHA! Website repo. Find your new branch that you just created and pushed up to your origin in the previous step. Look in the top right corner of the box that shows your source code, is a link that says Pull Request. Click this and continue on.

This will automatically reference upstream's master as the branch to land your pull request.

Once you click Send Pull Request, you'll be on upstream's pull queue.

Wait for your pull-request to land

Now you must wait to the pull-request to be reviewed and landed by someone with commit access. Your pull-request will be reviewed to verify it matches requirements and compatibility.

This process has no real time line and could take days or longer. If there is no movement on the pull-request ticket, you can always poke us on IRC, or buy is booze.

Clean up

Once your pull-request has landed upstream, you can clean up your local branch after rebasing.

You can clean out your development branches with the following:

git branch -D 2013-09-26-mauvehead
git push origin :2013-09-26-mauvehead

Note that Git branches are cheap (nearly free, in terms of disk space), so this shouldn't happen too terribly often.

Resyncing from upstream

The general idea here is to always use a new branch to create new content you want to submit to the main AHA repo, known as upstream. In doing so you'll never work directly from your master branch, you'll instead use new branches for each feature or speaker note.

With this idea in mind, your master branch should always be an up to date version of the upstream AHA repo.

The following will set this up:

  1. Add remote upstream (do only once)
git remote add upstream [email protected]:AustinHackers/austinhackers.github.io.git
  1. Verify it was added (optional)
git remote -v
  1. Grab all remote objects
git fetch --all
  1. Sync your local master with the latest from upstream
git reset --hard upstream/master
  1. Push your local master to YOUR origin/github profile (optional)
git push origin master

austinhackers.github.io's People

Contributors

mauvehed avatar todb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.