Collection of Data Objects
- /dataname (logical viewname (preferred), record name, table name)
- /parent/id/children
Data Object
| #!/bin/sh | |
| brew tap homebrew/dupes | |
| brew install zlib | |
| brew tap homebrew/php | |
| brew install php53 --with-pgsql | |
| # Troubleshooting... | |
| #% php -v ~/src/guacamole | |
| #dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.54.dylib |
| #!/bin/sh | |
| gem install nokogiri -- \ | |
| --use-system-libraries \ | |
| --with-xml2-lib=/usr/local/lib \ | |
| --with-xml2-include=/usr/local/include/libxml2/libxml \ | |
| --with-xslt-lib=/usr/local/lib \ | |
| --with-xslt-include=/usr/local/include/libxslt \ | |
| --with-iconv-lib=/usr/local/lib \ | |
| --with-iconv-include=/usr/local/include |
| module MyModule | |
| def module_method | |
| end | |
| end | |
| class RubyRef < BaseClass | |
| include MyModule | |
| attr_reader :a | |
| attr_writer :b | |
| attr_accessor :c |
| ################################################################################ | |
| # Notes from: Straight Up RSpec 3 - a neat Ruby BDD Tool | |
| #------------------------------------------------------------------------------- | |
| # From: http://www.slideshare.net/gsterndale/straight-up-rspec-3 | |
| # By: Greg Sterndale | |
| ################################################################################ | |
| # .rspec | |
| # lib/… | |
| # spec/spec_helper.rb |
I hereby claim:
To claim this, I am signing this object:
| FactoryGirl.define do | |
| factory :user do # class:User, aliases:[:name1, :name2] | |
| name "Ruby" | |
| date_of_birth { 21.years.ago } # Blocked called lazily at request time | |
| association_factory_name | |
| association :commenter, factory: :user, attrib:"value" | |
| factory(:admin_user) do # Inheritance | |
| admin true | |
| end |
| var talk = { | |
| title: "JSON Messaging: From REST and Beyond", | |
| by: { name: "Allen Fair", | |
| twitter: "@allenfair" }, | |
| event: { organization: "Philly.rb", | |
| when: "August 12, 2013 23:00 UDT", | |
| style: "☇ Lightning" }, |
Use the curl command line tool from your terminal window to access web pages, resources, and API's. This swiss-army knife of the internet also supports many more protocols and tools.
curl [options] URL
The complete, offical reference page is here.
| " vimscript function to rotate line number setting from [On -> Relative -> Off], set to <Leader>n | |
| " Author: Allen Fair, 2012 | |
| " License: Public Domain | |
| function RotateNumber() | |
| if &l:number | |
| let &l:number=0 | |
| let &l:relativenumber=1 | |
| echom "Line Numbers" | |
| elseif &l:relativenumber |