Skip to content

Instantly share code, notes, and snippets.

Mostly harmless

Phil Cryer philcryer

Mostly harmless
Block or report user

Report or block philcryer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
philcryer / mogwai.txt
Last active Apr 9, 2019
My workup of an old MySpace-era music related questionnaire. Thanks Erin!
View mogwai.txt
1. Choose a band/artist that nobody else has chosen yet: MOGWAI
2. Answer ONLY using titles of their songs.
3. Are you male or female: Simon Ferocious
4. Describe yourself: I Am Not Batman
5. How do some people feel about you: Friend of the Night
philcryer /
Last active Mar 31, 2019
Install [Titdalcycles]( (and required components, Supercollider, sc3-plugins, vim-tidal, extra-samples, from source) on Debian Linux-based distros (Debian, Ubuntu, Mint, etc) including options to run the server headless.
#!/usr/bin/env bash
set -e
echo ">>> Starting..."
rm -rf /tmp/sc3-plugins /tmp/supercollider/ tc/ ~/.vim/vim-tidal
if [ ! -d "tc" ]; then
mkdir tc;
cd tc
philcryer / Makefile
Created Jan 23, 2019
Makefile boilerplate example
View Makefile
all: say_hello generate
@echo "Hello World"
@echo "Creating empty text files..."
touch file-{1..10}.txt
philcryer / tower-job
Last active Jan 18, 2019
tower-job: run an Ansible Tower job via the command-line, and get all the output you would from the Tower console.
View tower-job
# tower-job
# Variables
# Directions
philcryer / magic-trump-ball
Created Oct 10, 2018
An idea for a Slackbot to reply to yes/no questions with random trump quotes, in a manner that the original Magic 8-Ball toy did.
View magic-trump-ball
# Magic Trump Ball
An idea for a Slackbot to reply to yes/no questions with random trump quotes, in a manner that the original Magic-8 Ball toy did.
## Answers
### Affirmative (10 in the original)
* “I’d rather not say. But the answer is yes."
* "Yeah, I guess so."
philcryer /
Created Jun 25, 2018
Quickly query a domain's SSL configuration and describe what SSL Ciphers it accepts.
if [ $# -eq 0 ]
echo "No fqdn given to check, try again (ie- $0"
exit 1
for v in ssl2 ssl3 tls1 tls1_1 tls1_2; do
for c in $(openssl ciphers 'ALL:eNULL' | tr ':' ' '); do
philcryer / index.html
Created Jun 15, 2018
A simple, single page html site, with black background and centered text. Made from found objects, public domain license.
View index.html
<!DOCTYPE html>
<!-- Meta and title -->
<meta charset="utf-8">
<title>Your Name</title>
<meta name="author" content="Your Name">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="The description for this page">
<meta property="og:url" content="http://link-to-something-you-want-to-share" />
philcryer / nexus-iq.conf
Last active Jan 19, 2018
An SSL enabled NGINX config to proxy Nexus-IQ
View nexus-iq.conf
# An SSL enabled NGINX config to proxy Nexus-IQ
server {
listen *:80;
server_name nexus-iq-server;
return 301 https://$server_name$request_uri;
server {
philcryer / macOS-dev-bootstrap
Created Oct 12, 2017
An attempt to automate the bootstrapping of a macOS based developer machine.
View macOS-dev-bootstrap
#!/usr/bin/env bash
# bootstrap macOS 10.xx with development tools:
# Xcode commandline-tools
# brew
# brew-cask
# ansible
# vagrant
# virtualbox
# docker
philcryer /
Created Jun 7, 2017
Sample bash script to build an installer with
#!/usr/bin/env bash
# PiVPN: Trivial OpenVPN setup and configuration
# Easiest setup and mangement of OpenVPN on Raspberry Pi
# Heavily adapted from the project and...
# Install with this command (from your Pi):
# curl -L | bash
You can’t perform that action at this time.