Skip to content

Instantly share code, notes, and snippets.

View scottrigby's full-sized avatar
🤓

Scott Rigby scottrigby

🤓
View GitHub Profile
@jonsamp
jonsamp / dark-slack.sh
Created January 26, 2019 04:08
Script to see the dark side of slack
#!/bin/bash
sudo bash -c 'cat << 'EOF' >> /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js
document.addEventListener("DOMContentLoaded", function() {
$.ajax({
url: "https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css",
success: function(css) {
let overrides = \`
code { background-color: #535353; color: #85c5ff; } /* Change color: to whatever font color you want */
.c-mrkdwn__pre, .c-mrkdwn__quote { background: #535353 !important; background-color: #535353 !important; }
\`
@tegioz
tegioz / helm-import.go
Last active August 19, 2020 19:25
Script to import repositories in Helm Hub not present in Artifact Hub
package main
import (
"context"
"flag"
"fmt"
"io/ioutil"
"net/http"
"strings"
@carolynvs
carolynvs / .gitconfig
Last active October 19, 2022 14:44
git wip - Show what branches you have been working on lately
[alias]
wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads