This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import tmdbsimple | |
| tmdbsimple.API_KEY = "<KEY>" | |
| MOVIES_PATH = "/<PATH>/" | |
| def lookup(title): | |
| title = title.replace("_", " ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Yaesu FT-857D ($824.95 - $40 MIR) - http://www.hamradio.com/detail.cfm?pid=H0-007098 | |
| Samlex SEC-1235M ($129.99) - http://www.universal-radio.com/catalog/hamps/1235.html | |
| LDG AT-100 Pro2 ($199.95) - http://www.universal-radio.com/catalog/hamtune/3213.html | |
| LDG Y-ACC ($9.95) - http://www.universal-radio.com/catalog/hamtune/30663213.html | |
| RIGblaster Plug & Play ($119.95) - http://www.westmountainradio.com/product_info.php?products_id=pnp | |
| CAT Cable ($9.95) - http://www.westmountainradio.com/product_info.php?products_id=catmini_cbl | |
| 2m/70cm Slim Jim ($27.99) - http://www.2wayelectronix.com/Dual-band-2m-70cm-Slim-Jim-Antenna-with-16-rg-58-dual-slim-16.htm | |
| Hustler HF Vertical ($229.95) - http://www.universal-radio.com/catalog/hamants/hushfv.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Equipment | |
| Raspberry Pi - http://amzn.com/B00MV6TAJI | |
| USB Bluetooth Adapter - http://amzn.com/B009ZIILLI | |
| 2x BaoFeng UV5R Radio - http://amzn.com/B007H4VT7A | |
| 2x Nagoya NA-771 Antenna - http://amzn.com/B00KC4PWQQ | |
| 2x Mobilinkd TNC2 - http://store.mobilinkd.com/products/battery-powered-bluetooth-kiss-tnc | |
| 2x Mobilinkd TNC2 Cable - http://store.mobilinkd.com/products/kenwood-wouxun-baofeng-tnc-cable | |
| Documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubnt@Router# show system task-scheduler | |
| task Update_IP { | |
| executable { | |
| path /config/scripts/update_ip.sh | |
| } | |
| interval 5m | |
| } | |
| [edit] | |
| ubnt@Router# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| files = os.listdir(".") | |
| for file in files: | |
| if file != "rename.py": | |
| title = file.split(".", 1)[0] | |
| os.rename(file, "%s.mkv" % title) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@xenserver ~]# mount | |
| /dev/sda1 on / type ext3 (rw) | |
| none on /proc type proc (rw) | |
| none on /sys type sysfs (rw) | |
| none on /dev/pts type devpts (rw) | |
| none on /dev/shm type tmpfs (rw) | |
| /opt/xensource/packages/iso/XenCenter.iso on /var/xen/xc-install type iso9660 (ro,loop=/dev/loop0) | |
| none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) | |
| sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) | |
| /dev/mapper/XSLocalEXT--9680cac6--f743--b1c9--7542--778092c585d1-9680cac6--f743--b1c9--7542--778092c585d1 on /var/run/sr-mount/9680cac6-f743-b1c9-7542-778092c585d1 type ext3 (rw) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget http://ftp.cae.tntech.edu/debian-cd/debian-7.8.0-amd64-CD-1.iso | |
| scp debian-7.8.0-amd64-CD-1.iso root@<dom0>:~ | |
| ### | |
| mount | |
| mkdir /var/run/sr-mount/<UUID>/isos | |
| xe sr-create name-label=ISO type=iso device-config:location=/var/run/sr-mount/<UUID>/isos device-config:legacy_mode=true content-type=iso | |
| mv debian-7.8.0-amd64-CD-1.iso /var/run/sr-mount/<UUID>/isos | |
| xe sr-scan uuid=<UUID> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G2A08 | |
| Which of the following is a recommended way to break into a conversation when using phone? | |
| A. Say “QRZ” several times followed by your call sign | |
| B. Say your call sign during a break between transmissions from the other stations | |
| C. Say “Break. Break. Break.” and wait for a response | |
| D. Say “CQ” followed by the call sign of either station | |
| G2B02 | |
| What is the first thing you should do if you are communicating with another amateur station and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| write(1, "Loading TX: Tx1\n", 16Loading TX: Tx1 | |
| ) = 16 | |
| open("/dev/hidraw0", O_RDWR|O_NOCTTY|O_NONBLOCK) = 6 | |
| ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7ee5cc7c) = -1 EINVAL (Invalid argument) | |
| close(6) = 0 | |
| dup(2) = 6 | |
| fcntl64(6, F_GETFL) = 0x20002 (flags O_RDWR|O_LARGEFILE) | |
| mprotect(0x75e24000, 4096, PROT_READ|PROT_WRITE) = 0 | |
| fstat64(6, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 | |
| mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76f87000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jkearney@irc:~/bin$ cat backup_weechat.sh | |
| #!/bin/bash | |
| DRY_RUN=false | |
| REMOTE_HOST="localhost" | |
| REMOTE_PORT="2222" | |
| REMOTE_USER="root" | |
| REMOTE_PATH="/volume1/Backup/Weechat" | |
| LOCAL_PATH="/home/jkearney/.weechat/*" |