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
| ron@Ron-Evanss-MacBook-Pro ~/Developer/ruby-serialport | |
| $ /usr/local/kidsruby/ruby/bin/ruby /usr/local/kidsruby/ruby/bin/rake compile --trace | |
| ** Invoke compile (first_time) | |
| ** Invoke compile:universal.x86_64-darwin10.8.0 (first_time) | |
| ** Invoke compile:serialport:universal.x86_64-darwin10.8.0 (first_time) | |
| ** Invoke copy:serialport:universal.x86_64-darwin10.8.0:1.9.2 (first_time) | |
| ** Invoke lib (first_time, not_needed) | |
| ** Invoke tmp/universal.x86_64-darwin10.8.0/serialport/1.9.2/serialport.bundle (first_time) | |
| ** Invoke tmp/universal.x86_64-darwin10.8.0/serialport/1.9.2/Makefile (first_time, not_needed) | |
| ** Invoke tmp/universal.x86_64-darwin10.8.0/serialport/1.9.2 (first_time, not_needed) |
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
| $ ruby examples/hello.rb | |
| I, [2013-01-13T13:12:51.416600 #78702] INFO -- : Registering connection 'loop'... | |
| I, [2013-01-13T13:12:51.416746 #78702] INFO -- : Preparing work... | |
| I, [2013-01-13T13:12:51.417284 #78702] INFO -- : Initializing connection loop... | |
| I, [2013-01-13T13:12:51.419141 #78702] INFO -- : Starting work... | |
| hello | |
| hello | |
| hello | |
| wow | |
| hello |
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
| require 'artoo/robot' | |
| SPHEROS = ["4567", | |
| "4568", | |
| "4569", | |
| "4570", | |
| "4571"] | |
| class SpheroRobot < Artoo::Robot | |
| connection :sphero, :adaptor => :sphero |
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
| $ socat -d -d -d TCP-LISTEN:4567,fork /dev/tty.usbserial-A700636n,nonblock,raw,b9600 | |
| 2013/02/10 09:55:51 socat[9197] I socat by Gerhard Rieger - see www.dest-unreach.org | |
| 2013/02/10 09:55:51 socat[9197] I This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/) | |
| 2013/02/10 09:55:51 socat[9197] I This product includes software written by Tim Hudson (tjh@cryptsoft.com) | |
| 2013/02/10 09:55:51 socat[9197] I setting option "fork" to 1 | |
| 2013/02/10 09:55:51 socat[9197] I socket(2, 1, 6) -> 3 | |
| 2013/02/10 09:55:51 socat[9197] I starting accept loop | |
| 2013/02/10 09:55:51 socat[9197] N listening on LEN=16 AF=2 0.0.0.0:4567 | |
| 2013/02/10 09:55:55 socat[9197] I accept(3, {2, LEN=16 AF=2 127.0.0.1:60910}, 16) -> 4 | |
| 2013/02/10 09:55:55 socat[9197] N accepting connection from LEN=16 AF=2 127.0.0.1:60910 on LEN=16 AF=2 127.0.0.1:4567 |
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
| ** Invoke extensions:digest_sha1 (first_time) | |
| ** Execute extensions:digest_sha1 | |
| /Users/ron/.rvm/src/rbx-head/staging/bin/rbx extconf.rb | |
| Building sha1 | |
| checking for main() in -lcrypto... yes | |
| checking for openssl/sha.h... yes | |
| checking for sys/cdefs.h... yes | |
| checking for inttypes.h... yes | |
| checking for unistd.h... yes | |
| creating Makefile |
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
| ron@Ron-Evanss-MacBook-Pro ~ | |
| $ rvm get head | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 11525 100 11525 0 0 11317 0 0:00:01 0:00:01 --:--:-- 220k | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 1619k 100 1619k 0 0 353k 0 0:00:04 0:00:04 --:--:-- 520k |
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
| $ cat /Users/ron/.rvm/log/rbx-head/configure.log | |
| [2013-02-26 14:44:39] env | |
| current path: /Users/ron/.rvm/src/rbx-head | |
| command(8): env /Users/ron/.rvm/wrappers/ruby-1.9.2-p180/ruby ./configure --prefix=/Users/ron/.rvm/rubies/rbx-head --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --with-gcc=clang --without-tcl --without-tk | |
| Usage: configure [options] | |
| Configure settings | |
| --log-file NAME Write log to file NAME | |
| --rake NAME Use NAME as 'rake' during build | |
| --tar NAME Use NAME as 'tar' |
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
| $ rvm get head | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 11525 100 11525 0 0 7751 0 0:00:01 0:00:01 --:--:-- 92943 | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 1619k 100 1619k 0 0 233k 0 0:00:06 0:00:06 --:--:-- 388k | |
| Upgrading the RVM installation in /Users/ron/.rvm/ |
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
| $ CC=/usr/bin/gcc rvm install rbx --debug | |
| rbx - install | |
| Searching for binary rubies, this might take some time. | |
| Remote file does not exist https://rvm.io/binaries/osx/10.6/i386/rbx-head.tar.bz2 | |
| Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/rbx-head.tar.bz2 | |
| Remote file does not exist http://binaries.rubini.us/osx/10.6/i386/rbx-head.tar.bz2 | |
| rvm_remote_server_url3 not found | |
| No remote file name found | |
| No binary rubies available for: osx/10.6/i386/rbx-head. | |
| Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. |
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
| ######################################################## | |
| # /etc/lirc/hardware.conf | |
| # | |
| # Arguments which will be used when launching lircd | |
| LIRCD_ARGS="--uinput" | |
| # Don't start lircmd even if there seems to be a good config file | |
| # START_LIRCMD=false | |
| # Don't start irexec, even if a good config file seems to exist. |