Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 / 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 / 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>
//
// EGOTitledTableViewCell.h
// EGOClasses
//
// Created by Shaun Harrison on 6/2/09.
// Copyright 2009 enormego. All rights reserved.
//
#import <UIKit/UIKit.h>
@jwang
jwang / License
Created February 16, 2011 20:28
Apple Default License
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple software constitutes acceptance of these terms. If you do
not agree with these terms, please do not use, install, modify or
redistribute this Apple software.
In consideration of your agreement to abide by the following terms, and
subject to these terms, Apple grants you a personal, non-exclusive
license, under Apple's copyrights in this original Apple software (the
@jwang
jwang / Paths.xcconfig
Created February 9, 2011 08:16
Preliminary XCode4 Support for Three20. Paths.xcconfig lives in three20/src/common/Configuration Protect.command lives in three20/src/scripts
//
// Copyright 2009-2011 Facebook
//
// Licensed 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
//
// Unless required by applicable law or agreed to in writing, software
@jwang
jwang / .gitignore
Created November 9, 2010 07:59
My .gitignore file for iOS, Android and Ruby on Rails development on OSX
# OSX Noise
.DS_Store
# TextMate
*.tmproj
tmtags
# XCode (and ancestors) per-user config (very noisy, and not relevant)
*.mode1
*.mode1v3
john-wangs-macbook-pro:dubious jwang392$ ./script/build.sh
testing/SimpleJava.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
testing/SimpleJava.java:4: package com.google.apphosting.api does not exist
import com.google.apphosting.api.ApiProxy;
^
testing/SimpleJava.java:5: package com.google.apphosting.api.ApiProxy does not exist
import com.google.apphosting.api.ApiProxy.Environment;
^