Skip to content

Instantly share code, notes, and snippets.

View bsavelev's full-sized avatar

Boris Savelev bsavelev

  • Russia
View GitHub Profile
@andycodes00
andycodes00 / gist:1358794
Created November 11, 2011 18:30
Greenlet based PyQt and Flask application
#!/usr/bin/env python
import sys
import time
from flask import Flask
from PyQt4 import QtCore, QtGui, QtWebKit
import gevent.wsgi
@bagage
bagage / pre-receive
Last active July 26, 2024 00:59
Submodule commit checker pre-receive server-side git hook
#!/bin/bash
# Service side git pre-receive hook
# Written by Gautier Pelloux-Prayer <[email protected]>, 2014
#
# Public domain
#
# Simply put this script in server git bare repository <your-git-folder>/hooks and
# apply 'chmod +x pre-receive'.
#