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
[xdebug] | |
zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug_newer.so | |
xdebug.profiler_output_dir=/var/xdebug | |
xdebug.profiler_output_name=cachegrind.out.%s.%u | |
xdebug.file_link_format="txmt://open?url=file://%f&line=%1" | |
xdebug.remote_enable = On | |
xdebug.remote_autostart = 1 |
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
SKIP_DOCUMENT_ROOT_CHECK="yes" | |
BROWSER="Google Chrome" | |
DOC_ROOT_PREFIX="/Users/swader/Dropbox/Websites" |
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
tar xzvf icu4c-4_8_1-src.tgz | |
cd icu/source | |
./runConfigureICU MacOSX | |
make | |
sudo make install |
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
cd /usr/local | |
wget ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz | |
tar zxvf imap-2007f.tar.gz | |
cd imap-2007f | |
make osx |
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
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LC_CTYPE = "UTF-8", | |
LANG = (unset) | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). |
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
<script type="text/javascript" id="tempScript"> | |
var scripts = document.getElementsByTagName('script'); | |
var numberOfScripts = scripts.length; | |
var tempText; | |
var current; | |
while (numberOfScripts--) { | |
current = scripts[numberOfScripts]; | |
tempText = current.textContent; | |
if ( | |
tempText.indexOf("Static.SQUARESPACE_CONTEXT") >= 0 |
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
import 'dart:io'; | |
import 'package:web_ui/component_build.dart'; | |
// Ref: http://www.dartlang.org/articles/dart-web-components/tools.html | |
main() { | |
build(new Options().arguments, ['web/index.html']); | |
//recursiveFolderCopySync('web/assets', 'web/out/assets'); | |
} | |
bool isSymlink(String pathString) { |
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
for SQL in *.sql; do DB=${SQL/\.sql/}; echo importing $DB; mysql $DB < $SQL; 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
gifify() { | |
if [[ -n "$1" ]]; then | |
if [[ $2 == '--good' ]]; then | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
rm out-static*.png | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
fi | |
else |