This is a SCRIPT-8 cassette.
This file contains 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
#!/usr/bin/bash | |
set -e | |
cd /volume1/photo/ | |
echo "scanning the photo dir - computing hashes" | |
# Scan the photo dir. | |
# | |
# My collection is on a Synology NAS so it has an @eaDir that holds |
This file contains 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 | |
echo "App Release Automator by @rodydavis" | |
action="$1" | |
red=`tput setaf 1` | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
if [ ${action} = "build" ]; then |
This file contains 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
// Package main is a sample macOS-app-bundling program to demonstrate how to | |
// automate the process described in this tutorial: | |
// | |
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
// | |
// Bundling the .app is the first thing it does, and creating the DMG is the | |
// second. Making the DMG is optional, and is only done if you provide | |
// the template DMG file, which you have to create beforehand. | |
// | |
// Example use: |
I hereby claim:
- I am avioli on github.
- I am avioli (https://keybase.io/avioli) on keybase.
- I have a public key whose fingerprint is 66B9 D77D AEEC 2C22 03DE AEB5 B82A FAFD 513A C881
To claim this, I am signing this object:
Check your $PATH
if you have /usr/local/bin
and if not add the following
line to the very beginning of your ~/.bash_profile
file (it is a hidden file).
export PATH="/usr/local/bin:$PATH"
# or if you want to be explicit where your SHELL will look for binaries:
# export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
This file contains 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
/** | |
* A Fetch controller (plus Vue support) | |
* | |
* Copyright 2018 Ionata Digital | |
* | |
* Author: Evo Stamatov <evo@ionata.com.au> | |
* License: BSD 2-clause | |
*/ | |
import uuidV4 from 'uuid/v4' |
This file contains 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
export class UnfetchAbortController { | |
constructor() { | |
this.signal = {onabort: () => {}} | |
this.abort = () => this.signal.onabort() | |
} | |
} | |
// modified version of https://github.com/developit/unfetch | |
// - ponyfill intead of polyfill | |
// - add support for AbortController |
This file contains 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
#!/usr/bin/env python | |
"""Download conversations, customers, and attachments from a Help Scout mailbox | |
Written by Jonathan Kamens (jik@kamens.us). | |
Released into the public domain. | |
Email me patches if you have enhancements you'd like me to incorporate. Don't | |
bother emailing me bug reports or suggestions; this script does exactly what I |