Skip to content

Instantly share code, notes, and snippets.

@rezaprima
rezaprima / awesome_books.md
Created Apr 14, 2018 — forked from mhsjlw/awesome_books.md
Awesome programming books!
View awesome_books.md

List of Awesome Programming Books

Never waste your time reading anything less than the most recent edition--check amazon!

For programming always prefer books with more recent publication dates

If any of these go too fast, try the "Head First" series!

Book Heuristics

  • Prefer more recently published books
View iterm_pastel_theme.sh
#!/bin/bash
PASTEL='{
"Ansi 0 Color" = {
"Blue Component" = 0.3097887;
"Green Component" = 0.3097887;
"Red Component" = 0.3097887;
};
"Ansi 1 Color" = {
"Blue Component" = 0.3764706;
View gist:240972
public string toString(TreePerformanceParameter objTreePerformanceParameter)
{
StringBuilder sb = new StringBuilder();
StringWriter sw = new StringWriter(sb);
XmlTextWriter xw = new XmlTextWriter(sw);
xw.WriteElementString("TPM_ID_PK", (""+objTreePerformanceParameter.intTpmIdPk));
xw.WriteElementString("BRANCH_ID_PK", (""+objTreePerformanceParameter.intBranchIdPk));
xw.WriteElementString("LEVEL_ID_PK", (""+objTreePerformanceParameter.intLevelIdPk));
xw.WriteElementString("RANK", (""+objTreePerformanceParameter.intRank));
View gist:39874
# SUPER DARING APP TEMPLATE 1.0
# By Peter Cooper
# Link to local copy of edge rails
inside('vendor') { run 'ln -s ~/dev/rails/rails rails' }
# Delete unnecessary files
run "rm README"
run "rm public/index.html"
run "rm public/favicon.ico"
View gist:39869
function current_git_branch {
git branch 2> /dev/null | grep '\*' | awk '{print $2}'
}
hack()
{
CURRENT=$(current_git_branch)
git checkout master
git pull origin master
git checkout ${CURRENT}