Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.sourceforge.socks-relay.srelay</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/srelay</string>
</array>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output media-type="text/plain" omit-xml-declaration="yes"/>
<xsl:variable name="FocusAreas">
<xsl:copy-of select="//object[@type='TODO' and not(attribute[@name='datecompleted']) and attribute[@name='focuslevel']=2]"/>
</xsl:variable>
<xsl:variable name="Projects">
<xsl:copy-of select="//object[@type='TODO' and not(attribute[@name='datecompleted']) and attribute[@name='focuslevel']=1]"/>
@technolize
technolize / _pip
Created February 28, 2009 00:12
zsh completion func for pip command.
#compdef pip
local ret=1 state
declare -ga common_ops
common_ops=(
"--version[display version number]"
{-h,--help}"[show help]"
{-E,--environment=}"[virtualenv environment to run pip]:environment:_directories"
{-v,--verbose}"[give more output]"
ARCH = armv6
SDKVER = 2.2
SDK = /Developer/Platforms/iPhoneOS.platform/Developer
SYSROOT = $(SDK)/SDKs/iPhoneOS$(SDKVER).sdk
CC = $(SDK)/usr/bin/arm-apple-darwin9-gcc-4.0.1
CPP = $(SDK)/usr/bin/arm-apple-darwin9-g++-4.01
LD = $(CC)
LDFLAGS += -framework CoreFoundation
@technolize
technolize / MailFetchToggle.m
Created March 29, 2009 05:22
Mail fetch toggle SBSettings add-on.
#import <Foundation/Foundation.h>
#import <unistd.h>
#import <stdlib.h>
#import <ctype.h>
#import <notify.h>
#define PREF_FILE @"/var/mobile/Library/Preferences/com.apple.persistentconnection.plist"
BOOL isCapable() {
return YES;
#import <Foundation/Foundation.h>
#import <SpringBoard/SBApplicationIcon.h>
#import <UIKit/UIKit.h>
#import <objc/runtime.h>
#import <objc/message.h>
#define PREFIX "lcnt_"
#define APP_NAME "LaunchCounter"
#define COUNT_PATH @"/var/mobile/LaunchCount.plist"
#!/usr/bin/env python
# encoding: utf-8
from pit import Pit
from datetime import datetime, timedelta
from time import sleep
import twitter
import Growl
wait = 180
#!/usr/bin/ruby
# Dropzone Destination Info
# Name: Gist
# Description: Share stuff on Gist.
# Handles: NSFilenamesPboardType
# Events: Clicked, Dragged
# Creator: technolize
# URL: http://d.hatena.ne.jp/technolize/
# IconURL: http://antonlindstrom.com/public/graphic/octocat_stroked.png
if(typeof(models)=='undefined')
this.models = models = new Repository();
var Pinboard = {
name : 'Pinboard',
ICON : 'http://pinboard.in/favicon.ico',
getCurrentUser : function() {
if(decodeURIComponent(getCookieString('pinboard.in', 'login')).match(/login=(.*?) /))
return RegExp.$1;
<?php
/*
Copyright 2007-2009 John Havlik (email : mtekkmonkey@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,