Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block Djabx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sergeylukin / post-receive
Last active Apr 27, 2018
Git hook (post-receive): update working tree on PUSH
View post-receive
# This hook is placed in Bare repository and it updates Working tree whenever a PUSH
# is executed
# Assuming following file structure:
# .
# |-- myproject
# |-- myproject.git
# set WORKTREE=../myproject
majek /
Created Jan 23, 2012
Python asyncore based tcp proxy
import asyncore
import errno
import os
import socket
import logging
import threading
log = logging.getLogger('tcp_proxy')
_map = {}
brendano /
Created Oct 10, 2008
python decorators to log all method calls, show call graphs in realtime too
# Written by Brendan O'Connor,,
# * Originally written Aug. 2005
# * Posted to on Oct. 2008
# Copyright (c) 2003-2006 Open Source Applications Foundation
# 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
You can’t perform that action at this time.