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
Loaded suite NestingLevelTest | |
Started | |
........ | |
Finished in 0.030731 seconds. | |
8 tests, 9 assertions, 0 failures, 0 errors | |
Loaded suite TryRubyOutputTest | |
Started | |
.F..... | |
Finished in 0.002457 seconds. |
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
Last login: Sat Oct 24 21:06:31 on console | |
~/Desktop/pythinkgear/thinkgear$ python thinkgear.py | |
No handlers could be found for logger "__main__.bytes" | |
DEBUG:__main__:discarding '\x02' while syncing | |
DEBUG:__main__:discarding '\x95' while syncing | |
DEBUG:__main__:discarding '\xe8' while syncing | |
DEBUG:__main__:bad checksum | |
DEBUG:__main__:putting back 60 bytes | |
DEBUG:__main__:discarding '\x02' while syncing |
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
#!/usr/bin/env ruby | |
# This script performs an OAuth authorized POST with multipart encoding to | |
# http://twitter.com/account/update_profile_image.json | |
# | |
# This code is primarily taken from my Grackle library's implementation at | |
# http://github.com/hayesdavis/grackle | |
# | |
# RUNNING THIS WILL CHANGE AN ACCOUNT'S PROFILE IMAGE. BE CAREFUL. | |
# |
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
sophrinix$ ./ruby ../why_sandbox/setup.rb | |
---> bin | |
<--- bin | |
---> lib | |
---> lib/sandbox | |
<--- lib/sandbox | |
<--- lib | |
---> ext | |
---> ext/sand_table | |
/usr/local/bin/ruby /Users/sophrinix/Desktop/why_sandbox/ext/sand_table/extconf.rb |
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
# Used to graph results from autobench | |
# | |
# Usage: ruby autobench_grapher.rb result_from_autobench.tsv | |
# | |
# This will generate three svg & png graphs | |
require "rubygems" | |
require "scruffy" | |
require 'csv' | |
require 'yaml' |
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
# -------------------------------------------- | |
# General | |
# -------------------------------------------- | |
set :shared_children, %w(cache logs) # Shared directories, these directories contain generated content which should not be wiped out during deployments. | |
set :application, "domain.com" # Application name | |
set :deploy_to, "/var/www/#{application}/#{stage}" # Path where files are deployed to ... | |
# -------------------------------------------- | |
# Server | |
# -------------------------------------------- |
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
this script no longer works with the new twitter: | |
http://userscripts.org/scripts/show/43115 | |
Here is a diff between the two html files. Matz twitter page is used in this example | |
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
// hi ben | |
function start() { | |
var Hf, | |
i, | |
start, | |
If, | |
Jf; | |
if (!Gf()) { | |
aa.writeln(""); | |
aa.writeln("Your browser does not support the W3C Typed Arrays and this version of JS/Linux needs them.\n"); |
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
# Monkey-patch for Passenger to use the EventMachine reactor. | |
# This allows the use of EM timers, EM.system/popen, and other async libraries (amqp, em-http-request, etc) inside a Rails process. | |
# This requires EM.watch which was added to EM's git repo recently. Build an EM gem first: | |
# git clone git://github.com/eventmachine/eventmachine | |
# cd eventmachine | |
# gem build eventmachine.gemspec | |
# sudo gem install eventmachine-0.12.9.gem | |
# Please do not use this in production =) |
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
I can clearly see that I am missing a demo.key file. Why? Out of the box | |
as a rvm install this should "just work". Here's the log: | |
_____________________________________________________________________________ | |
| GemStone/S64 Object-Oriented Data Management System | | |
| Copyright (C) VMware, Inc. 1986-2011 | | |
| All rights reserved. | | |
+-----------------------------------------------------------------------------+ | |
| PROGRAM: STONE, Stone Repository Monitor | | |
| VERSION: 3.1.0, Thu Oct 27 16:21:45 2011 | | |
| BUILD: gss64_maglev_branch-27184 | |
OlderNewer