Skip to content

Instantly share code, notes, and snippets.

View taras's full-sized avatar

Taras Mankovski taras

View GitHub Profile
<style type="text/css">
#container {
margin: 0px auto;
}
</style>
<center>
<div id="container">
</div>
</center>
@taras
taras / gist:181654
Created September 6, 2009 04:57 — forked from anonymous/gist:156623
Scrapy Production/Worker/Dev Setup Fabfile
"""
Git Repo:
branches
dev
worker
production
master
dev
INFO 2009-09-20 02:07:46,069 appengine_rpc.py:157] Server: appengine.google.com
INFO 2009-09-20 02:07:46,079 appcfg.py:348] Checking for updates to the SDK.
DEBUG 2009-09-20 02:07:46,080 appengine_rpc.py:343] Sending HTTP request:
POST /api/updatecheck?release=1.2.5&timestamp=1250206498&api_versions=%5B%271%27%5D HTTP/1.1
Host: appengine.google.com
X-appcfg-api-version: 1
Content-type: application/octet-stream
User-agent: appcfg_py/1.2.5 Darwin/9.8.0 Python/2.5.4.final.0
diff --git a/zerokspot/recipe/git/__init__.py b/zerokspot/recipe/git/__init__.py
index 29900d8..30d1dc5 100644
--- a/zerokspot/recipe/git/__init__.py
+++ b/zerokspot/recipe/git/__init__.py
@@ -6,7 +6,7 @@ subversion repositories::
[myapp]
recipe = zerokspot.recipe.git
repository = <url-of-repository>
- path = <relative-path-to-package-source-inside-repository>
+ paths = <relative-paths-to-packages-inside-repository>
diff --git a/zerokspot/recipe/git/__init__.py b/zerokspot/recipe/git/__init__.py
index 004ee30..29900d8 100644
--- a/zerokspot/recipe/git/__init__.py
+++ b/zerokspot/recipe/git/__init__.py
@@ -6,6 +6,7 @@ subversion repositories::
[myapp]
recipe = zerokspot.recipe.git
repository = <url-of-repository>
+ path = <relative-path-to-package-source-inside-repository>
branch = <name-of-branch> # default: "master"
Host *
Compression yes
CompressionLevel 9
FallBackToRsh yes
KeepAlive yes
ServerAliveInterval 300
ServerAliveCountMax 3
Host jib
HostName jib.ca
<?php
/*
Plugin Name: Listing Content Item
Plugin URI:
Description:
Author:
Version: 1.0
Author URI:
*/
javascript:location.href=location.href+'?debug=1'
// ==UserScript==
// @name Reddit Hide Button
// @namespace http://www.reddit.com
// @description Inserts button in place of Hide command
// @include http://*.reddit.com/*
// ==/UserScript==
GM_addStyle('div.entry { position: relative; }');
// position in top right corner
#!/bin/bash
# $Id: virtualhost.sh 27 2009-03-04 17:41:00Z patrickg.com $
#================================================================================
# virtualhost.sh $Revision: 1.19 $
#
# A fancy little script to setup a new virtualhost in Mac OS X.
#
# If you want to delete a virtualhost that you've created, you need to:
#
# sudo ./virtualhost.sh --delete <site>