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
go*.linux-armv6l.tar.gz |
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
property test_block_text : " | |
this and | |
that and | |
asdf | |
" | |
on process_text(block_text) | |
-- AppleScript and Quicksilver are using code "e2 80 a8" as linebreak for some reason | |
-- inspect by piping to `hexdump -C` and viewing with `echo -e` | |
set perl to "/usr/bin/perl -0777 -pe 's#(^[[:space:]\\xe2\\x80\\xa8]*)|([[:space:]\\xe2\\x80\\xa8])*$##g' <<<" |
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
#!/bin/bash | |
###################################################### | |
# sd_shrink.sh | |
# Usage: sudo bash sd_shrink.sh /dev/DEVICE FILENAME | |
# Backs up and shrinks DEVICE to FILENAME_YYYYmmdd.img | |
###################################################### | |
set -euf -o pipefail |
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
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
set show-all-if-ambiguous on | |
set completion-ignore-case on | |
$include /etc/inputrc |
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
# /etc/systemd/system/crashplan.service | |
[Unit] | |
Description=CrashPlan | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=forking | |
PIDFile=/usr/local/crashplan/CrashPlanEngine.pid | |
EnvironmentFile=/usr/local/crashplan/bin/run.conf |
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
#!/bin/bash | |
############# | |
# n8henrie's Raspberry Pi CrashPlan installer script | |
# v0.1.0 :: 20160530 | |
############# | |
set -e | |
CP_VERSION="4.8.0" |
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
""" | |
This sample demonstrates a simple skill built with the Amazon Alexa Skills Kit. | |
The Intent Schema, Custom Slots, and Sample Utterances for this skill, as well | |
as testing instructions are located at http://amzn.to/1LzFrj6 | |
For additional samples, visit the Alexa Skills Kit Getting Started guide at | |
http://amzn.to/1LGWsLG | |
""" | |
from __future__ import print_function |
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
"""dbox_sync.py | |
One-way sync of local directory to Dropbox using Dropbox API V2 and python3. | |
Dependencies: | |
- dropbox (`pip3 install dropbox`) | |
Minimal modifications from: | |
https://github.com/dropbox/dropbox-sdk-python/blob/master/example/updown.py |
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
-- http://n8henrie.com/2016/02/template-for-more-efficient-applescript-folder-actions/ | |
property test_folder : "/path/to/action/folder" | |
property test_file : "/path/to/action/folder/file.txt" | |
on main(this_folder, these_items) | |
tell application "Finder" | |
-- Uncomment below 2 lines to run on *every* file in the folder when this script runs | |
-- set list_of_files to every item in this_folder |
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
.mypy_cache/ |