Notes:
- Don't forget to bump the version in package.json
- Make extra certain package.json is valid json
- tag (and push --tags) first.
- Don't publish your working checkout, it's probably polluted by temporary/private files.
Workflow:
- update History.md
| body | |
| array(2) { | |
| ["first"]=> | |
| string(3) "one" | |
| ["second"]=> | |
| int(2) | |
| } | |
| text/plain | |
| one | |
| 2 |
Notes:
Workflow:
| try { | |
| this['Module'] = Module; | |
| } catch(e) { | |
| this['Module'] = Module = {}; | |
| } | |
| var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; | |
| var ENVIRONMENT_IS_WEB = typeof window === 'object'; | |
| var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function'; | |
| var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; | |
| if (ENVIRONMENT_IS_NODE) { |
| try { | |
| this['Module'] = Module; | |
| } catch(e) { | |
| this['Module'] = Module = {}; | |
| } | |
| var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; | |
| var ENVIRONMENT_IS_WEB = typeof window === 'object'; | |
| var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function'; | |
| var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; | |
| if (ENVIRONMENT_IS_NODE) { |
The macports couchdb port has problems. The hip thing to do would probably be switching over to homebrew, but I dislike brew for a couple of reasons, which are beyond the scope of this writeup. Also, building from source failed for me with some strange problem in the makefile, that I'll hunt down later.
| couchjs 20449: /opt/local/share/couchdb/server/main.js | |
| Call main | |
| STDIN: ["reset",{"reduce_limit":true,"timeout":50000}] | |
| STDOUT: true | |
| STDIN: ["add_fun","function (doc) {\n\n if (!doc || !doc.versions || !doc[\"dist-tags\"]) return\n if (doc._id.match(/^npm-test-.+$/) &&\n doc.maintainers &&\n doc.maintainers[0].name === 'isaacs')\n return\n var v = doc[\"dist-tags\"].latest\n //Object.keys(doc.versions).forEach(function (v) {\n var d = doc.versions[v]\n if (!d) return\n if (!d.scripts) return\n var inst = d.scripts.install\n || d.scripts.preinstall\n || d.scripts.postinstall\n if (!inst) return\n //emit(d.name + \"@\" + d.version, d.dist.bin || {})\n emit(d._id, d.dist.bin || {})\n //})\n }"] | |
| STDOUT: true | |
| STDIN: ["add_fun","function (doc) {\n if (!doc || !doc._attachments) return\n var orphans = []\n , size = 0\n for (var i in doc._attachments) {\n var n = i.substr(doc._id.length + 1).replace(/ |
Currently we disregard the acknowledgements the drone sends us. The api on the drone is poorly designed, but it exists. The reason we don't use it is that we would have to cross boundaries between control and navdata. Ugly, but no way around it.
Right now, all at-commands are treated equally - they are pushed into an array, and when flush() is called by the interval vom Client.js, a udp packet of all outstanding at-commands is assembled and sent to the drone. But config commands need special handling:
Certain configuration options are only available when using the "multiconfig" option. That is: declare a session, profile and application-id upfront and send it prior to every config command within the same UDP packet (config options custom:application_id, profile_id, session_id)
nc 192.168.1.1 5555 | ./pave2stdout.js | ffmpeg -i - stream.m4v
mp4 is really a terrible choice for streams, because vital information about the video is scattered all over the file. For that reason ffmpeg requires an explicit outputfile (stdout will not work)
| #!/usr/bin/env bash | |
| set -eu | |
| # Base Repository URL | |
| SVN_URL=http://svn-repo-url | |
| # Atlassian Jira URL | |
| JIRA_URL=https://jira-url |
| % dpkg-buildpackage -us -uc | |
| dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security | |
| dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2 | |
| dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security | |
| dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 | |
| dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro | |
| dpkg-buildpackage: source package librabbitmq0 | |
| dpkg-buildpackage: source version 0.2.0-1ubuntu1 | |
| dpkg-buildpackage: source changed by David Gillies <[email protected]> |