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
user root; | |
worker_processes 2; | |
worker_rlimit_nofile 90000; | |
error_log /usr/local/nginx/logs/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
use epoll; | |
multi_accept off; | |
accept_mutex off; |
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
global | |
maxconn 100000 | |
defaults | |
option http-server-close | |
option dontlognull | |
option redispatch | |
option contstats | |
retries 3 | |
timeout connect 5s |
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
pid = /var/run/stunnel.pid | |
socket = a:SO_REUSEADDR=1 | |
socket = l:TCP_NODELAY=1 | |
socket = r:TCP_NODELAY=1 | |
debug = 2 | |
[ssl_frontend] | |
client = no | |
key = /WOO/server1024.key | |
cert = /WOO/server1024.crt |
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
diff -Naur openssl-1.0.0e/debian/changelog openssl-1.0.0e.new/debian/changelog | |
--- openssl-1.0.0e/debian/changelog 2011-09-27 18:16:34.000000000 +0200 | |
+++ openssl-1.0.0e.new/debian/changelog 2011-09-30 16:25:48.000000000 +0200 | |
@@ -1,3 +1,9 @@ | |
+openssl (1.0.0e-2ubuntu2~bpohebex1) lucid; urgency=low | |
+ | |
+ * Backport to Lucid: drop multi-arch support. | |
+ | |
+ -- Vincent Bernat <[email protected]> Fri, 30 Sep 2011 16:24:40 +0200 | |
+ |
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
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Ligature tests</title> | |
<!-- For example to work: | |
1. The typekit stack should contain FF Tisa Web Pro with default subset. | |
2. Droid Serif should be installed on the system (with a complete subset). | |
--> | |
<script type="text/javascript" src="//use.typekit.com/hen2cfo.js"></script> | |
<script type="text/javascript">try{Typekit.load();}catch(e){}</script> |
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
# -*- coding: utf-8 -*- | |
""" | |
Simulate route cache with the following assumptions: | |
1. route cache is never full (things become difficult in this case) | |
2. route cache is always able to meet its goal (check gc_goal_miss | |
counter to see if this is your case) | |
""" | |
from matplotlib.pylab import * | |
import random |
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/zsh | |
set -e | |
# Usage: $0 git-repos svn-repos | |
# | |
# Both repositories should be initialized. A tag will be added to the | |
# git repository to remember the last synced position. | |
GIT_DIR=$1 |
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
<keymap> | |
<global> | |
<keyboard> | |
<end>XBMC.ShutDown()</end> | |
<f1>XBMC.ActivateWindow(MusicLibrary)</f1> | |
<f2>XBMC.ActivateWindow(Videos,TvShowTitles)</f2> | |
<f3>XBMC.ActivateWindow(Videos,MovieTitles)</f3> | |
<f4>XBMC.ActivateWindow(Weather)</f4> | |
<f5>XBMC.PlayerControl(Partymode)</f5> | |
<two>JumpSMS2</two> |
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 a1631d9ee1bf27f0417af8733229f550f08672f9 Mon Sep 17 00:00:00 2001 | |
From: Vincent Bernat <[email protected]> | |
Date: Tue, 9 Oct 2012 23:19:35 +0200 | |
Subject: [PATCH] Make timers local so that they don't mangle each others. | |
--- | |
init.lua | 2 ++ | |
1 file changed, 2 insertions(+) | |
diff --git a/init.lua b/init.lua |
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 | |
from pymongo import Connection, ASCENDING, DESCENDING | |
from datetime import datetime | |
c = Connection() | |
db = c['asynctask'] | |
# Will select about 7/10 of the logs | |
now = datetime.now() | |
half = datetime(2012, 12, 13, 20, 30, 30, 0) |
OlderNewer