Skip to content

Instantly share code, notes, and snippets.

Geoff Shannon RadicalZephyr

Block or report user

Report or block RadicalZephyr

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
RadicalZephyr /
Last active Feb 3, 2019
Example syntax for mason-rs
use mason::generate_builder;
pub struct Command {
#[builder(entrypoint, into, required)]
program: String,
args: Vec<String>,
cwd: Option<String>,
RadicalZephyr / docker-compose@.service
Created Oct 10, 2017
Generic systemd service file for running service's with docker-compose
View docker-compose@.service
Description=%i service with docker compose
View slack_emoji_liberator.js
// Download all the custom emoji your slack team have created!
// Start by going to the "Customize Emoji" screen for your Slack team.
// Open up a browser console and run the following JS
var pattern = new RegExp("*?/([^/]+?)/[^/]+(\.png|jpg|gif)");
function link_text (url) {
var match = pattern.exec(url);
if (match) {
RadicalZephyr /
Last active Mar 5, 2019
Copy image files from a folder and rename based on type.
#!/usr/bin/env bash
set -e
if [ $# -lt 1 ]
echo "You must enter the name of a folder."
exit 1
RadicalZephyr / TimelineExtract.js
Created Apr 24, 2014
Extract the checkin links from a Fossil timeline page
View TimelineExtract.js
// ==UserScript==
// @name Fossil Time Log
// @namespace
// @description Generate some time-logs from the fossil timeline page
// @include
// @require
// @require
// @version 1
// @grant none
// ==/UserScript==

Keybase proof

I hereby claim:

  • I am radicalzephyr on github.
  • I am radicalzephyr ( on keybase.
  • I have a public key whose fingerprint is F225 FDC5 C9B0 29F7 EFD0 2DCD 3585 34C6 11F0 56F5

To claim this, I am signing this object:

RadicalZephyr / parsetest.rb
Last active Dec 22, 2015
Show case a macruby bug with regex syntax
View parsetest.rb
puts %r{hello}.match("hello")
brokenreg = %r{
hello #stuff happens
$ # end of line
definition = %r{
^ # begin of line
You can’t perform that action at this time.