Skip to content

Commit

Permalink
Added Ruboto presentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymcgavren committed Jun 14, 2010
1 parent 96845c5 commit d4aaa56
Show file tree
Hide file tree
Showing 18 changed files with 182 additions and 0 deletions.
Binary file added ruboto/features/00a_irb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/features/00b_load_script.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/features/00c_editor.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/features/00d_shortcut.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/features/acid_shortcut.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions ruboto/features/features.md
@@ -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)

Binary file added ruboto/installation/01_create_avd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/installation/02_launch_avd.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/installation/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.
27 changes: 27 additions & 0 deletions ruboto/installation/installation.md
@@ -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)
Binary file added ruboto/loading_code/04_script_installed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/loading_code/05_execute.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ruboto/loading_code/06_load.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions ruboto/loading_code/loading_code.md
@@ -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)
53 changes: 53 additions & 0 deletions ruboto/notes.txt
@@ -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
12 changes: 12 additions & 0 deletions ruboto/overview/overview.md
@@ -0,0 +1,12 @@
!SLIDE subsection

# Ruboto - IRB for Android #

!SLIDE bullets incremental transition=fade

# Today's Talk #

* features
* installation
* loading code
* links
11 changes: 11 additions & 0 deletions ruboto/references/references.md
@@ -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
7 changes: 7 additions & 0 deletions ruboto/showoff.json
@@ -0,0 +1,7 @@
[
{"section":"overview"},
{"section":"features"},
{"section":"installation"},
{"section":"loading_code"},
{"section":"references"}
]

0 comments on commit d4aaa56

Please sign in to comment.