I hereby claim:
- I am moonhouse on github.
- I am moonhouse (https://keybase.io/moonhouse) on keybase.
- I have a public key whose fingerprint is 382B EC05 847B ADC8 D860 DDFE 65F9 8045 285A 7A5F
To claim this, I am signing this object:
files = Dir.glob('exports/*.xml') | |
files.each do |file| | |
puts file | |
no_of_items = 0 | |
item_size = 0 | |
File.open(file, "r").each_line do |line| | |
if line.include? '<item>' | |
no_of_items += 1 | |
item_size = line.size | |
elsif line.include? '</item>' |
file_name = ARGV[0] | |
item_no = ARGV[1].to_i | |
no_of_items = 0 | |
correct_line = false | |
in_item = false | |
File.open(file_name, "r").each_line do |line| | |
if line.include? '<item>' | |
in_item = true | |
no_of_items += 1 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>OpenStreetMap - Björn Stenberg</title> | |
<script src="http://popcornjs.org/code/dist/popcorn-complete.min.js" type="text/javascript"> | |
</script> | |
<script src="popcorn.slideshare.js" type="text/javascript"> | |
</script> |
var searchId = function (objId) { | |
coll = db.getCollectionNames(); | |
coll.forEach(function(collName) { | |
obj = db[collName].findOne({'_id': ObjectId(objId)}); | |
if (obj !== null) { | |
print(collName + " " + objId); | |
} | |
}); | |
}; |
I hereby claim:
To claim this, I am signing this object:
➜ ~ brew tap watsonbox/cmu-sphinx | |
==> Tapping watsonbox/cmu-sphinx | |
Cloning into '/usr/local/Library/Taps/watsonbox/homebrew-cmu-sphinx'... | |
remote: Counting objects: 41, done. | |
remote: Total 41 (delta 0), reused 0 (delta 0), pack-reused 41 | |
Unpacking objects: 100% (41/41), done. | |
Checking connectivity... done. | |
Warning: Could not create link for watsonbox/cmu-sphinx/cmu-pocketsphinx, as it | |
conflicts with Homebrew/homebrew/cmu-pocketsphinx. You will need to use the | |
fully-qualified name when referring this formula, e.g. |
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by SphinxTrain configure 5prealpha, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure | |
## --------- ## | |
## Platform. ## |
# Wait for the TV-screen to be turned on... | |
while ! $( tvservice --dumpedid /tmp/edid | fgrep -qv 'Nothing written!' ); do | |
bHadToWaitForScreen=true; | |
printf "===> Screen is not connected, off or in an unknown mode, waiting for it to become available...\n" | |
sleep 10; | |
done; | |
printf "===> Screen is on, extracting preferred mode...\n" | |
_DEPTH=32; | |
eval $( edidparser /tmp/edid | fgrep 'preferred mode' | tail -1 | sed -Ene 's/^.+(DMT|CEA) \(([0-9]+)\) ([0-9]+)x([0-9]+)[pi]? @.+/_GROUP=\1;_MODE=\2;_XRES=\3;_YRES=\4;/p' ); |
if [ -f /boot/xinitrc ]; then | |
ln -fs /boot/xinitrc /home/pi/.xinitrc; | |
su - pi -c 'startx' & | |
fi |