These determine the assumed/default size of instruction operands, and restricts which opcodes are available, and how they are used.
Modern operating systems, booted inside Real mode,
| (load-option '*parser) | |
| (define (json-vector-list v) | |
| (vector (vector->list v))) | |
| (define json-object-pair | |
| (*parser | |
| (transform | |
| (lambda (v) | |
| (vector (cons (string->symbol (vector-ref v 0)) (vector-ref v 1)))) |
| Open FileMerge from command line | |
| opendiff | |
| If the command-line doesn't work, and you have no /Developer directory anymore, you probably need to: | |
| sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer |
FileMerge (opendiff) can really come in handy when you need to visually compare merging conflicts. Other times it's just a nice visual way to review your days work.
The following method works by creating a simple bash script (git-diff-cmd.sh) that sets us up with the proper command line arguments for Git to pass off files to FileMerge.
| #!/usr/bin/env python | |
| # Ported to Python from http://www.vim.org/scripts/script.php?script_id=1349 | |
| print "Color indexes should be drawn in bold text of the same color." | |
| colored = [0] + [0x5f + 40 * n for n in range(0, 5)] | |
| colored_palette = [ | |
| "%02x/%02x/%02x" % (r, g, b) | |
| for r in colored |
| [Unit] | |
| Description=supervisord - Supervisor process control system for UNIX | |
| Documentation=http://supervisord.org | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| ExecStart=/usr/bin/supervisord -c /etc/supervisord.conf | |
| ExecReload=/usr/bin/supervisorctl reload | |
| ExecStop=/usr/bin/supervisorctl shutdown |
| use32 | |
| UMB_START = 0x00100000 | |
| org UMB_START | |
| MB_MAGIC = 1BADB002h | |
| MB_F_BOOTALIGNED = 1 | |
| MB_F_MEMINFO = (1 shl 1) | |
| MB_F_VIDEOTABLE = (1 shl 2) | |
| MB_F_USE_MBOFFSETS = (1 shl 16) | |
| MB_FLAGS = MB_F_BOOTALIGNED or MB_F_MEMINFO or \ |
| # Our simple example of a Turnstile state machine. | |
| class Turnstile | |
| def initialize | |
| @state = "Locked" | |
| end | |
| def push! | |
| @state = "Locked" if unlocked? | |
| end |
This is a case for the Bus Pirate v3.6 from Dangerous Prototypes as listed on Thingiverse to be printed on a 3D printer.
In order to compile this file to an STL you'll need OpenSCAD and also the file oshw.scad which you can find here on Thingiverse.