After asking, I got a lot of music recommendations and Sven asked me to gist them. Here you go. :)
- The Fall of Troy
- Isis
diff --git a/gc.c b/gc.c | |
--- a/gc.c | |
+++ b/gc.c | |
@@ -77,6 +77,41 @@ void *alloca (); | |
#ifndef GC_MALLOC_LIMIT | |
#define GC_MALLOC_LIMIT 8000000 | |
#endif | |
+#define HEAP_MIN_SLOTS 10000 | |
+#define FREE_MIN 4096 | |
+ |
framework 'AppKit' | |
class Download | |
attr_reader :response, :responseBody | |
def start(request) | |
puts "START!" | |
NSURLConnection.connectionWithRequest(request, delegate:self) | |
end |
After asking, I got a lot of music recommendations and Sven asked me to gist them. Here you go. :)
# ======================================== | |
# Testing n-gram analysis in ElasticSearch | |
# ======================================== | |
curl -X DELETE localhost:9200/ngram_test | |
curl -X PUT localhost:9200/ngram_test -d ' | |
{ | |
"settings" : { | |
"index" : { | |
"analysis" : { |
# autoload concerns | |
module YourApp | |
class Application < Rails::Application | |
config.autoload_paths += %W( | |
#{config.root}/app/controllers/concerns | |
#{config.root}/app/models/concerns | |
) | |
end | |
end |
#!/usr/bin/env ruby | |
# Usage: | |
# | |
# ./ack.rb your-query | |
require 'rubygems' | |
require 'bundler' | |
if query = ARGV[0] | |
gem_dirs = Bundler.load.specs.map(&:full_gem_path).join(' ') |
module Round | |
end | |
module Rectangular | |
end | |
class Thing | |
extend Round | |
class << self | |
def metaclass |
Then /^"([^\"]+)" should be visible$/ do |text| | |
assert page.has_xpath?("//*[not(descendant-or-self::script)][ancestor::*[contains(@style,'display: none;')]][contains(normalize-space(.),'#{text}')]") | |
end | |
Then /^"([^\"]+)" should not be visible$/ do |text| | |
assert page.has_xpath?("//*[not(descendant-or-self::script)][ancestor::*[contains(@style,'display: none;')]][contains(normalize-space(.),'#{text}')]") | |
end |
# You must require this file in application.rb, above the Application | |
# definition, for this to work. For example: | |
# | |
# # Syslog-like Rails logs | |
# if Rails.env.production? | |
# require File.expand_path('../../lib/better_logger', __FILE__) | |
# end | |
# | |
# module MyApp | |
# class Application < Rails::Application |
"Travis CI - Distributed, Continous Integration for the Ruby community
""The future is already here — it's just not very evenly distributed."" (William Gibson)
The Ruby community is where a lot of this future already happens. We not only set the bar higher and higher every day, we've also built most of the infrastructure use day to day. Twitter, Github, Gemcutter, Pusher to just name a few projects that changed the world, the way we live and work.
With Travis CI, an open source continous integration service for the Ruby community, we are