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 <Wire.h> | |
#include <Adafruit_BMP085.h> | |
// | |
Adafruit_BMP085 bmp; | |
void setup() { | |
Serial.begin(9600); | |
if (!bmp.begin()) { | |
Serial.println("Could not find BMP085 sensor"); |
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
//////////////////////////////////////////////////////////////////////// | |
// Arduino Bluetooth Interface with Mindwave | |
// | |
// This is example code provided by NeuroSky, Inc. and is provided | |
// license free. | |
//////////////////////////////////////////////////////////////////////// | |
#define LED 13 | |
#define BAUDRATE 57600 | |
#define DEBUGOUTPUT 0 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
gem install locomotive_editor -v 1.0.0.rc15 --debug | |
Exception `NameError' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand | |
Exception `Errno::EAGAIN' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
Exception `Errno::EEXIST' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/fileutils.rb:247 - File exists - /home/ku/.gem/specs/modules.locomotivecms.com%80 | |
Exception `Errno::EAGAIN' at /home/ku/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/net/protocol.rb:141 - Resource temporarily unavailable - read would block | |
Exception `Errn |
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
import processing.serial.*; | |
import cc.arduino.*; | |
Arduino arduino; | |
void setup() { | |
size(512, 512); | |
arduino = new Arduino(this, Arduino.list()[0], 57600); | |
} |
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
Deface::Override.new(:name => "remove billing address form", | |
:virtual_path => "spree/checkout/_address", | |
:remove => "#billing[data-hook]" | |
) | |
Deface::Override.new(:name => "remove use billing address checkbox", | |
:virtual_path => "spree/checkout/_address", | |
:remove => "[data-hook='use_billing']" | |
) |
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
:sleep | |
ping 127.0.0.1 -n %1 -w 1000 > NUL | |
:top | |
set time_stamp=%DATE:~0,2%%DATE:~3,2%%DATE:~6,4%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2% | |
"C:\Program Files (x86)\VideoLAN\VLC\vlc" --dshow-vdev="Logitech HD Webcam C510" --dshow-size=1280x720 --dshow-aspect-ratio=16\:9 -V dummy --intf=dummy --dummy-quiet --video-filter=scene --no-audio --scene-path=F:\cherem --scene-format=jpeg --scene-prefix=%time_stamp% --scene-replace --run-time=1 --scene-ratio=24 "dshow://" vlc://quit | |
copy f:\cherem\%time_stamp%.jpeg c:\users\ku\Dropbox\Public\cherem.jpg | |
CALL :sleep 60 | |
goto top |
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
<Location /> | |
AuthType Basic | |
AuthName " Test Environment" | |
AuthUserFile '/path/pass' | |
Require valid-user | |
</Location> |