Skip to content

Instantly share code, notes, and snippets.

View hilkeheremans's full-sized avatar

Hilke Heremans hilkeheremans

View GitHub Profile
@trey
trey / happy_git_on_osx.md
Last active September 19, 2024 16:23
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "[email protected]"

/*
ensure :: { String: Any } => void, throws Error
Checks to see if you are failing to pass in any arguments.
Example:
function doSomethingToUser(userName, userEmail) {
ensure({ userName, userEmail });
// do stuff...
@you21979
you21979 / hdnode.md
Last active June 25, 2018 04:36
bitcoinjs-lib hdnode snipet

mnemonic generate

12 word

const mnemonic = bip39.generateMnemonic();

24 word

@0xjac
0xjac / private_fork.md
Last active November 18, 2024 00:09
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git