I hereby claim:
- I am refriedchicken on github.
- I am refriedchicken (https://keybase.io/refriedchicken) on keybase.
- I have a public key whose fingerprint is BDE0 42F6 689F 465E 5390 DE2F 3859 5C0C 5EC2 0D0F
To claim this, I am signing this object:
--- | |
production: | |
houstonartgalleries.com: !str | |
str: asfgasfg | |
"@_rails_html_safe": false | |
thepochisuperstarmegashow.com: ABQIAAAAzMUFFnT9uH0Sfg76Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDmlRT6e90j135zat56yhJKQlWnkaidDIQ | |
example.com: ABQIAAAAzMUFFnT9uH0Sfg98Y4kbhGFJQa0g3IQ9GZqIMmInSLrthJKGDmlRT98f4j135zat56yjRKQlWnkmod3TB | |
development: ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ | |
test: ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ |
def update_maps_key | |
a_config = YAML.load_file "#{RAILS_ROOT}/config/gmaps_api_key.yml" | |
a_config["production"].merge!({self.domain_name => self.key}) | |
File.open("#{RAILS_ROOT}/config/gmaps_api_key.yml", 'w') { |f| YAML.dump(a_config, f) } | |
end |
1. add this to your gem file | |
gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3' | |
2. then run bundle install at the command line | |
3. finally you can run this install of script/generate session user_session | |
rails g authlogic:session user_session |
require(File.join(File.dirname(__FILE__), '../../../../../', "config", "boot")) | |
require 'rake' | |
require 'rake/testtask' | |
require 'rake/rdoctask' | |
# require 'tasks/rails' | |
# Gives us the ability to remove the default rake tasks before overriding | |
# them with our own commands | |
Rake::TaskManager.class_eval do | |
def remove_task(task_name) |
{ | |
"locales": { | |
"tl-ph": { | |
"tld": "", | |
"description": "" | |
}, | |
"nl-be": { | |
"tld": "be", | |
"description": "Belgium - Dutch" | |
}, |
Option Explicit | |
Function GetDataFromURL() | |
Dim lngTimeout | |
Dim strUserAgentString | |
Dim intSslErrorIgnoreFlags | |
Dim blnEnableRedirects | |
Dim blnEnableHttpsToHttpRedirects | |
Dim strHostOverride | |
Dim strLogin |
{ | |
// Partner API created fields. These are generated by us. Are not releated to the serp, but are relevant to the request, your account and the system in general | |
"get_count": 1, // your current get count, unrelated to the serp | |
"_id": "535a94b520b8fd64af000014", // authoritylabs id | |
"rank_date": "2014-04-25", // date crawl was requested | |
"requested_at": "2014-04-25T16:57:11+00:00", // timestamp of the request | |
"s3_key": "", // if using s3 to store a copy this is the key for your bucket | |
"data_center": "us", // requested data center (this option is no longer available) | |
//POST specific data. These are the attributes you sent with the post (or the defaults if none are sent in) |
I hereby claim:
To claim this, I am signing this object:
// Chip has 3 important pins | |
// Ground (GND) -- plugged into to Arduino GND | |
// Right Eye LED (D10) --> plugged into to Arduino D10 | |
// Left Eye LED (D11) --> plugged into to Arduino D11 | |
// | |
// We need to define Chip's eyes so we can use them in our code | |
int rEye = 10; //define right eye as pin10 on the Arduino | |
int lEye = 11; //define right eye as pin11 on the Arduino | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(9600); | |
} | |
void loop() { | |
// put your main code here, to run repeatedly: | |
int sensorValue = analogRead(A0); | |
Serial.println(sensorValue); | |
} |