/(course_name)
|+ README.md //(#course-readme)
|
|- 1st-week //(#weekly-directory)
| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var endianness = require('os').endianness(); | |
var read8 = Buffer.prototype.readUInt8; | |
var read16 = Buffer.prototype['readUInt16' + endianness]; | |
var read32 = Buffer.prototype['readUInt32' + endianness]; | |
var readNumber = function(buf, readFunc, offset){ | |
buf.readFunc = readFunc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WHT="\e[90m" #light black | |
RED="\e[91m" #light red | |
GRN="\e[92m" #light green | |
YLW="\e[93m" #light yellow | |
BLU="\e[94m" #light blue | |
PNK="\e[95m" #light magenta | |
CYN="\e[96m" #light cyan | |
WHT="\e[97m" #light white | |
FGD="\e[99m" #light default foreground color |
- Some one on your project has merged a Pull Request into the
master
branch. - You push your code to your remote branch named
branch_name
and open a Pull Request to themaster
branch. - GitHub informs you your code can not automaticly merge into the
master
branch.
- Navigate to your project in your shell (the command line).
- You have been working on a project in a branch called
branch_name
and your code is not working. - You have spent some time trying to fix your code and its going no where.
- You come to the conclusion that it would be better if you could start over from an earlier commit.
- You want to roll back, but you dont want to loose any of your history.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": { | |
"no-console": 0, | |
"indent": [ | |
2, | |
2 | |
], | |
"quotes": [ | |
2, | |
"single" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# This file will recursivly walk though a directory and | |
# create a nice looking README.md of all the source code. | |
# Usage $ markdownify <Output File Name> | |
# | |
# Installation: | |
# copy this code into a file called markdownify | |
# move markdownify into one of your directorys in $PATH | |
# chmod 755 /path/to/markdownify | |
[ $# -eq 0 ] && { |
- make sure ur in the master branch by typing
git branch
- what ever branch you are in witll be green and have a * before it
- if you not in master commit any current changes then run
git chechout master
to switch to the master branch - Make sure your branch is up to date with github by running
git pull origin master
- Now your ready to create a new branch
- to create a new branch run
git checkout -b name-of-branch
OlderNewer