Lean-Agile Practitioner:
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
# Usage: | |
# ./tinypng <path> <path> ... | |
# | |
# Upload the files to shrink and then save them locally under the same name. | |
# Only works with JPEG and PNG. Accepts wildcard path for batch compression. | |
# | |
# Uses TinyPNG API: https://tinypng.com/developers/reference. | |
# Uses TINYPNG_API_KEY environment variable for TinyPNG API key. | |
# Depends on jq: https://stedolan.github.io/jq/ |
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
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
Opening db file /Users/mkalygin/.meteor/package-metadata/v2.0.1/packages.data.db | |
Local package version is up-to-date: [email protected] | |
Opening db file /Users/mkalygin/.meteor/package-metadata/v2.0.1/packages.data.db | |
314.00 q [via TOP:commands.js] | |
48.00 underscore [via TOP:underscore, TOP:console.js, cleanup.js:underscore, profile.js:underscore, TOP:warehouse.js, isopackets.js:underscore, isopackets.js:builder.js, isopackets.js:isopack-cache.js, isopackets.js:package-map.js, TOP:commands.js, TOP:commands-packages.js, TOP:commands-packages-query.js, TOP:commands-cordova.js] | |
27.00 npmlog [via TOP:warehouse.js, TOP:commands.js] | |
21.00 TOP | |
20.00 semver [via TOP:console.js, TOP:warehouse.js, TOP:commands.js, TOP:semver] | |
20.00 once [via TOP:console.js, TOP:commands.js] | |
18.00 npm [via TOP:commands.js] |
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
#include <stdio.h> | |
const bool FILE_IO = false; | |
int main() { | |
if (FILE_IO) { | |
freopen("input.txt", "r", stdin); | |
freopen("output.txt", "w", stdout); | |
} |
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
Show hidden characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_match_enabled": false, | |
"bold_folder_labels": true, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"color_scheme": "Packages/User/Solarized-ocean (SL).tmTheme", | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
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
# Source: http://choyan.me/oh-my-zsh-elementaryos/ | |
sudo apt-get update && sudo apt-get install -y curl vim git zsh | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash | |
sudo chsh -s $(which zsh) $(whoami) |
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
#!/bin/bash | |
mongoctl connect `heroku config | grep -Po '(?<=MONGOLAB_URI: ).+'` |
NewerOlder