This file contains hidden or 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/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/util/byte_buffer.rb:163:in `get_int': stack level too deep (SystemStackError) | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/connection.rb:428:in `receive_header' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/connection.rb:415:in `receive' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/connection.rb:288:in `receive_message' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/connection.rb:286:in `synchronize' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/connection.rb:286:in `receive_message' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/cursor.rb:339:in `send_initial_query' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/cursor.rb:316:in `refill_via_get_more' | |
from /usr/lib/ruby/gems/1.8/gems/mongo-0.18.3/lib/../lib/mongo/cursor.rb:304:in `num_remaining' | |
... 10 levels... |
This file contains hidden or 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/ruby | |
# http://eigenclass.org/hiki/irb+ri+completion | |
# | |
require 'irb/completion' | |
ARGV.concat [ "--readline", "--prompt-mode", "simple" ] | |
module Kernel | |
def r(arg) |
This file contains hidden or 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
http://superfeedr.com/dummy.xml | true | |
---|---|---|
http://news.ycombinator.com/rss | false | |
http://superfeedr.tumblr.com/rss | true | |
http://superfeedr.wordpress.com/feed/ | true | |
http://superfeedr.posterous.com/rss.xml | true | |
http://www.sixapart.com/blog/atom.xml | false | |
http://www.scripting.com/rss.xml | false | |
http://bits.blogs.nytimes.com/feed/ | false | |
http://images.apple.com/main/rss/hotnews/hotnews.rss | false | |
http://twitter.com/statuses/user_timeline/juvenn.rss | false |
This file contains hidden or 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
$ git push heroku master | |
Counting objects: 392, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (383/383), done. | |
Writing objects: 100% (392/392), 1.40 MiB | 1999 KiB/s, done. | |
Total 392 (delta 22), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Launching........................................................... failed (Heroku error) |
This file contains hidden or 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
" File: commonjs-package-json | |
" Author: Ash Berlin <[email protected]> | |
" Last Change: 23-Feb-2010. | |
" Version: 1.1 | |
" Usage: | |
" | |
" Use by placing something like the following in your .vimrc: | |
" | |
" let g:maintainer='{ "name": "Ash Berlin", "web": "http://ashberlin.com" }' | |
" |
This file contains hidden or 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
node> redis.set("greeting", "Thank you, Brain, for building us redis-node-client") | |
node> redis.get("greeting", function(err, reply) { sys.puts(reply); }) | |
node> Thank you, Brain, for building us redis-node-client | |
redis.get("greeting", function(err, reply) { sys.puts(typeof(reply)); }) | |
node> object // oops, it's an object instead of string | |
redis.get("greeting", function(err, reply) { sys.puts(sys.inspect(reply)); }) |
This file contains hidden or 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
// See comments below. | |
// This code sample and justification brought to you by | |
// Isaac Z. Schlueter, aka isaacs | |
// standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog", |
This file contains hidden or 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
function getPreload($field, $table, $id = "", $database = "", $syid = 1){ | |
global $survey, $config; | |
if ($id == ""){ | |
$id = $survey->primaryKey; | |
} | |
if ($config->getDataKey() != ""){ | |
$answertext = "AES_DECRYPT(answertext, '" . $config->getDataKey() . "') as answertext_dec"; | |
} |
This file contains hidden or 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
diff --git a/configure.ac b/configure.ac | |
index f5c26f9..b29764d 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -23,7 +23,7 @@ AC_SUBST(lt_major) | |
AC_SUBST(lt_revision) | |
AC_SUBST(lt_age) | |
-all_drivers="upeke2 upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000 vfs101" | |
+all_drivers="upeke2 upekts upektc upeksonly vcom5s uru4000 fdu2000 aes1610 aes2501 aes4000 aes3500 vfs101" |
This file contains hidden or 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
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis/1.8.0 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ -DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DENABLE_TESTS=NO -DQGIS_MACAPP_BUNDLE=0 -DQGIS_MACAPP_DEV_PREFIX='/usr/local/Cellar/qgis/1.8.0/Frameworks' -DQGIS_MACAPP_INSTALL_DEV=YES -DPYTHON_INCLUDE_DIR='/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/Headers' -DPYTHON_LIBRARY='/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib' -DPYTHON_EXECUTABLE='/usr/local/bin/python' | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qgis/1.8.0 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DQWT_INCLUDE_DIR=/usr/local/opt/qwt/lib/qwt.framework/Headers/ -DQWT_LIBRARY=/usr/local/opt/qwt/lib/qwt.framework/qwt -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DENABLE_TESTS=NO -DQGIS_MACAPP_BUNDLE=0 |