1 + 2
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 | |
| import argparse | |
| import sqlite3 | |
| def _main(): | |
| parser = argparse.ArgumentParser(description="SQLite3 Helper (Create Index)") | |
| parser.add_argument('db') | |
| parser.add_argument('table', nargs='*') | |
| options = parser.parse_args() |
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/sh | |
| function run() { | |
| $@ | |
| if test $? -ne 0; then | |
| echo "Failed $@" | |
| exit 1 | |
| fi | |
| } |
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 | |
| # -*- mode: python -*- | |
| import argparse | |
| import os | |
| import os.path | |
| import sqlite3 | |
| import csv | |
| import datetime |
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
| aspell | |
| aspell-dict-en | |
| autoconf | |
| automake | |
| autossh | |
| bzr | |
| cairo +quartz+x11 | |
| cairomm +quartz+x11 | |
| cmake | |
| cutter |
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 perl | |
| use strict; | |
| use warnings; | |
| use utf8; | |
| my $SMC_RESULT=`/usr/local/bin/smc -t`; | |
| my $COUNTER = 0; | |
| if (@ARGV == 1 && $ARGV[0] eq "config") { | |
| print <<__END__; |
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 -r -u kyotocabinet-1.2.76-original/kccommon.h kyotocabinet-1.2.76-mac/kccommon.h | |
| --- kyotocabinet-1.2.76-original/kccommon.h 2012-05-25 01:27:59.000000000 +0900 | |
| +++ kyotocabinet-1.2.76-mac/kccommon.h 2014-09-15 00:01:22.000000000 +0900 | |
| @@ -82,7 +82,7 @@ | |
| using ::snprintf; | |
| } | |
| -#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) | |
| +#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(__clang__) | |
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 sys | |
| sys.path.insert(0, 'flask.zip') | |
| sys.path.insert(0, 'werkzeug.zip') | |
| from flask import Flask, render_template, request, abort, redirect, url_for | |
| import json | |
| import urllib2 | |
| import re | |
| 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
| #!/bin/sh | |
| QTPATH=/usr/local/Qt-5.3.2-systemsqlite | |
| CODE_SIGN_IDENTITY="Developer ID Application: YOURID" | |
| APPNAME=APP.app | |
| for i in `find ${APPNAME}/Contents/Frameworks -name '*.framework'`; do | |
| BASENAME="${i##*/}" | |
| pushd $i |