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
#!/bin/sh | |
#Script to generate a skeletal HTML AIR application | |
#Copyright (C) 2010 Akash Manohar J (akashxav.com) | |
# | |
#Instructions: | |
#add <air_sdk>/bin to path (skip this if you did when you installed AIR SDK) | |
#save file as newairapp in the <air_sdk>/bin | |
#chmod+x <air_sdk>/bin/newairapp | |
#usage: newairapp <app_name> | |
#example: newairapp HelloAir |
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
# to undo a git push | |
git push -f origin HEAD^:master | |
# to get to previous commit (preserves working tree) | |
git reset --soft HEAD | |
# to get back to previous commit (you'll lose working tree) | |
git reset --hard HEAD^ |
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
The PCT tutorial episode-3 instructs to add this to Actions.pm | |
method term:sym<integer_constant>($/) { | |
make PAST::Val.new(:value($<integer>.ast), :returns<Integer>); | |
} | |
method term:sym<string_constant>($/) { | |
my $past := $<quote>.ast; | |
$past.returns('String'); | |
make $past; | |
} |
In the words of Abrasive. I just ordered mashed up the answers to my questions also into it for clarity.
High probability that these tablets come with uboot as their bootloader.
There are two ways of doing this - tell uboot to boot linux from the SD-card or install linux on the flash.
The easiest route is to start by booting from SD, then move everything into flash. However your main problem would be the fact that the only input device on a tablet is a touch-screen and debian installer doesn't support touch-screens as of this writing.
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_trust_rvmrcs=1 | |
rvm_gemset_create_on_use_flag=1 | |
rvm use 1.9.2@projectname |
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
git rm --cached config/database.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
> binding | |
#<Binding:0x0000000140aa28> | |
> binding.class | |
=> Binding | |
> respond_to? :binding | |
false | |
> defined? binding |
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
akashmanohar:cas-auth-app akashmanohar$ rails c | |
Loading development environment (Rails 3.1.0.rc1) | |
script/rails: No such file or directory - rvm tools identifier | |
load error: /Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/.irbrc | |
NoMethodError: undefined method `strip' for nil:NilClass | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/whiny_nil.rb:48:in `method_missing' | |
/Users/akashmanohar/.rvm/scripts/irbrc.rb:40:in `<top (required)>' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:237:in `require' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:237:in `block in require' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:223:in `block in load_dependency' |
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
GIRLFRIEND_VERSION=0.9beta | |
GIRLFRIEND_PATH=/dev/null |
OlderNewer