A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
# | |
# Working with branches | |
# | |
# Get the current branch name (not so useful in itself, but used in | |
# other aliases) | |
branch-name = "!git rev-parse --abbrev-ref HEAD" | |
# Push the current branch to the remote "origin", and set it to track | |
# the upstream branch | |
publish = "!git push -u origin $(git branch-name)" |
Let Google cache and resize your images.
Resized and Cached:
Original:
height: 600 | |
license: mit | |
acknowledgement: Please add "Nadieh Bremer | Visual Cinnamon" to your credit when re-using this code, thank you! |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
int main(int argc, char* argv[]){ | |
if(argc > 1) //if there is an argument | |
/* Do something */ | |
string firstArg = argv[1]; | |
} |
# makefile | |
# define target, its dependencies and files | |
p5: main.o LinkedList.o | |
g++ -o p4 main.o LinkedList.o | |
# define how each object file is to be built | |
main.o: main.cpp LinkedList.h | |
g++ -c main.cpp |
# Set-Up | |
$Shell = $Host.UI.RawUI | |
$size = $Shell.WindowSize | |
$size.width=90 | |
$size.height=30 | |
$Shell.WindowSize = $size | |
$size = $Shell.BufferSize | |
$size.width=140 | |
$size.height=2500 |
Download the current snapshot of a repo as a .zip archive
[current snapshot](https://github.com/<username>/<repo>/zipball/master)