Compile with
grep -vE '#|>' x11.md | xxd -p -r > x11.png
Result visible here
8950 4e47 0d0a 1a0a
| deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse | |
| deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse | |
| deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse | |
| deb http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse | |
| deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse | |
| deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse | |
| deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse | |
| deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse | |
| deb http://ddebs.ubuntu.com precise main restricted universe multiverse | |
| deb http://ddebs.ubuntu.com precise-updates main restricted universe multiverse |
| #!/usr/bin/env ruby | |
| require 'yaml' | |
| require 'murmurhash3' | |
| require 'bundler' | |
| require 'set' | |
| def node_for name | |
| "n#{MurmurHash3::V32.str_hash(name).to_s(16)}" | |
| end |
| Checks | |
| ====== | |
| plog | |
| ---- | |
| - initialize check class [ERROR]: Exception('init_config:\n\ninstances:\n\t- port: 23456\n',) |
| From [email protected]:airbnb/plog branch master | |
| - Create a config file with: | |
| $ echo 'plog.server.udp.listeners=[{handlers=[{provider="com.airbnb.plog.stress.EaterProvider"}]}]' > plog-server/src/main/resources/application.conf | |
| - Fire up the server with './gradlew run' | |
| - Package with './gradlew shadowJar' | |
| - Run the stresser with: |
| Exception in thread "main" javax.xml.ws.WebServiceException: Unknown class type javax.xml.transform.dom.DOMSource | |
| at com.sun.xml.internal.ws.api.pipe.Stubs.createDispatch(Stubs.java:274) | |
| at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:504) | |
| at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:531) | |
| at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:510) | |
| at com.sun.xml.internal.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:478) | |
| at javax.xml.ws.Service.createDispatch(Service.java:352) |
Compile with
grep -vE '#|>' x11.md | xxd -p -r > x11.png
Result visible here
8950 4e47 0d0a 1a0a
| #!/usr/bin/env ruby | |
| require 'json' | |
| text = STDIN.read | |
| data = {} | |
| extract = text.split("\n\n").collect do |block| | |
| lines = block.split("\n") |
| HASH_CHUNK_SIZE = 65536 | |
| UINT64_MAX = 2**64 - 1 | |
| require 'xmlrpc/client' | |
| require 'time' | |
| require 'pp' | |
| def withOST | |
| server = XMLRPC::Client.new_from_uri 'http://api.opensubtitles.org/xml-rpc' | |
| login = server.call 'LogIn', '', '', 'en', 'OS Test User Agent' |
| Install fsnotifier for IntelliJ IDEA on your ARM laptop. | |
| Works better than one might expect with JDK8. | |
| Usage: | |
| $ sh fsnotifierto.sh /opt/idea/bin/ | |
| ... | |
| Sorry for the truncate insanity. |
| #!/bin/sh | |
| TMP_INDEX="`mktemp .git/tmp_index.XXXXXX`" | |
| trap "rm -f \"$TMP_INDEX\"" EXIT | |
| rm -f "$TMP_INDEX" | |
| GIT_INDEX_FILE="$TMP_INDEX" git add --all | |
| TREE_ID=`GIT_INDEX_FILE="$TMP_INDEX" git write-tree` | |
| COMMIT_ID=`echo "snapshot"|git commit-tree $TREE_ID` | |
| echo $COMMIT_ID |