This file contains 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
(in /Users/noah/vendor/rails/actionpack) | |
/usr/local/ruby-enterprise-1.8.7-2009.10/bin/ruby -I"lib:test" "/usr/local/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/benchmark_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/cookie_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/dispatcher_test.rb" "test/controller/dom_assertions_test.rb" "test/controller/failsafe_test.rb" "test/controller/filter_params_test.rb" "test/controller/filters_test.rb" "test/controller/flash_test.rb" "test/controller/header_test.rb" "test/controller/helper_test.rb" "test/controller/html-scanner/cdata_node_test.rb" "test/controller/html-scanner/document_test.rb" "test/controller/html-scanner/ |
This file contains 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
#!/bin/bash | |
DIR=$(find vendor -name "$1*" -type d -depth 2) | |
if [ "$DIR" = "" ]; then | |
echo "\"$1*\" not found in vendor/gems, vendor/plugins or vendor/garnets" | |
else | |
echo "Opening $DIR" | |
mate $DIR | |
fi |
This file contains 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
Titanium.UI.setBackgroundColor('#000'); | |
var tabGroup = Titanium.UI.createTabGroup(); | |
var win = Titanium.UI.createWindow({ | |
title:'Tab', | |
backgroundColor:'#fff' | |
}); | |
var tab = Titanium.UI.createTab({ |
This file contains 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
Titanium.UI.setBackgroundColor('#000'); | |
var tabGroup = Titanium.UI.createTabGroup(); | |
var win2 = Titanium.UI.createWindow({ | |
title:'Tab 2', | |
backgroundColor:'#fff' | |
}); | |
var tab2 = Titanium.UI.createTab({ | |
icon:'KS_nav_ui.png', |
This file contains 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
Titanium.UI.setBackgroundColor('#000'); | |
// create tab group | |
var tabGroup = Titanium.UI.createTabGroup(); | |
// | |
// create base UI tab and root window | |
// | |
var win = Titanium.UI.createWindow({ }); | |
var data = [ |
This file contains 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
// add move event listener | |
tableview.addEventListener('move',function(e) | |
{ | |
Titanium.API.info("MOVE EVENT!"); | |
//clearTimeout(updateGroupOrder); // does not work, actually triggers the call | |
var _this = this; | |
updateGroupsFx = function() { | |
Titanium.API.info("UPDATE GROUPS!"); | |
for(var i = 0; i < _this.data.length; i++) { | |
Titanium.API.info("index at " + i + ": " + _this.data[i].title); |
This file contains 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
static void segvHandler(int sig, siginfo_t *info, void *secret) { | |
void *trace[100]; | |
char **messages = NULL; | |
int i, trace_size = 0; | |
unsigned long offset=0; | |
ucontext_t *uc = (ucontext_t*) secret; | |
sds infostring; | |
REDIS_NOTUSED(info); | |
redisLog(REDIS_WARNING, |
This file contains 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
== Welcome to Redis 1.2.2 == | |
Hello, 1.2.2 is a bugfix release, fixing a problem with BGSAVE and BGREWRITEAOF | |
copy-on-write semantics. This version of Redis will use a lot less CPU and | |
memory while performing a BGSAVE and BGREWRITEAOF operation. | |
It is very important to upgrade ASAP to this version if you are using Redis | |
with data persistence via snapshotting or append only file. | |
Another minor change is that the INFO command will now have a new field showing |
This file contains 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
## assume a flushed memcache database | |
## and Sport.rb which has a cache-money index on :name | |
class Sport < ActiveRecord::Base | |
is_cached :repository => $cache | |
# This configuration enables calls to Sport.find_by_name("baseball") to come from and be written to a cache | |
index :name |
This file contains 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
class Aborted < ActiveRecord::Migration | |
def self.up | |
puts <<-END | |
Rake aborted! Problems connecting to redis on port 3345. | |
Sys/log error 4455 | |
Ran out of file descriptions. Please install rootkit. | |
END | |
end |