Skip to content

Instantly share code, notes, and snippets.

View briancain's full-sized avatar
🌀

Brian Cain briancain

🌀
View GitHub Profile
@alisdair
alisdair / intensify.sh
Created May 21, 2019 23:44
intensifies Slack emoji creator
#!/bin/bash
# Generate a `:something-intensifies:` Slack emoji, given a reasonable image
# input. I recommend grabbing an emoji from https://emojipedia.org/
set -euo pipefail
# Number of frames of shaking
count=10
# Max pixels to move while shaking
@briancain
briancain / woot.md
Last active August 29, 2015 14:00
GithubGist bug?

Is this going to break GithubGist??

  • yes
  • no
  • maybe
@jeffweiss
jeffweiss / gist:6057646
Last active December 20, 2015 02:39
Recently updated gems that don't specify a license
require 'gems'
require 'pp'
pp Gems.latest.map {|g| g["name"]}.
sort.
map {|n| {n => Gems.versions(n) } }.
reject {|elem| elem.has_value? "This rubygem could not be found."}.
map {|elem| {elem.keys.first => elem.values.first.all? {|h| h["licenses"].empty?}}}.
reject {|h| h.has_value? false}
@Sharpie
Sharpie / Vagrantfile
Last active September 22, 2022 01:16
A simple Vagrantfile for spinning up a master-agent pair.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This configuration requires Vagrant 1.5 or newer and two plugins:
#
# vagrant plugin install vagrant-hosts ~> 2.1.4
# vagrant plugin install vagrant-auto_network ~> 1.0.0
#
# After installation, the following steps will spin up a master and agent that
# can communicate with each other:
@michaelbartnett
michaelbartnett / LICENSE.txt
Last active October 17, 2022 10:29
Tuple implementation for use with Unity3d
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit