- 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?'
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
require './plugins/babushka_provisioner' | |
Vagrant::Config.run do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = 'http://files.vagrantup.com/precise64.box' | |
config.vm.provision BabushkaProvisioner do |babs| | |
babs.dep 'benhoskings:ruby.src', :version => '1.9.3', :patchlevel => 'p327' | |
end |
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
class Model < ParentModel | |
include Foo::Bar | |
extend Bar::Baz | |
acts_as_authentic | |
dsl_specific_flags | |
module InternalModule | |
... | |
end |
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
module Resque | |
class Task | |
attr_accessor :parent, :args | |
attr_accessor :queue, :failed_at, :payload, :exception, :error, :backtrace, :worker | |
def initialize(options={}) | |
options['parent'] = options.delete('class') | |
options.each do |opt, val| | |
self.send("#{opt}=", val) | |
end |
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
require "./config/environment" | |
use Rails::Rack::LogTailer | |
use Rails::Rack::Static | |
run ActionController::Dispatcher.new |
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
<ul> | |
<% User.all.with_item_counts do |user| %> | |
<li><%= user.username %> - Items: <%= user.calculated_item_count %> | |
<% end %> | |
</ul> |
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
class Model < ParentModel | |
include Foo::Bar | |
extend Bar::Baz | |
acts_as_authentic | |
dsl_specific_flags | |
module InternalModule | |
... | |
end |
You’ll want to put these files in ~/Library/Application Support/TextMate/Themes
– they will override the built-in versions of each. There’s almost no difference – just the access level matcher. From there, restart TextMate, and you should have a new element listing in the Fonts & Colors tab in your TextMate preferences.
Next, you want to add the actual syntax definition – open up the Bundle Editor in TextMate, and then the Ruby Language definition within that. Search for “variable.language.ruby” – and then add the following below that:
{
name = 'access-level.ruby';
comment = ' public, private, protected';
match = '^[ ]*\b(private|protected|public)\b(?![?!])\n';
NewerOlder