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
User-agent: Googlebot | |
User-agent: ArchitextSpider | |
User-Agent: msnbot | |
User-Agent: yahoo-slurp | |
User-Agent: teoma | |
User-Agent: bingbot | |
Disallow: /*? | |
Disallow: /browse | |
Disallow: /users/ |
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
User-agent: Googlebot | |
Disallow: /*? | |
Disallow: /browse | |
Disallow: /users/ | |
User-agent: ArchitextSpider | |
Disallow: /*? | |
Disallow: /browse | |
Disallow: /users/ |
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
development: | |
adapter: postgresql | |
database: foo_development | |
host: localhost | |
port: 5432 |
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
void loop(){ | |
m1_drive(50); | |
m2_drive(-50); | |
} | |
void m1_drive(int speed){ | |
int val = map(speed, -100, 100, 1, 127); | |
if (val > 127){ | |
val = 127; | |
} |
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
SOLR Request (3.1ms) [ path=#<RSolr::Client:0x00000008b50a38> parameters={data: fq=type%3APersistence%5C%3A%5C%3AActiveRecord%5C%3A%5C%3AOtRestaurant&fq=-rated_below_three_b%3Atrue&fq=state_s%3AAL&q=Birmingham&fl=%2A+score&qf=city_textp+state_textp&defType=dismax&mm=1&start=0&rows=4&facet=true&f.pretty_restaurant_names_s.facet.mincount=1&facet.field=pretty_restaurant_names_s&facet.field=taxonomy_s&f.taxonomy_s.facet.mincount=1, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded; charset=UTF-8"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby, open_timeout: , read_timeout: } ] | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 | |
CACHE (0.0ms) SELECT "answer_selections".* FROM "answer_selections" WHERE "answer_selections"."individual_id" = 2 AND (still_true = 't') | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "user |
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
D84E9,E2608269-38DB-495E-9FAB-FFFED625F78F,35E47FA1-A613-4432-87AD-FFFEE97DB988}'::text[])) | |
(2 rows) | |
Persistence::ActiveRecord::Destination Load (0.3ms) SELECT "destinations".* FROM "destinations" LIMIT 1 | |
(0.3ms) SELECT COUNT(*) FROM "destination_taxonomies" INNER JOIN "destination_taxonomy_destinations" ON "destination_taxonomies"."id" = "destination_taxonomy_destinations"."destination_taxonomy_id" WHERE "destination_taxonomy_destinations"."destination_id" = '76EC89FD-3154-4DA2-BA1B-0001B2141BAF' | |
(0.2ms) SELECT COUNT(*) FROM "destination_taxonomies" INNER JOIN "destination_taxonomy_destinations" ON "destination_taxonomies"."id" = "destination_taxonomy_destinations"."destination_taxonomy_id" WHERE "destination_taxonomy_destinations"."destination_id" = '76EC89FD-3154-4DA2-BA1B-0001B2141BAF' | |
Persistence::ActiveRecord::DestinationTaxonomy Load (0.2ms) SELECT "destination_taxonomies".* FROM "destination_taxonomies" INNER JOIN "destination_taxonomy_destinations" ON "destination_taxonomies"."id" = "d |
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
https://gist.github.com/e53a1a8acf3c2691cd37 |
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
Started POST "/plan" for 127.0.0.1 at 2012-10-19 10:30:12 -0500 | |
Processing by QueriesController#plan as */* | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"u2SNgRF4vjd6SatI9+bw4UIlhN5HO246zu5gBPcMGao=", "keywords"=>"atlanta"} | |
Persistence::ActiveRecord::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 | |
Persistence::ActiveRecord::Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE "individuals"."guid" = '6c51ec72-2831-4a8a-b47c-6c9421d26bb1' LIMIT 1 | |
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 | |
Persistence::ActiveRecord::AwsHomepageImage Load (0.3ms) SELECT "aws_homepage_images".* FROM "aws_homepage_images" WHERE (aws_homepage_images.location != 'Portland, OR') | |
SOLR Request (2.3ms) [ path=#<RSolr::Client:0x00000007a2d0a8> parameters={data: fq=type%3APersistence%5C%3A%5C%3AActiveRecord%5C%3A%5C%3ADestination&q=atlanta&fl=%2A+score&qf=pretty_name_textp+destination_textp&defType=dismax&start=0&rows=30&facet=true |
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
[1] pry(#<Spree::Admin::RewardsController>)> params | |
=> {"utf8"=>"✓", | |
"authenticity_token"=>"ub/MEIAljj0HvsdI+wH2Epgxhvcsvs7ex3Rhjb/GvI4=", | |
"product_type"=>"charity", | |
"product"=> | |
{"name"=>"AAAA", | |
"description"=>"asdfasdf", | |
"price"=>"23", | |
"on_hand"=>"23", | |
"available_on"=>"2012/09/13", |
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
# JD's bash commands | |
alias gita='git add' | |
alias gitaa='git add .' | |
alias gits='git status' | |
alias gitpod='git push origin develop' | |
alias gitb='git branch' | |
alias ..='cd ..' | |
alias ack='ack-grep' | |
alias be='bundle exec' |