Skip to content

Instantly share code, notes, and snippets.

View ralphtheninja's full-sized avatar
🏠
Working from home

ralphtheninja

🏠
Working from home
View GitHub Profile

Interdisciplinary Open Source Community Conferences

Criteria

  • Must be an event that someone involved in open source would be interested in attending
  • Must be a community oriented event (no corporate owned for-profit events here please)
  • Can't be about a specific language/framework.

Leave suggestions in the comments below

#!/bin/bash
ROW=$(gist -l | head -1 | awk -F / '{print $4}')
HASH=$(echo $ROW | awk '{ print $1}')
FILE=$(echo $ROW | awk '{ print $2}')
gist -u $HASH $FILE
/**
* Simple userland heapdump generator using v8-profiler
* Usage: require('[path_to]/HeapDump').init('datadir')
*
* @module HeapDump
* @type {exports}
*/
var fs = require('fs');
var profiler = require('v8-profiler');

bytespace-batchlog

Write-ahead logging for transactions in a bytespace.

Write operations are given a monotonically increasing id and written to transaction log. Batches are processed asynchronously and added to the store. By default, query methods withheld until batch processing is complete for the commit which was current at the time the query is received.

Batch processing pipeline

The batch processing pipeline exposes extensions points to allow pre-commit hooks to do additional work before committing to the transaction log, and post-commit hooks to do additional work after a transaction. Work can be isolated to specific subspaces, allowing heavyweight analytical processing to proceed without blocking queries in hot-path or transaction-heavy spaces. Analytical work can be delegated to subprocesses or even remote machines. Work on multiple commits can be batched together, and monotonically increasing batch ids can be leveraged to allow reads on possibly stale data to be held, e.g. until the next "

$ npm i leveldown-mobile --verbose
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/iojs',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'i',
npm verb cli 'leveldown-mobile',
npm verb cli '--verbose' ]
npm info using npm@2.11.3
npm info using node@v2.3.1
npm verb install initial load of /home/lms/tmp/package.json

antennas

  • what can you deduce of dBi? how much does it affect performance?
  • seems most antennas have coax cables, how do I connect an antenna to e.g. WNDR4300 or other devices that have built in antennas?
  • how cheap antennas can you use to get by?
  • what type of outdoor antenna is best for building the backbone in a mesh network?
lms@ux301|00:08|~/Downloads $ tar xvfz packs.tar.gz
jxcore_1_ramips_24kec.ipk
libpthread_0.9.33.2-1_ramips_24kec.ipk
librt_0.9.33.2-1_ramips_24kec.ipk
libstdcpp_4.8-linaro-1_ramips_24kec.ipk
lms@ux301|00:08|~/Downloads $ scp *.ipk router:/tmp/packs
jxcore_1_ramips_24kec.ipk 100% 2692KB 2.6MB/s 00:01
libpthread_0.9.33.2-1_ramips_24kec.ipk 100% 31KB 30.9KB/s 00:00
librt_0.9.33.2-1_ramips_24kec.ipk
# find /overlay/ | sed s:/overlay::g | while read file; do opkg search $file; done
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
Package libstdcpp version 4.8-linaro-1 has no valid architecture, ignoring.
@ralphtheninja
ralphtheninja / feeds
Created July 1, 2015 01:09
./scripts/feeds install -a
$ ./scripts/feeds install -a
Installing all packages from feed packages.
Installing package 'acl'
Installing package 'attr'
Installing package 'acpid'
Installing package 'aiccu'
Installing package 'aircrack-ng'
Installing package 'ethtool'
Installing package 'alpine'
Installing package 'libpam'
#!/bin/sh
git rebase --interactive --autosquash \
$(git merge-base $(git symbolic-ref --short HEAD) master)