Skip to content

Instantly share code, notes, and snippets.


cyberbikepunk cyberbikepunk

View GitHub Profile
View sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
Protocol 2
# HostKeys for protocol version 2
cyberbikepunk /
Last active Sep 12, 2015 — forked from james2doyle/
Create a repo on Github from the command line
function repo() {
if [ $# -eq 2 ]; then
# name of repo to be created
curl –sS -u 'cyberbikepunk' -d "$POST"
git remote add origin$PROJECTNAME.git
echo "remote origin added"
cyberbikepunk /
Last active Oct 5, 2015 — forked from anonymous/
Quick Unittest Mock tutorial
my_singleton = None
class Foo(object):
def __init__(self):
def do(arg):
cyberbikepunk /
Created Jun 18, 2016 — forked from ricardo-rossi/
Installing ElasticSearch on Ubuntu 14.04
### ./ 1.7 will install Elasticsearch 1.7
### ./ will fail because no version was specified (exit code 1)
### CLI options Contributed by @janpieper
### Check for latest version of ElasticSearch
cyberbikepunk /
Created Jun 27, 2016 — forked from Chaser324/
GitHub Standard Fork & Pull Request Workflow

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, when I started going through the process of forking and issuing pull requests, I had some trouble figuring out the proper method for doing so and made quite a few mistakes along the way. I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your