Skip to content

Instantly share code, notes, and snippets.

View pierot's full-sized avatar
🏠
Working from home

Pieter Michels pierot

🏠
Working from home
View GitHub Profile
@pierot
pierot / termieter-vim.sh
Last active December 17, 2015 16:09
termieter + vim
wget -N --quiet https://raw.github.com/pierot/termieter/master/install -O termieter-install.sh
chmod +x termieter-install.sh
source ./termieter-install.sh
source ~/.bash_profile
chsh -s /bin/zsh
# VIM
assets/
js/
main.js
main.js.map
main.map
main.min.js
$ grunt watch:sass
$ grunt watch:app
$ grunt
$ npm install
assets/
js/
*.js
coffee/
**/*.coffee
img/
fonts/
css/
*.sass
*.css
@pierot
pierot / gist:4999922
Created February 20, 2013 21:47
send_ir.pde
// This sketch will send out a Nikon D50 trigger signal (probably works with most Nikons)
// See the full tutorial at http://www.ladyada.net/learn/sensors/ir.html
// this code is public domain, please enjoy!
int IRledPin = 13; // LED connected to digital pin 13
// The setup() method runs once, when the sketch starts
void setup() {
// initialize the IR digital pin as an output:
@pierot
pierot / gist:4999917
Created February 20, 2013 21:46
read_ir.pde
/* Raw IR decoder sketch!
This sketch/program uses the Arduno and a PNA4602 to
decode IR received. This can be used to make a IR receiver
(by looking for a particular code)
or transmitter (by pulsing an IR LED at ~38KHz for the
durations detected
Code is public domain, check out www.ladyada.net and adafruit.com
for more tutorials!
*/
DEVELOPMENT:
<script data-main='/assets/js/build' src="/assets/js/vendor/require.js"></script>
PRODUCTION
<script data-main='/assets/js/main.min' src="/assets/js/vendor/require.js"></script>