Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| # encoding: UTF-8 | |
| class ActiveRecord::Base | |
| # Class method to add destroyable paperclip attachments. | |
| # | |
| # Example: | |
| # has_attached_file :image | |
| # has_destroyable_file :image | |
| # attr_accessible :image_delete | |
| # |
| require 'rubygems' | |
| require 'mechanize' | |
| domain = '' | |
| email = '' | |
| password = '' | |
| deploy_domain = '' | |
| deploy_server_id = '' | |
| app_name = '' | |
| new_domain = "{app_name}.welaika.com" |
| #!/bin/bash | |
| # Usage: basic-install [OPTIONS] file | |
| # | |
| # Index: | |
| # | |
| # 0.- Initial Setup and Functions | |
| # 1.- Set your server correctly | |
| # 2.- Install latest WordPress version | |
| # 3.- Set up anti-spam and security measures |
| A Muttator Reference Sheet / Cheat Sheet | |
| Muttator v0.6 for Thunderbird v3.0 and 3.1.* (muttator-20100629.xpi) | |
| The main thing to know about using Muttator is that there are two primary modes, EX mode and MESSAGE mode, | |
| and keyboard mappings can work very differently in the two modes. It's not obvious which mode you're in; | |
| you have to look at the bottom left of your Thunderbird window where the status line with either be blank | |
| (EX mode) or will say "-- MESSAGE --". There is also an odd "-- CARET --" mode that you'll probably want | |
| to <ESC> out of as soon as possible. |
| $mobile-size: 320px | |
| $tablet-size: 768px | |
| $netbook-size: 1030px | |
| $desktop-size: 1600px | |
| $mobile: "all and (max-width: #{$mobile-size})" | |
| $tablet: "all and (min-width: #{($mobile-size + 1)}) and (max-width: #{$tablet-size})" | |
| $netbook: "all and (min-width: #{($tablet-size + 1)}) and (max-width: #{$netbook-size})" | |
| $desktop: "all and (min-width: #{$netbook-size + 1}) and (max-width: #{$desktop-size})" | |
| $big-desktop: "all and (min-width: #{$desktop-size + 1})" |
| <?php | |
| function ofix_register_tax_args( $args, $taxonomy, $object_type ) { | |
| if ( 'link_category' === $taxonomy ) { | |
| $args['public'] = true; | |
| $args['query_var'] = true; | |
| } | |
| return $args; |