Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96845c5
commit d4aaa56
Showing
18 changed files
with
182 additions
and
0 deletions.
There are no files selected for viewing
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.
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
!SLIDE subsection | ||
|
||
# Features # | ||
|
||
!SLIDE | ||
# IRB for live coding... # | ||
!SLIDE center transition=fade | ||
![irb](00a_irb.png) | ||
|
||
!SLIDE | ||
# Script selector loads from /sdcard/jruby/ # | ||
!SLIDE center transition=fade | ||
![load_script](00b_load_script.png) | ||
|
||
!SLIDE center | ||
# Editor too. # | ||
Here be Carpal Tunnel. | ||
!SLIDE center transition=fade | ||
![](00c_editor.png) | ||
|
||
!SLIDE center | ||
# Shortcuts # | ||
Acts like a (slow-loading) first-class app! | ||
|
||
!SLIDE center transition=fade | ||
![](00d_shortcut.png) | ||
!SLIDE center transition=fade | ||
![](acid_shortcut.png) | ||
|
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
!SLIDE subsection | ||
# Installation # | ||
|
||
!SLIDE bullets incremental transition=fade | ||
# No purchase necessary to play! # | ||
* Grab the Android SDK (which includes an emulator). | ||
* Get a pre-made Ruboto APK off of GitHub downloads. | ||
* (Links at end). | ||
!SLIDE center transition=fade | ||
![](01_create_avd.png) | ||
!SLIDE center transition=fade | ||
![](02_launch_avd.png) | ||
|
||
!SLIDE | ||
# Install Ruboto-IRB to the AVD. # | ||
|
||
!SLIDE commandline incremental | ||
# Use the SDK's "adb" debugger tool. # | ||
$ adb install ~/Downloads/IRB-0.2-preview1.apk | ||
-bash: adb: command not found | ||
|
||
!SLIDE commandline incremental | ||
# Oh, and make sure the SDK toolset is on your PATH. # | ||
$ export PATH=$PATH:$HOME/android-sdk-mac_86/tools/ | ||
$ adb install ~/Downloads/IRB-0.2-preview1.apk | ||
!SLIDE center transition=fade | ||
![](03_ruboto_installed.png) |
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
!SLIDE subsection | ||
#Loading Code | ||
|
||
!SLIDE | ||
#No gems (yet)! | ||
|
||
!SLIDE commandline incremental | ||
#I originally pushed my entire library to the phone... | ||
$ adb push . /sdcard/jruby/rubotoonacid | ||
|
||
!SLIDE center | ||
#This works ok... | ||
/sdcard/jruby is in $RUBYLIB. | ||
|
||
!SLIDE commandline incremental | ||
#But a single script is more distributable for now. | ||
$ find lib/rubyonacid -type f -exec cat {} \; \ | ||
-exec echo "" \; | grep -v "require '" >> acid.rb;\ | ||
cat $HOME/Projects/rubotoonacid/examples/ruboto.rb >> acid.rb | ||
|
||
!SLIDE center | ||
Scott Moyer called this "one script to rule them all". Muhuhuhaha... | ||
|
||
!SLIDE commandline incremental | ||
#May have to tweak declaration order by hand. | ||
$ edit acid.rb | ||
|
||
!SLIDE commandline incremental | ||
#Now there's just one file for users to download. | ||
$ adb push acid.rb /sdcard/jruby/ | ||
80 KB/s (23712 bytes in 0.286s) | ||
!SLIDE center transition=fade | ||
![](04_script_installed.png) | ||
|
||
!SLIDE | ||
#You can execute from menu... | ||
!SLIDE center transition=fade | ||
![](05_execute.png) | ||
|
||
!SLIDE | ||
#But "load" commands from IRB auto-load new versions and don't require mousing. | ||
!SLIDE center transition=fade | ||
![](06_load.png) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#IRB for live coding... | ||
#00a_irb.png | ||
#Script selector loads from /sdcard/jruby/ | ||
#00b_load_script.png | ||
#Editor too. Here be Carpal Tunnel. | ||
#00c_editor.png | ||
#Shortcuts - Acts like a (slow-loading) first-class app! | ||
#00d_shortcut.png | ||
|
||
#No purchase necessary to play! | ||
#Grab the Android SDK (which includes an emulator). | ||
#Get a pre-made Ruboto APK off of GitHub downloads. | ||
#(Links at end). | ||
#01_create_avd.png | ||
#02_launch_avd.png | ||
|
||
#You need to install Ruboto-IRB to the AVD. | ||
#Use the SDK's "adb" debugger tool. | ||
jay@dandelion:~/Projects/rubyonacid | ||
$ adb install ~/Downloads/IRB-0.2-preview1.apk | ||
-bash: adb: command not found | ||
#Oh, and make sure the SDK toolset is on your PATH. | ||
jay@dandelion:~/Projects/rubyonacid | ||
$ export PATH=$PATH:$HOME/Applications/android-sdk-mac_86/tools/ | ||
jay@dandelion:~/Projects/rubyonacid | ||
$ adb install ~/Downloads/IRB-0.2-preview1.apk | ||
|
||
#03_ruboto_installed.png | ||
|
||
#I originally pushed my entire library to the phone... | ||
$ adb push . /sdcard/jruby/rubotoonacid | ||
#This works... | ||
|
||
#But a single script is more distributable for now. | ||
#Scott Moyer called this "one script to rule them all". Muhuhuhaha... | ||
$ find lib/rubyonacid -type f -exec cat {} \; -exec echo "" \; | grep -v "require '" >> acid.rb; cat $HOME/Projects/rubotoonacid/examples/ruboto.rb >> acid.rb | ||
#May have to tweak declaration order by hand. | ||
$ edit acid.rb | ||
|
||
#04_script_pushed.png | ||
$ adb push acid.rb /sdcard/jruby/ | ||
80 KB/s (23712 bytes in 0.286s) | ||
|
||
#You can execute from menu... | ||
#05_execute.png | ||
#But "load" commands from IRB auto-load new versions and don't require mousing. | ||
#06_load.png | ||
|
||
#References: | ||
#http://developer.android.com/sdk/index.html | ||
#http://ruboto.com/ | ||
#http://github.com/ruboto/ruboto-irb | ||
#http://jay.mcgavren.com/presentations |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
!SLIDE subsection | ||
|
||
# Ruboto - IRB for Android # | ||
|
||
!SLIDE bullets incremental transition=fade | ||
|
||
# Today's Talk # | ||
|
||
* features | ||
* installation | ||
* loading code | ||
* links |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
!SLIDE subsection | ||
#References | ||
|
||
!SLIDE bullets incremental transition=fade | ||
* http://developer.android.com/sdk/index.html | ||
* http://ruboto.com/ | ||
* http://github.com/ruboto/ruboto-irb | ||
* http://jay.mcgavren.com/presentations | ||
|
||
!SLIDE center transition=scrollUp | ||
#@jaymcgavren |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{"section":"overview"}, | ||
{"section":"features"}, | ||
{"section":"installation"}, | ||
{"section":"loading_code"}, | ||
{"section":"references"} | ||
] |