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
--- a/lib/makefile | |
+++ b/lib/makefile | |
@@ -1,7 +1,7 @@ | |
include config.mk | |
#CC += -faddress-sanitizer -fno-omit-frame-pointer | |
-CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage | |
+CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage -I/usr/local/include -L/usr/local/lib | |
.PHONY: all clean |
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
#!/bin/bash | |
if [ $# -lt 3 ] | |
then | |
echo "usage: ./setup-wifi.sh INTERFACE ACCESS_POINT_SSID PASSPHRASE" | |
echo "example: ./setup-wifi.sh wlan0 linksys supersecret" | |
exit; | |
fi | |
wpa_passphrase $2 $3 > wifi.conf |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 -ur Python-2.7.3.orig/configure Python-2.7.3-Source/configure | |
--- Python-2.7.3.orig/configure 2012-04-09 19:07:36.000000000 -0400 | |
+++ Python-2.7.3-Source/configure 2012-10-23 14:10:45.305220393 -0400 | |
@@ -13697,7 +13697,7 @@ | |
$as_echo_n "(cached) " >&6 | |
else | |
if test "$cross_compiling" = yes; then : | |
- ac_cv_have_long_long_format=no | |
+ ac_cv_have_long_long_format="cross -- assuming yes" | |
else |
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
cmake -DPYTHON_EXECUTABLE:PATH='/usr/local/bin/python' -DPYTHON_INCLUDE_DIR:PATH='/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7/' -DPYTHON_LIBRARY:PATH='/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib' -DBUILD_EXAMPLES:BOOL="1" -DWITH_TBB:BOOL="1" -G "Unix Makefiles" .. |
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 urlTmpl (tmpl, obj) { | |
return tmpl.replace(/{{([a-zA-Z0-9]+)}}/g, function (s, v) { return obj[v] }) | |
} | |
/* | |
> urlTmpl('shit is {{status}} and {{qualifier}}', { status: 'fucked up', qualifier: 'bullshit' }) | |
"shit is fucked up and bullshit" | |
> urlTmpl('shit is {{status}} and {{qualifier}}', { status: 'fucked up', oops_qualifier: 'bullshit' }) | |
"shit is fucked up and undefined" |