This file contains 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
;;configuration for supervisor | |
[program:munin-graph] | |
command=spawn-fcgi -u munin -g munin -U nginx -s /var/run/munin/fcgi-graph.sock -S -M 0600 -n -- /var/www/cgi-bin/munin-cgi-graph |
This file contains 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 --git a/configure.ac b/configure.ac | |
index 4291453..1ed10b6 100644 | |
--- a/configure.ac | |
+++ b/configure.ac | |
@@ -4876,7 +4876,7 @@ case "$opsys" in | |
## only costs about 1.5K of wasted binary space. | |
headerpad_extra=1000 | |
if test "$HAVE_NS" = "yes"; then | |
- libs_nsgui="-framework AppKit" | |
+ libs_nsgui="-framework AppKit -framework Carbon" |
This file contains 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
#include <stdio.h> | |
#include <windows.h> | |
#include <tlhelp32.h> | |
#include <tchar.h> | |
#include <stdbool.h> | |
#include <process.h> | |
#include <errno.h> | |
#ifdef _DEBUG | |
void printError( TCHAR* msg ); |
This file contains 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 | |
# -*- coding: utf-8 -*- | |
import argparse | |
import git | |
import os | |
import os.path | |
import collections | |
VERBOSE = False |
This file contains 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
function countlines() { | |
local basedir=$1 | |
local currentlines='0' | |
local thislines | |
shift 1 | |
while [ $1 ] ;do | |
thislines=`find "$basedir" -type f -name "*.$1" -print0 | xargs -0 cat | wc -l` | |
currentlines=$(($thislines + $currentlines)) | |
shift 1 | |
done |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <unistd.h> | |
#include <stdbool.h> | |
/** | |
* @berief Format text table | |
* @author informationsea |
This file contains 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
def suggest_type_from_str(string): | |
""" | |
Arguments: | |
- `string`: | |
""" | |
try: | |
return int(string) | |
except: |
This file contains 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 python2.7 | |
__author__ = 'informationsea' | |
__copyright__ = 'Copyright (C) 2012 informationsea All Rights Reserved.' | |
import bz2 | |
import gzip | |
import struct | |
class RandomZip(object): |
This file contains 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 | |
""" | |
Read indexed tab-delimited file | |
""" | |
__author__ = '@informationsea' | |
__copyright__ = 'Copyright (C) 2011 @informationsea All Rights Reserved.' | |
import sys |
This file contains 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
=== modified file 'lisp/term/ns-win.el' | |
--- lisp/term/ns-win.el 2012-02-25 10:04:30 +0000 | |
+++ lisp/term/ns-win.el 2012-04-17 14:04:58 +0000 | |
@@ -533,6 +533,12 @@ | |
(interactive) | |
(ns-hide-others)) | |
+(declare-function ns-fullscreen-toggle-cocoa "nsfns.m" ()) | |
+ | |
+(defun ns-fullscreen-toggle () |