I hereby claim:
- I am eugenebolshakov on github.
- I am eugene_teller (https://keybase.io/eugene_teller) on keybase.
- I have a public key ASADxIJi756nafgn4YEj2-8x8PQes6Lyut48-1GS8UKFlwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!-- Request --> | |
<SyncStatusRequest xmlns="http://www.intuit.com/sb/cdm/v2" ErroredObjectsOnly="true"> | |
<OfferingId>ipp</OfferingId> | |
<NgIdSet> | |
<NgId>2242053</NgId> | |
<NgObjectType>Item</NgObjectType> | |
</NgIdSet> | |
</SyncStatusRequest> |
namespace :assets do | |
desc "Packages all assets for production" | |
task :package do | |
require "compass/exec" | |
# Monkeypatch ruby yui compressor | |
# to increase java vm stack size | |
class YUI::Compressor | |
def command | |
@command.insert 1, "-Xss8m" |
<div id="calroot0" class="calroot"> | |
<div class="calhead"> | |
<a class="calprev caldisabled"></a> | |
<div class="caltitle">June 2011</div> | |
<a class="calnext"></a> | |
</div> | |
<div class="calbody"> | |
<div class="caldays"> | |
<span>Mon</span><span>Tue</span><span>Wed</span><span>Thu</span><span>Fri</span><span>Sat</span><span>Sun</span> | |
</div> |
DateInput = function(element) { | |
element.dateinput({ | |
// your params here | |
}); | |
var value = element.val(); | |
// Unbind dateinput's handlers to allow | |
// typing in the field | |
element.unbind('focus click keydown'); |
default_options = {:-Port => 443, :host => 'lm.unison.com', :-Path => '/downloadlogger'} | |
options = default_options.merge options | |
req = Net::HTTP::-Post.new(options[:-Path]) | |
req.set_content_type("text/plain") | |
http = Net::HTTP.new(options[:host], options[:-Port]) | |
http.read_timeout = 120 # seconds | |
# http.set_debug_output STDOUT | |
http.use_ssl = true | |
http.verify_mode = OpenSSL::-SSL::VERIFY_NONE |
From 6bd56bfb117d9264b78b9a628a7f269674510219 Mon Sep 17 00:00:00 2001 | |
From: eugenebolshakov <eugene.bolshakov@gmail.com> | |
Date: Mon, 20 Sep 2010 10:54:28 +0400 | |
Subject: [PATCH] Use parse_nested_query for parsing URI as that's what Rack does | |
--- | |
lib/rack/test.rb | 2 +- | |
spec/rack/test_spec.rb | 5 +++++ | |
2 files changed, 6 insertions(+), 1 deletions(-) |
require 'spec_helper' | |
Feature "Log In" do | |
Story <<-eos | |
eos | |
Scenario "Log In" do | |
Given "I am logged in" do | |
executes do | |
@user = User.make(:active) |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'twitter' | |
require File.dirname(__FILE__) + '/site_alive' | |
URLS = ['http://www.acp.org.au/photofile', 'https://www.acp.org.au/login'] | |
config = { | |
:twitter_username => 'username', |
# Snippet 1 | |
class TravelContent | |
include HTTParty | |
format :json | |
base_uri "api.guardianapis.com" | |
default_params :format => "json", :api_key => GUARDIAN_API_KEY | |
def self.search(location) | |
get "/content/search?filter=/travel&filter=/global/article", :query => { :q => location.name } |