Skip to content

Instantly share code, notes, and snippets.

View intrepidkarthi's full-sized avatar
🚀
while(!(tastedSuccess = tryTryAgain()));

Karthikeyan NG intrepidkarthi

🚀
while(!(tastedSuccess = tryTryAgain()));
View GitHub Profile
#include <lowpower.h>
#include <EEPROM.h>
int currentSessionId;
int humanCount = 0;
int eepromHumanCount = 0;
long eepromLastSyncAt = 0;
const int trigPin = 9;
const int echoPin = 10;
@intrepidkarthi
intrepidkarthi / iterm2.md
Created January 26, 2017 10:07
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@intrepidkarthi
intrepidkarthi / s3.sh
Last active August 29, 2015 14:20 — forked from chrismdp/s3.sh
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1