Skip to content

Instantly share code, notes, and snippets.

@jwang
jwang / EGOCache.h
Created May 5, 2011 07:35 — forked from enormego/EGOCache.h
Caching for Objective-C/iPhone -- All new updates will be here: http://github.com/enormego/EGOCache
//
// EGOCache.h
// enormego
//
// Created by Shaun Harrison on 7/4/09.
// Copyright 2009 enormego. All rights reserved.
//
#import <Foundation/Foundation.h>
@jwang
jwang / rake.log
Created July 17, 2011 00:05
rvm rubinius 2.0 rake log
[2011-07-16 13:01:15] /Users/john/.rvm/wrappers/ruby-1.8.7-p352/rake install
/Users/john/.rvm/rubies/ruby-1.8.7-p352/bin/ruby vm/codegen/encoding_extract.rb /Users/john/.rvm/src/vendor/onig vm/gen/encoding_database.cpp
/Users/john/.rvm/rubies/ruby-1.8.7-p352/bin/ruby vm/codegen/field_extract.rb vm/builtin/basicobject.hpp vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/bytearray.hpp vm/builtin/chararray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookuptable.hpp vm/builtin/ffi_pointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativefunction.hpp vm/builtin/packed_objec
@jwang
jwang / rbx.log
Created July 21, 2011 18:57
RVM install rbx error
[2011-07-21 08:45:05] git reset --hard HEAD ; git pull --rebase origin head
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
HEAD is now at 7ae451a Regen'd website.
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
fatal: Couldn't find remote ref head
@jwang
jwang / gist:1189621
Created September 2, 2011 19:29 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
Day job: Senior Software Engineer
Favorite Python project: Etsy's StatsD - https://github.com/etsy/statsd
Favorite Conference: Google I/O
Python Experience Level: Beginner
@jwang
jwang / schema.xml
Created September 5, 2011 23:17
solr schema for fuzzy and file search
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@jwang
jwang / Sorl Cell Dependencies List
Created September 5, 2011 23:50
Sorl Cell Dependencies List
apache-solr-cell-1.4.1.jar
asm-3.1.jar
bcmail-jdk14-136.jar
bcprov-jdk14-136.jar
commons-codec-1.3.jar
commons-compress-1.0.jar
commons-io-1.4.jar
commons-lang-2.1.jar
commons-logging-1.1.1.jar
dom4j-1.6.1.jar
@jwang
jwang / env.rb
Created September 8, 2011 08:11 — forked from bmabey/env.rb
how to get spork working for cucumber in a rails app
require 'rubygems'
require 'spork'
Spork.prefork do
# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'webrat'
@jwang
jwang / make.log
Created November 6, 2011 21:28
CC=/usr/bin/gcc-4.2 rvm install ruby-1.8.7 --force
[2011-11-06 11:22:04] make
clang -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c array.c
clang: warning: argument unused during compilation: '-no-cpp-precomp'
clang -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c bignum.c
clang: warning: argument unused during compilation: '-no-cpp-precomp'
clang -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c class.c
clang: warning: argument unused during compilation: '-no-cpp-precomp'
clang -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c compar.c
clang: warning: argument unused during compilation: '-no-cpp-precomp'
clang -arch x86_64 -g -Os -pipe -no-cpp-precomp -fno-common -pipe -fno-common -DRUBY_EXPORT -
@jwang
jwang / gist:1394868
Created November 26, 2011 02:48
Jasmine Sproutcore Stacktrace from Chrome Developer Tools
TypeError: Object #<Object> has no method 'registerDependentKeyWithChain'
at [object Object].activate (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:9222:17)
at [object Object]._clonePropertyChainToItem (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:6841:11)
at [object Object].<anonymous> (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:6789:16)
at [object Object].forEach (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:7902:43)
at [object Object].setupEnumerablePropertyChains (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:6782:14)
at [object Object]._scac_arrayContentDidChange (http://localhost:4020/static/sproutcore/core_foundation/en/current/javascript.js?1321949495:883:10)
at Array.arrayContentDidChange (http://localhost:4020/static/sproutcore/runtime/en/current/javascript.js?1321949495:6680:16)
@jwang
jwang / .zshrc
Created January 24, 2012 05:11
zshrc
. ~/bin/dotfiles/zsh/config
. ~/bin/dotfiles/zsh/aliases
. ~/bin/dotfiles/zsh/env