- vim
- byobu
- aria2
This file contains hidden or 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
| RACK_ENV=production bundle exec sidekiq -r ./bootstrap.rb -C ./config/sidekiq.yml | |
| rvmsudo rvm get stable | |
| rvmsudo rvm install 2.0.0 | |
This file contains hidden or 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
| https://andi34.github.io/ | |
| http://android.stackexchange.com/questions/62985/how-do-i-install-cyanogenmod-11-on-a-samsung-galaxy-tab-2-gt-p5113/62986#62986 | |
| http://forum.xda-developers.com/showthread.php?t=2571498 | |
| http://forum.xda-developers.com/showthread.php?t=2676180 | |
| Current version: 4.2.2 |
This file contains hidden or 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 | |
| ## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
| ## License: GNU General Public License v2, v3 | |
| # | |
| # Lockable script boilerplate | |
| ### HEADER ### | |
| LOCKFILE="/var/lock/`basename $0`" |
This file contains hidden or 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 <Wire.h> // This library allows you to communicate with I2C | |
| #include <Adafruit_GFX.h> // Adafruit GFX graphics core library | |
| #include <Adafruit_SSD1306.h> // Driver library for 'monochrome' 128x64 and 128x32 OLEDs | |
| #define OLED_RESET 4 | |
| Adafruit_SSD1306 display(OLED_RESET); | |
| #if (SSD1306_LCDHEIGHT != 64) | |
| #error("Height incorrect, please fix Adafruit_SSD1306.h!"); |
This file contains hidden or 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/sh | |
| # Configure homebrew permissions to allow multiple users on MAC OSX. | |
| # Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
| # allow admins to manage homebrew's local install directory | |
| sudo chgrp -R admin /usr/local/* | |
| sudo chmod -R g+w /usr/local/* |
This file contains hidden or 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
| // helper function for stock check | |
| const doTheyHaveIt = () => Math.random() > 0.1 | |
| // boilerplate functions for getting the different ingredients | |
| const getButter = () => new Promise((resolve, reject) => { | |
| setTimeout(doTheyHaveIt() ? resolve('Butter') : reject('Sorry, no butter'), 1000) | |
| }) | |
| const getFlour = () => new Promise((resolve, reject) => { | |
| setTimeout(doTheyHaveIt() ? resolve('Flour') : reject('Sorry, no flour'), 1000) | |
| }) |
This file contains hidden or 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 bash | |
| ENV=dev | |
| AWS_PROFILE=${ENV} | |
| CLUSTER=${ENV}-cluster | |
| if [[ -z $1 ]]; then | |
| echo "USAGE: $0 service-keyword" | |
| exit 1 |