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
import connectToStores from 'alt-utils/lib/connectToStores'; | |
import React from 'react'; | |
import uniqueId from 'lodash.uniqueid' | |
import _ from 'lodash'; | |
import Immutable from 'immutable'; | |
import form_serialize from 'form-serialize'; | |
import deparam from 'node-jquery-deparam'; | |
import HomeContainerStore from './store'; | |
import HomeContainerActions from './action'; |
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
function myFunc() { | |
// Complaining there is no jQUery | |
return jQuery.$(...); | |
} |
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 MyGem | |
class MyClass | |
VERSION = "0.0.1" | |
end | |
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 InheritMe | |
end | |
module A | |
class MyClass | |
VERSION = "0.0.1" | |
end | |
end | |
module A |
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 MyClass | |
def start | |
trap('TERM') do | |
Thread.new { say 'Exiting...' } | |
stop | |
end | |
trap('INT') do | |
Thread.new { say 'Exiting...' } | |
stop |
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
source 'http://rubygems.org' | |
gem 'rails', '3.0.7' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'mysql2', '~> 0.2.7' | |
# Use unicorn as the web server |
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
butch@ubuntu-desktop:~/Workspace/CoylePagagingGroup/refinerycms/cpgprintsource$ sudo gem1.9.2 list --local | |
*** LOCAL GEMS *** | |
abstract (1.0.0) | |
actionmailer (3.0.7, 3.0.5, 3.0.4, 3.0.3) | |
actionpack (3.0.7, 3.0.6, 3.0.5, 3.0.4, 3.0.3) | |
active_shipping (0.9.12) | |
activemerchant (1.12.0) | |
activemodel (3.0.7, 3.0.6, 3.0.5, 3.0.4, 3.0.3) |
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
butch@ubuntu-desktop:~/Workspace/XXX/refinerycms/XXX$ rake -f "/home/butch/Workspace/CoylePagagingGroup/refinerycms/XXX/Rakefile" db:create | |
rake aborted! | |
invalid byte sequence in UTF-8 | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2084:in `glob' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2084:in `block in have_rakefile' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2082:in `each' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2082:in `have_rakefile' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2345:in `find_rakefile_location' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2358:in `raw_load_rakefile' | |
/usr/local/lib/ruby-1.9.2-p136/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile' |