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
http://twitter.com/#!/nefo_mi/status/176393856881930241 | |
http://twitter.com/#!/nefo_mi/status/176371287390822400 | |
http://twitter.com/#!/nefo_mi/status/176369618666008577 | |
http://twitter.com/#!/libkinjo/status/176369087465799680 | |
http://twitter.com/#!/nefo_mi/status/176365952034799616 |
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
imap <expr><TAB> neocomplcache#sources#snippets_complete#expandable() ? "\<Plug>(neocomplcache_snippets_expand)" : pumvisible() ? "\<C-n>" : "\<TAB>" |
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 ruby | |
# encoding : utf-8 | |
require 'userstream' | |
require 'yaml' | |
require 'serialport' | |
sp = SerialPort.new("/dev/ttyACM0", 9600, 8, 1, SerialPort::NONE) | |
stream_config = YAML.load_file(File.expand_path(File.dirname(__FILE__) + '/config.yml')) |
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 <LiquidCrystal.h> | |
int incomingByte; | |
char inByte; | |
String inMsg; | |
LiquidCrystal lcd(7,8,9,10,11,12,13); | |
void setup() | |
{ | |
lcd.begin(2, 16); | |
lcd.clear(); |
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 <LiquidCrystal.h> | |
int incomingByte; | |
char inByte; | |
String inMsg; | |
LiquidCrystal lcd(7,8,9,10,11,12,13); | |
void setup() | |
{ | |
lcd.begin(2, 16); | |
lcd.clear(); |
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 ruby | |
# encoding : utf-8 | |
require 'open-uri' | |
require 'rexml/document' | |
CACHE = "/tmp/ustatus.rb.cache" | |
if File.exist?(CACHE) && (Time.now - File::Stat.new(CACHE).mtime) <= 2000 | |
print File.read(CACHE) |
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/ruby | |
# encoding : utf-8 | |
require 'open-uri' | |
require 'json' | |
CACHE = "/tmp/weather.rb.cache" | |
if File.exist?(CACHE) && (Time.now - File::Stat.new(CACHE).mtime) <= 1800 | |
print File.read(CACHE) |
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
aaa@@aa@aa | |
aaa@@a@@aa | |
aaa@@@aa@a | |
aaa@@a@@@@ | |
aaa@a@a@@@ | |
aaa@aaaaa | |
aaa@a@@aa | |
aaa@@a@@@@ | |
aaa@@a@@aa | |
aaa@@a@@aa |
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 ruby | |
# -*- encoding: utf-8 -*- | |
require 'user_stream' | |
require 'yaml' | |
require 'uri' | |
config_path = File.expand_path(File.dirname(__FILE__) + '/config.yml') | |
stream_config = YAML.load_file(config_path) |
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 <Bounce.h> | |
int btPin = 8; | |
int ledPin = 13; | |
int pinState = LOW; | |
Bounce bn = Bounce(btPin, 20); | |
void setup(){ | |
pinMode(btPin, INPUT); |