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/Makefile.in b/Makefile.in | |
| index a01faae..ff05dae 100644 | |
| --- a/Makefile.in | |
| +++ b/Makefile.in | |
| @@ -297,6 +297,10 @@ enc/unicode/name2ctype.h: enc/unicode/name2ctype.kwd | |
| @$(ECHO) preprocessing $< | |
| $(Q) $(CPP) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -E $< > $@ | |
| +probes.h: | |
| + @$(ECHO) translating probes $< |
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
| (master)⚡)% ls | |
| Gemfile foo.rb | |
| (master)⚡)% cat foo.rb | |
| require 'sinatra' | |
| require 'pp' | |
| get '/' do | |
| "<pre>#{ENV.pretty_inspect}</pre>" | |
| end | |
| (master)⚡)% vmc runtimes |
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
| require 'rubygems' | |
| require "./nolate" | |
| require "erb" | |
| require "bench" | |
| module FastERB | |
| def self.new(*args) | |
| o = Object.new | |
| erb = ERB.new(*args) | |
| o.extend erb.def_module("render(myfield)") |
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
| # install git | |
| sudo apt-get install g++ curl libssl-dev apache2-utils | |
| sudo apt-get install git-core | |
| # download the Node source, compile and install it | |
| git clone https://github.com/joyent/node.git | |
| cd node | |
| ./configure | |
| make | |
| sudo make install | |
| # install the Node package manager for later use |
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/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 | |
| + |
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
| def daemonize(name = File.basename($0), options = {}) | |
| pid_path = options[:pid_path] || File.expand_path("tmp/pids/#{name}.pid") | |
| # If the pid file exists, check that the process is actually still running. | |
| begin | |
| if File.exists?(pid_path) && Process.kill(0, File.read(pid_path).to_i) | |
| $stderr.puts "Already running." | |
| exit 1 | |
| end | |
| rescue Errno::ESRCH |
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
| Surround these with : e.g. :calling: | |
| +1 | |
| -1 | |
| bulb | |
| calling | |
| clap | |
| cop | |
| feet |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <signal.h> | |
| #include <assert.h> | |
| #include "hiredis.h" | |
| #include "async.h" | |
| #include "adapters/libev.h" | |
| void message(redisAsyncContext *c, redisReply *reply, void *privdata) { |
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
| README.ext | |
| http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/README.EXT?revision=12055 | |
| Extending Ruby - Pickaxe | |
| http://ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html | |
| Extending Ruby on O'Reilly | |
| http://onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html | |
| Ruby C Extensions - Mark Volkman |
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
| BASIC OI (CUCUMBER) KIMCHI | |
| -------------------------------------------------------------------------- | |
| Oi (cucumber) kimchi is a delicious, refreshing variation on the | |
| traditional Korean kimchi recipe. | |
| This particular recipe is a modified version of the recipe posted by Dr. | |
| Ben Kim, at http://www.drbenkim.com/how-to-make-cucumber-kim-chi.htm. | |
| -------------------------------------------------------------------------- |