Skip to content

Instantly share code, notes, and snippets.

Mostly harmless

Phil Cryer philcryer

Mostly harmless
View GitHub Profile

#7albums80s poll

Details and rules

Richard Shaw @RichardS7370

Hi All, just a quick tweet in regards to #7albums80s poll.It’s brilliant seeing so much interest and I’m loving seeing the enthusiasm and variety of suggestions. Here’s the poll rules for anyone new to this:-

  1. I’ll send a tweet on Friday at 7pm (UK) to start the poll.
  2. Please tweet your final 7 picks back to that one so I can pick up your votes (I don’t want people’s picks to be missed)
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