NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
- Download and install iTerm2 (it has better color fidelity than the built in Terminal).
// Google Forms Slack Notification | |
// Andy Chase <github.com/andychase> | |
// License: CC0 1.0 Universal <creativecommons.org/publicdomain/zero/1.0> | |
// Install 1: This code goes in ( tools > script editor... ) of your google docs form | |
// Install 2: ( resources > current project triggers ) ( [onSubmit], [from Form], [On form submit] ) | |
// Setup 1: Put your slack api url below | |
var POST_URL = "https://hooks.slack.com/services/"; | |
function onSubmit(e) { |
NOTE: this gist is outdated, refer to this repository instead - https://github.com/ghaiklor/iterm-fish-fisher-osx
# Upload new product images to S3 and deliver via Cloudfront | |
Spree.config do |config| | |
attachment_config = { | |
s3_credentials: { | |
access_key_id: ENV.fetch("S3_ACCESS_KEY"), | |
secret_access_key: ENV.fetch("S3_SECRET"), | |
bucket: ENV.fetch("S3_BUCKET"), | |
}, |
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
#!/bin/bash | |
echo | |
echo "Homebridge install script for Hassbian" | |
echo | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run with sudo. Use \"sudo ${0} ${*}\"" 1>&2 | |
exit 1 | |
fi |