Skip to content

Instantly share code, notes, and snippets.

View bitmvr's full-sized avatar

Jesse Riddle bitmvr

View GitHub Profile
@bitmvr
bitmvr / make-banner.sh
Created July 1, 2017 14:45
Banner Creation Function
#!/usr/bin/env bash
function mkBanner() {
for i in $(eval echo {1..$2}); do
printf $1
done
echo ""
}
#!/usr/bin/env bash
# Ensure you install somewhere on your path.
# I prefer creating a symlink to /usr/local/bin/branch_blaster
manifestPath="/tmp/branches-in-master.txt"
branchBlasterLog="/tmp/branch-blaster.log"
initLog() {
touch "${branchBlasterLog}"
@bitmvr
bitmvr / cry-dash.html
Created January 15, 2018 15:39
CryDash - A Basic Cryptocurrency Dashboard
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CryDash - v0.0.1</title>
<meta name="description" content="CryDash v0.0.1">
</head>
@bitmvr
bitmvr / yuge.json
Last active February 5, 2018 17:46
{
"firstName": "Donald",
"lastName": "Trump",
"Age": "71",
"Sex": "Male",
"Employment": {
"Current": "President of the United States of America",
"Previous": "Owner of The Trump Organization"
},
"Children": [
@bitmvr
bitmvr / beast.sh
Created March 7, 2018 19:24
The most satanic shell script ever written.
#!/usr/bin/env bash
# Check for play command
dependency='sox'
if ! command -v $dependency > /dev/null; then
echo "$dependency is not installed on this system. Please install $dependency"
exit
fi
@bitmvr
bitmvr / pride_flag.sh
Last active June 17, 2018 16:53
A simple pride flag written in Bash.
#!/usr/bin/env bash
# Requires terminal capable of 265 color
line=$(printf ' %.0s' {1..50})
paintBucket=( '196' '214' '226' '28' '27' '90' )
echo ""
for paint in "${paintBucket[@]}"; do
swipe=1
@bitmvr
bitmvr / pride_flag_animated.sh
Created June 17, 2018 17:30
Animated Pride Flag written in Bash
#!/usr/bin/env bash
sleepSpeed=0.001
line=$(printf ' %.0s' {1..50})
paintBucket=( '196' '214' '226' '28' '27' '90' )
for paint in "${paintBucket[@]}"; do
swipe=1
length=1
while [ $swipe -le 2 ]; do
@bitmvr
bitmvr / fbMessageDeletr.js
Created June 18, 2018 14:34
Facebook Message Deleter
javascript: (function () {
const log = function (msg) {
const d = new Date();
const n = d.toISOString();
console.log(`${n} - ${msg}`);
};
const clickMenu = function() {
document
@bitmvr
bitmvr / get-github-branchname.js
Last active June 19, 2018 13:11
GitHub Branch Banner
javascript: (function() {
const getBody = function() {
return document.body;
};
const createBannerDiv = function() {
const bannerDiv = document.createElement('div');
bannerDiv.setAttribute('id', 'sfmc-tooling--banner');
return bannerDiv;
@bitmvr
bitmvr / chipr.sh
Created January 3, 2019 13:49
chipr - The lightweight git branch cleaner upper.
#!/usr/bin/env bash
####################################################################################
# Chipr Globals
####################################################################################
GIT_REMOTE="$(git remote)"
####################################################################################
# Chipr Functions