Quick reference:
screen /dev/tty.usbmodem1d113 115200 (tty)
ssh [email protected] (ethernet)
ssh [email protected] (usb0)
| --- hw/arm/stellaris.c.orig 2014-04-17 13:44:44.000000000 +0000 | |
| +++ hw/arm/stellaris.c 2014-04-17 13:44:44.000000000 +0000 | |
| @@ -1186,7 +1186,7 @@ | |
| { "LM3S6965EVB", | |
| 0x10010002, | |
| 0x1073402e, | |
| - 0x00ff007f, /* dc0 */ | |
| + 0x0fff007f, /* dc0 */ | |
| 0x001133ff, | |
| 0x030f5317, |
Quick reference:
screen /dev/tty.usbmodem1d113 115200 (tty)
ssh [email protected] (ethernet)
ssh [email protected] (usb0)
brew install open-ocd installs >= 0.8.0.Acquire a configuration script for your Bus Blaster. Included in the firmware repo is tools/tessel-busblaster.cfg.
Plug the JTAG cable into the Bus Blaster's adapter board and the Tessel. Pin one is towards the USB port; the cable goes over the center of the board.
Run
| #!/bin/bash | |
| set -e | |
| cd out/ARM | |
| node -e "console.log('CREATE ' + process.argv[1]); console.log('ADDLIB', 'obj/lib' + process.argv.slice(2).join('.a\nADDLIB obj/lib') + '.a'); console.log('SAVE\nEND')" $@ | |
| node -e "console.log('CREATE ' + process.argv[1]); console.log('ADDLIB', 'obj/lib' + process.argv.slice(2).join('.a\nADDLIB obj/lib') + '.a'); console.log('SAVE\nEND')" $@ | arm-none-eabi-ar -M |
| import os | |
| from os.path import join | |
| """find_tty_usb('067b', '2302') -> '/dev/ttyUSB0'""" | |
| # Note: if searching for a lot of pairs, it would be much faster to search | |
| # for the enitre lot at once instead of going over all the usb devices | |
| # each time. | |
| for dnbase in os.listdir('/sys/bus/usb/devices'): | |
| dn = join('/sys/bus/usb/devices', dnbase) | |
| if not os.path.exists(join(dn, 'idVendor')): |
| cinst python VisualStudio2012WDX |
| for(Iterator<String> it = my2Do; it.hasNext();) { | |
| String elem = it.next(); | |
| if (elem.equals(work2)) { | |
| it.remove(); | |
| } | |
| } |
| #!/usr/bin/env ruby | |
| # checkout the readme from the master branch | |
| `git checkout gh-pages; git checkout master README.md` | |
| path = `pwd`.gsub(/\n/, "") | |
| readme_path = File.join(path, "README.md") | |
| index_path = File.join(path, "index.md") | |
| # write the index readme file |
In your computer / Node.js
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain', 'Content-Length': 'Hello World\n'.length});
res.end('Hello World\n');
}).listen(4444);
console.log('Server running at http://localhost:4444/');| var rem = require('rem'); | |
| var SocksAgent = require('socksified').SocksAgent; | |
| var tor = rem.createClient({ | |
| base: 'http://....onion' | |
| agent: new SocksAgent({ | |
| socks_host: '127.0.0.1', | |
| socks_port: 9050 | |
| }), | |
| key: 'null' |