Local:
$ git for-each-ref --sort=-committerdate --format='%(committerdate:iso8601) %(objectname:short) %(refname)' refs/heads| gawk 'BEGIN { F="_"; } match($0, /^-- (Table|Temporary table) structure for (table|view) `(.*)`/, m) { close(F ".sql"); F=m[3]; } { print $0 > F ".sql"; }' |
| /* | |
| https://play.golang.org/p/3g50cX2ed- | |
| Output looks like: | |
| &main.Node{XMLName:xml.Name{Space:"", Local:"foo"}, Comments:" a b ", Attrs:[]xml.Attr(nil), Value:"", Children:[]main.Node{main.Node{XMLName:xml.Name{Space:"", Local:"bar"}, Comments:"", Attrs:[]xml.Attr{xml.Attr{Name:xml.Name{Space:"", Local:"baz"}, Value:"bing"}}, Value:"", Children:[]main.Node(nil)}}} | |
| */ | |
| package main |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>ntpdate</string> | |
| <key>Disabled</key> | |
| <false/> | |
| <key>UserName</key> | |
| <string>root</string> |
| #!/bin/bash | |
| if [ -z "$AWS_CREDENTIALS" ]; then | |
| AWS_CREDENTIALS="$HOME/.aws/credentials" | |
| fi | |
| if [ ! -e "$AWS_CREDENTIALS" ]; then | |
| echo "$AWS_CREDENTIALS missing; use 'aws configure'." | |
| exit | |
| fi |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Eleven</title> | |
| <style> | |
| .center { | |
| text-align: center; | |
| } |
| alter table wp_posts drop index yarpp_content; | |
| alter table wp_posts modify post_content longtext character set latin1; | |
| alter table wp_posts modify post_content longtext character set binary; | |
| alter table wp_posts modify post_content longtext character set utf8mb4 collate utf8mb4_unicode_ci; | |
| alter table wp_posts default character set utf8mb4 collate utf8mb4_unicode_ci; | |
| alter table wp_posts add fulltext index yarpp_content (post_content); |
| Homebrew build logs for node on OS X 10.7.5 | |
| Build date: 2015-12-14 14:09:08 |
| /* | |
| * $ gcc -Wall -shared -fPIC -o patch_inotify_init1.so patch_inotify_init1.c | |
| * | |
| * LD_PRELOAD=patch_inotify_init1.so java ... | |
| * | |
| * [11.27.15 12:43:37.040 ERROR main .service.backup.BackupController] Exception setting up BackupController! , java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /usr/local/crashplan/jre/bin/java: undefined symbol: inotify_init1 | |
| * STACKTRACE:: java.lang.UnsatisfiedLinkError: Error looking up function 'inotify_init1': /usr/local/crashplan/jre/bin/java: undefined symbol: inotify_init1 | |
| * at com.sun.jna.Function.<init>(Function.java:208) | |
| * at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:536) | |
| * at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:513) |