Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| 'use strict'; | |
| const DBus = require('dbus'); | |
| const co = require('co'); | |
| let bus = DBus.getBus('system'); | |
| let mm = bus.getInterface.bind(bus, 'org.freedesktop.ModemManager1'); | |
| co(function*(){ | |
| let messaging = yield new Promise((res, rej)=>{ | |
| mm('/org/freedesktop/ModemManager1', 'org.freedesktop.DBus.ObjectManager', (err, manager)=>{ | |
| if(err){ rej(err); return } |
| #!/bin/bash | |
| # Configs | |
| VSYSTEM=qemu # Either 'qemu' or 'kvm' | |
| INCLUDES='less,vim,sudo,openssh-server,acpid' | |
| MIRROR="http://ftp.br.debian.org/debian" | |
| ARCH=686 | |
| clean_debian() { | |
| [ "$MNT_DIR" != "" ] && chroot $MNT_DIR umount /proc/ /sys/ /dev/ /boot/ |