I hereby claim:
- I am chrispruitt on github.
- I am chrispruitt (https://keybase.io/chrispruitt) on keybase.
- I have a public key ASBo_a5u69MkO2iWWcFY3WCxbGA79O-aL2wNSJ_RQr1ADwo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # This file is to be run at the root of a git repo. | |
| # It simply symlinks any .sh files in a .githooks/ directory to the .git/hooks directory, | |
| # effectively installing your versioned git hooks. | |
| # create .git/hooks directory if not exists | |
| ( | |
| cd .git || exit 1 | |
| mkdir -p hooks |
I hereby claim:
To claim this, I am signing this object:
| license: mit |
| #!/bin/bash | |
| # Run this file at the root level of your terraform repo to generate your basic atlantis.yaml file | |
| # This file is somewhat specific to my needs so it will probably need some tweaking for your own terraform setup | |
| ATLANTIS_YAML="atlantis.yaml" | |
| TERRAFORM_VERSION="v0.11.11" | |
| WORKSPACES="dev tst stg prd" | |
| touch ${ATLANTIS_YAML} |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
| -- allSettings is a list of records containing {width:? height:? apps:{{name:? pos:? size:?},...} | |
| -- for each display setup store the apps and their associated position and size | |
| property allSettings : {} | |
| -- create a variable for the current settings | |
| set currentSettings to {} | |
| display dialog "Restore or save window settings?" buttons {"Restore", "Save"} default button "Restore" | |
| set dialogResult to result |
#Headless Setup of Raspberry Pi Zero W (Raspberry Pi 3 Wireless) (macOS)
diskutil eraseDisk ExFat temp disk4(Use your disk here)wget https://downloads.raspberrypi.org/raspbian_lite_latestdiskutil unmountDisk /dev/disk4 or whatever your disk path issudo dd if=PATH-TO-RASPBIAN-IMAGE of=/dev/disk4` or whatever your disk path iscd /Volumes && ls. You should see a boot partition from the SD card cd boot && touch sshwpa_supplicant.conf file with your wifi configurations (example is attached)diskutil unmountDisk /dev/disk4 (or whatever your disk path is) and put it in the Pi, then power up the PiThe setup of a bluetooth speaker on a Pi Zero W is pretty touchy.
Please get in touch via Twitter @actuino or http://www.actuino.fr/ if you've got comments or improvements to this quick draft.