Skip to content

Instantly share code, notes, and snippets.

View jezdez's full-sized avatar
🚴
💨

Jannis Leidel jezdez

🚴
💨
View GitHub Profile
@jezdez
jezdez / coda.sh
Created August 27, 2008 13:47
coda shell script. Download that script by clicking on "raw" and save it somewhere on your $PATH as "coda". Then make it executable (chmod +x /path/to/coda).
#!/bin/sh
#
# Shell script to open files or folders with Coda.app
# Based on a script by Wout Mertens and suggestions from Laurent Bihanic.
# The original version is the fault of Benji Fisher, 16 May 2005 (with
# modifications by Nico Weber and Bjorn Winckler, Aug 13 2007). Originally
# released as the "mvim" shell script of MacVim.app.
# First, check "All the Usual Suspects" for the location of the Coda.app
#!/bin/sh
# create by using git svn clone -s --prefix=svn/ <URL-TO-REPO>
for i in ~/public_html/*
do
( cd $i ; echo $i ; git svn rebase ; git gc --auto ; git-update-server-info )
done
This was retrieved from Google cache
Original: http://www.dcl.hpi.uni-potsdam.de/home/loewis/versions
.000001
.012
.020
.022
.1
.94
.98
@jezdez
jezdez / Localizable.strings
Created May 1, 2009 19:27
German translation for ExpanDrive 2.X
/* Single words */
"Action" = "Aktion";
"All" = "Alles";
"Cancel" = "Abbrechen";
"Close" = "Schließen";
"Connect" = "Verbinden";
"Continue" = "Fortsetzen";
"Delete" = "Löschen";
"Edit" = "Bearbeiten";
"Eject" = "Auswerfen";
from mimetypes import guess_type
from django.core.exceptions import ImproperlyConfigured
from django.core.files.storage import Storage
from django.utils.encoding import iri_to_uri
import re
try:
import S3
except ImportError:
raise ImproperlyConfigured, "Could not load amazon's S3 bindings.\
For the Birds - http://nycbirdlist.org/
Code monkeys - http://djapp.org/
Freelancer - http://tnycnt.com/
Sword of Truth - http://leafychat.com/
Devcult - http://coda.fm/
wwswd - http://wwswd.com/
East meets West - http://whohasmy.net/
crunkd - http://getcrunkd.com:88/
Ra - http://www.ntrie.com/
arctangent - http://rudestword.com/
@jezdez
jezdez / MenuBar.py
Created June 14, 2009 12:23
This is a plugin for Colloquy (trunk/nightly) that creates a status menu bar item with some helpful entries.
# -*- coding: utf-8 -*-
import objc
from Foundation import *
from AppKit import *
from sys import *
# the NSStatusItem we'll create
statusItem = 0
inactiveIcon = 0
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
#
# Put this in your .bashrc or whatever.
pathed_cd () {
if [ "$1" == "" ]; then
cd
else
#!/bin/sh
#
# Shell script to open files or folders with Murky.app
# Based on a script by Wout Mertens and suggestions from Laurent Bihanic.
# The original version is the fault of Benji Fisher, 16 May 2005 (with
# modifications by Nico Weber and Bjorn Winckler, Aug 13 2007). Originally
# released as the "mvim" shell script of MacVim.app.
# First, check "All the Usual Suspects" for the location of the Murky.app
#!/usr/bin/env python
import os
import os.path
for root, dirs, files in os.walk("."):
for filename in files:
path = os.path.join(root, filename)
if any(filename.endswith(ending) for ending in [".py", ".html", ".txt", ".css"]):
tabs = False