Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
WFH

sluxzer

🏠
WFH
View GitHub Profile
View docker-compose.yml
version: '2.3'
services:
worker:
image: myoung34/github-runner:latest
environment:
ORG_NAME: octolab
RUNNER_NAME: do-runner
RUNNER_TOKEN: someGithubTokenHere
RUNNER_WORKDIR: /home/github/runner/work
@sluxzer
sluxzer / deletewr.sh
Created Jun 11, 2021 — forked from prasetyowira/deletewr.sh
gh auth login --with-token < token.txt && sudo ./deletewr.sh org/repo
View deletewr.sh
#!/usr/bin/env bash
# Delete workflow runs - dwr
# Given an "owner/repo" name, such as "qmacro/thinking-aloud",
# retrieve the workflow runs for that repo and present them in a
# list. Selected runs will be deleted. Uses the GitHub API.
# Requires gh (GitHub CLI) and jq (JSON processor)
@sluxzer
sluxzer / unfollow.js
Created Jun 22, 2018 — forked from JamieMason/unfollow.js
Unfollow everyone on twitter.com
View unfollow.js
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// 1. Go to https://twitter.com/following.
// 2. Keep scrolling to the bottom repeatedly until all your followers are loaded.
// 3. Run this in your console.
[].slice.call(document.querySelectorAll('.unfollow-text')).forEach(function(button) {
button.click();
});
// If your browser is freezing because you follow *loads* of people, then try the version