Public Gists by darwin

Gravatar
Wed Nov 25 19:58:42 -0800 2009
1
2
3
~/code/antonin.hildebrand.cz master ➔ git remote add origin git@github.com:darwin/antonin.hildebrand.cz.git
~/code/antonin.hildebrand.cz master ➔ git push origin master
fatal: '/data/repositories/3/37/50/c6/darwin/antonin.hildebrand.cz.git' does not appear to be a git repository
Gravatar
Sun Sep 06 13:19:37 -0700 2009
1
2
3
<?php
// some helper functions to fix the language, have to put them into global scope, sorry guys
 
Gravatar
Sat Sep 05 12:29:08 -0700 2009
1
2
3
configure:2529: checking for C compiler default output file name
configure:2556: gcc -O0 -g -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/usr/local/include -D__FreeBSD__=10 -DDARWIN_SEMAPHORE_COMPAT -DSSH_NODELAY_WORKAROUND -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -L/usr/local/lib conftest.c >&5
ld: library not found for -lcrt1.10.6.o
Gravatar
Wed Aug 26 18:58:29 -0700 2009
1
2
3
~/code/visor gh-pages ➔ git pull origin gh-pages
From github.com:darwin/visor
 * branch gh-pages -> FETCH_HEAD
Gravatar
Thu Jul 30 11:44:26 -0700 2009
1
2
3
1. Download: http://files.getdropbox.com/u/559047/cocoa.tgz
2. sudo mv /Library/Frameworks/RubyCocoa.framework -> /Library/Frameworks/RubyCocoa.framework-bad
3. upack cocoa.tgz into /Library/Frameworks/
Gravatar
Tue Jul 28 06:32:47 -0700 2009
1
2
3
//////////////////////////////////////////////////////////////////////////////////////////////
 
Mesan.Rules.SourcePanel = function(config){
Gravatar
Sat May 23 05:40:03 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
OSX = PLATFORM =~ /darwin/
gist: 102187 How to achieve Terminal.app...
Gravatar
Sun Apr 26 15:03:49 -0700 2009
1
2
3
I use Ciaran's Terminal.app SIMBL addon:
http://ciaranwal.sh/2007/11/01/customising-colours-in-leopard-terminal
 
Gravatar
Fri Apr 24 05:51:48 -0700 2009
1
2
3
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
Gravatar
Fri Mar 06 18:29:03 -0800 2009
1
2
3
~/code/viswrk/visor master⚡ ➔ gits
# On branch master
# Your branch and 'origin/master' have diverged,
Gravatar
Fri Mar 06 17:52:05 -0800 2009
1
2
3
[core]
repositoryformatversion = 0
filemode = true
Gravatar
Sat Feb 21 03:01:13 -0800 2009
1
2
3
$gst-launch-0.10 udpsrc multicast-group=224.0.0.56 port=64226 ! fakesink dump=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Gravatar
Sat Feb 21 01:59:56 -0800 2009
1
2
3
00030 08 68 61 70 70 6c 69 63 61 74 69 6f 6e 2f 73 64 .happlication/sd
00040 70 00 76 3d 30 0a 6f 3d 6f 6c 65 67 20 33 34 34 p.v=0.o=oleg 344
00050 34 31 34 38 33 35 34 20 30 20 49 4e 20 49 50 34 4148354 0 IN IP4
Gravatar
Sat Jan 31 02:48:15 -0800 2009
1
2
3
{ name = 'area.dbg.marker.pagebout.js';
begin = '^(//)(#dbg)\s*$';
end = '^(//)(\2)\s*$';
Gravatar
Wed Jan 21 09:21:07 -0800 2009
1
2
3
    // jQuery 1.3 way of doing filters
    // example: $('div.items:reallyvisible').hide()
    $.extend($.expr[":"], {
Gravatar
Thu Jan 08 02:41:06 -0800 2009
1
2
3
from openid import fetchers
from google.appengine.api import urlfetch
import logging
Gravatar
Mon Dec 29 12:15:20 -0800 2008
1
2
3
class AppEngineFetcher(fetchers.HTTPFetcher):
  """An HTTPFetcher subclass that uses Google App Engine's urlfetch module.
  """
Gravatar
Sat Dec 06 21:27:30 -0800 2008
1
2
3
class Service(dict):
    def __init__(self, id, name, profileUrl):
        super(Service, self).__init__()
Gravatar
Sat Nov 29 09:27:38 -0800 2008
1
2
3
class Application(object):
 
    def __call__(self, environ, start_response):
Gravatar
Fri Nov 28 09:22:42 -0800 2008
1
2
3
from google.appengine.api import urlfetch
 
...