- Install the latest JRE from Oracle
- In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
- Open Safari
- Go to the ATO Business portal site https://bp.ato.gov.au/BpStatics/homepage.htm
- Click Login
- A dialog will apear asking you 'Do you want to trust the website “authentication.business.gov.au” to use the “Java” plug-in?'
- Click 'Trust'
- Now you will be asked 'Do you want to run this application?'
- Click 'Run'
- Another dialog will appear asking you to 'Allow access to the following application from this website?'
rea-ec2-ssh reaxml.matt-nz
groupadd -g 68 hack-www
usermod -g hack-www -G www www
I had issues installing ruby using rbenv on the raspberry pi. Half way through the install, the pi would power down with no trace of what caused the error. I guessed that it was due to /tmp space issues.
-
Follow instructions to install ruby using 'rbenv' (except for the steps to increase your /tmp size): http://blog.pedrocarrico.net/post/29478085586/compiling-and-installing-ruby-on-the-raspberry-pi-using
-
Increase your /tmp size (requires reboot)
- Open iTerm2
- Goto
Preferences->Profiles->Advanced->Semantic history
- Select
Run Command...
- Enter the command
/usr/local/bin/mvim --remote +\2 \1
- Install AusKey software
- Show file contents of
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
- Move .JAR files from
/Library/Java/Extensions
to/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/ext
UPDATE 16/11/2013: AusKey no longer requires software to be installed on Mac OS X so these steps are no longer necessary
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
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fc5", ATTRS{idProduct}=="b080", ACTION=="add", SYMLINK+="delcom", MODE="0666", GROUP="plugdev" |
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
" Tab completion | |
set wildignore+=*.o,*.obj,.git,*.rbc,*.class,.svn,vendor/gems/*,tmp/*,coverage/*,public/*,spec/javascripts/generated/*,db/bootstrap/*,vendor/gems/: | |
" Command-T configuration | |
let g:CommandTMaxFiles=20000 |
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
>> nil.freeze | |
=> nil | |
>> Tilt.new("/Users/warner/work/newco/app/views/cancellation_policies/1_one_night.html.haml").render(nil, :opts => {}) | |
NoMethodError: undefined method `upper' for nil:NilClass | |
from /usr/local/rvm/gems/ruby-1.9.2-p290-patched@newco/gems/activesupport-3.1.3/lib/active_support/whiny_nil.rb:48:in `method_missing' | |
from /Users/warner/work/newco/app/views/cancellation_policies/1_one_night.html.haml:18:in `ensure in evaluate_source' | |
from /Users/warner/work/newco/app/views/cancellation_policies/1_one_night.html.haml:18:in `evaluate_source' | |
from /usr/local/rvm/gems/ruby-1.9.2-p290-patched@newco/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `instance_eval' | |
from /usr/local/rvm/gems/ruby-1.9.2-p290-patched@newco/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `evaluate_source' | |
from /usr/local/rvm/gems/ruby-1.9.2-p290-patched@newco/gems/tilt-1.3.3/lib/tilt/template.rb:144:in `cached_evaluate' |
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
table = OfferByDate.arel_table | |
subquery = table.project('*').where(table[:offer_id].eq 1).where(table[:night_of].eq '2011-10-21').as('subquery') | |
sql = Arel::Table.new('dummy').project('*').from(subquery).to_sql | |
ActiveRecord::Base.connection.select_all(sql).to_json |