This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will stop the sks server, dump it's contents to | |
# the $PREDIR, then restart the sks server. | |
# | |
# Matt Rude <[email protected]> PGP: 0xDD23BF73 | |
# URL: https://gist.github.com/mattrude/b0ac735d07b0031bb002 | |
SKSDATE=`date +%Y-%m-%d` | |
USER="debian-sks" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From [email protected] Mon Sep 17 00:00:00 2001 | |
From: Holger Weiss <[email protected]> | |
Date: Mon, 14 Apr 2014 17:10:49 +0200 | |
Subject: [PATCH] Pass client IP address to authentication script | |
--- | |
src/ejabberd_auth.erl | 10 +++++++++- | |
src/ejabberd_auth_external.erl | 34 +++++++++++++++++++--------------- | |
src/ejabberd_c2s.erl | 2 +- | |
src/extauth.erl | 11 +++++++++-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer9.plist | |
defaults delete ~/Library/Preferences/com.teamviewer.teamviewer9.Machine.plist | |
sudo defaults delete /Library/Preferences/com.teamviewer.teamviewer9.plist | |
rm -f ~/Library/Preferences/com.teamviewer.teamviewer9.plist | |
rm -f ~/Library/Preferences/com.teamviewer.teamviewer9.Machine.plist | |
sudo rm -f /Library/Preferences/com.teamviewer.teamviewer9.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
# Windows dependencies | |
# - Python 2.7.6: http://www.python.org/download/ | |
# - OpenCV: http://opencv.org/ | |
# - Numpy -- get numpy from here because the official builds don't support x64: | |
# http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy | |
# Mac Dependencies | |
# - brew install python |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# http://stackoverflow.com/questions/14180179/eventlet-spawn-doesnt-work-as-expected/14180227#14180227 | |
from flask import Flask | |
import time | |
import eventlet | |
eventlet.monkey_patch() | |
app = Flask(__name__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
NewerOlder