This file contains hidden or 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
%hr | |
%fieldset | |
.control-group | |
= label_tag :invite_code, nil, :class => "control-label" | |
.controls | |
= text_field_tag :invite_code | |
.control-group |
This file contains hidden or 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
[09:40][chris@bmo:~/dev/hackumen/mail-dancer(master*)]$ llllllllllllllllllhhhhhhhhhhhhhFUCK |
This file contains hidden or 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
# client setup | |
def initialize | |
nconf = YAML.load_file("config/netsuite.yml") | |
@client = Netsuite::Client.new(nconf['account'], nconf['email'], nconf['password'], nconf['role']) | |
@search_id = nconf['search_id'] | |
end | |
# method in question | |
def fetch_delayed_pos |
This file contains hidden or 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
10:09:01 resque.1 | == DEBUG profiler stats for EtJob#perform | |
10:09:01 resque.1 | GC 29 invokes. | |
10:09:01 resque.1 | Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms) | |
10:09:01 resque.1 | 1 -0.001 1791680 4057280 101432 10.23500000000000120792 |
This file contains hidden or 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
[2012-09-25 23:40:21] ./configure --prefix="/Users/chris/.rvm/usr" | |
sed: Command garbled: /^.*\/\([^/][^/]*\)\/*$/{ | |
sed: Command garbled: /^.*\/\([^/][^/]*\)\/*$/{ | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... config/install-sh -c -d | |
checking for gawk... no | |
checking for mawk... no | |
checking for nawk... no | |
checking for awk... awk |
This file contains hidden or 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
package main | |
import ( | |
"code.google.com/p/goweb/goweb" | |
"io/ioutil" | |
) | |
// dummy error struct for pretty json export | |
type ControllerError struct { | |
Error error |
This file contains hidden or 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
/* | |
cx is a goweb Context struct | |
cx.Request is just a net/http Request struct | |
*/ | |
raw_query := cx.Request.URL.RawQuery | |
parsed, _ := url.ParseQuery(raw_query) | |
cx.RespondWithData(parsed["payload"][0]) // grab a single field of parsed |
This file contains hidden or 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 'fssm' | |
DIR = %x{pwd}.strip | |
puts "! WATCHER INITIALIZED" | |
FSSM.monitor(DIR) do | |
update do |path, file| | |
puts "! FILE MODIFIED - #{path}/#{file}" | |
end |
This file contains hidden or 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 'em-dir-watcher' | |
DIR = %x{pwd}.strip | |
EM.run { | |
dw = EMDirWatcher.watch DIR do |paths| | |
paths.each do |file| | |
if File.exists? file | |
puts "! FILE MODIFIED #{file}" | |
else |
This file contains hidden or 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
[15:13][christopher@ryleh:~/dev/sinatra-bones(master+*)]$ gem install sorcery | |
ERROR: Error installing sorcery: | |
sorcery requires sorcery (>= 0) |