From http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html#usage
brew install ffmpeg # need at least 2.6
#!/bin/sh
palette="/tmp/palette.png"
#!/bin/bash | |
# Fail this script if any commands fail (-e) or if any uninitialized variables are referenced (-u) | |
set -e -u | |
# Set the following variables based on your environment | |
VMX='/path/to/file.vmx' | |
BACKUP_DIR='/path/to/backup/directory' | |
VMRUN='/Applications/VMware Fusion.app/Contents/Library/vmrun' | |
NUM_BACKUPS_TO_KEEP=3 |
From http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html#usage
brew install ffmpeg # need at least 2.6
#!/bin/sh
palette="/tmp/palette.png"
Notes on settings for an Asus RT-AC3200 router
Good info here: http://routerguide.net http://www.rickygao.com/tuning-the-asus-wireless-router-to-best-performance/ http://www.smallnetbuilder.com/wireless/wireless-howto/32653-asus-rt-ac3200-smart-connect-the-missing-manual
SettingAdd the following to /etc/pf.anchors/myname
:
rdr pass on lo0 inet proto tcp from any to any port 80 -> 127.0.0.1 port 4000
rdr pass on lo0 inet proto tcp from any to any port 443 -> 127.0.0.1 port 4001
Add the following to /etc/pf-myname.conf
:
rdr-anchor "forwarding"
load anchor "forwarding" from "/etc/pf.anchors/myname"
#!/usr/bin/env ruby | |
# Scans the network and sends an email whenever new hosts are detected. Uses MAC address to identify hosts. | |
# Published here: https://gist.github.com/f1sherman/1c6c5e5f31c1fab33bbd1028c15d88e1 | |
EMAIL = 'you@example.com' | |
require 'set' | |
require 'yaml' | |
require 'net/smtp' |