Skip to content

Instantly share code, notes, and snippets.

@bitst0rm
bitst0rm / delete-github-labels.js
Created September 6, 2024 00:26
Delete Github Labels via console commands
/* Delete GitHub labels
* @ref: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
*
* @see: https://gist.github.com/bitst0rm
* export-github-labels.js
* import-github-labels.js
* delete-github-labels.js
*
* To use:
* 1. Go to the labels page of your repository (e.g., https://github.com/user/repo/labels).
@bitst0rm
bitst0rm / import-github-labels.js
Created September 6, 2024 00:25
Import Github Labels via console commands
/* Import GitHub labels
* @ref: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
*
* @see: https://gist.github.com/bitst0rm
* export-github-labels.js
* import-github-labels.js
* delete-github-labels.js
*
* To use:
* 1. Go to the labels page of your repository (e.g., https://github.com/user/repo/labels).
@bitst0rm
bitst0rm / export-github-labels.js
Created September 6, 2024 00:24
Export Github Labels via console commands
/* Export GitHub Labels
* @ref: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
*
* @see: https://gist.github.com/bitst0rm
* export-github-labels.js
* import-github-labels.js
* delete-github-labels.js
*
* To use:
* 1. Go to the labels page of your repository (e.g., https://github.com/user/repo/labels).
@bitst0rm
bitst0rm / Appscript_Export_Icloud.scpt
Created April 7, 2024 02:31 — forked from Johand-alt/Appscript_Export_Icloud.scpt
Icloud Keychain export (Mac OS big sur)
tell application "TextEdit"
activate
tell application "System Events" to keystroke "name,login_username,login_uri,login_password"
tell application "System Events" to keystroke return
end tell
repeat 1 times
tell application "Keychain Access"
activate
tell application "System Events" to keystroke "i" using command down
delay 0.4
@bitst0rm
bitst0rm / getcrx.sh
Created December 30, 2018 02:35
A bash script to download chrome extension files from Chrome Web Store
#!/usr/bin/env bash
# A bash script to download chrome extension files from Chrome Web Store
# 30.12.2018, https://github.com/bitst0rm
declare -a arr=(
"https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin"
"https://chrome.google.com/webstore/detail/ecleaner-forget-button/ejhlpopncnfaaeicmbdnddebccnkfenn"
"https://chrome.google.com/webstore/detail/enhancer-for-youtube/ponfpcnoihfmfllpaingbgckeeldkhle"
"https://chrome.google.com/webstore/detail/exif-viewer/nafpfdcmppffipmhcpkbplhkoiekndck"
"https://chrome.google.com/webstore/detail/gismeteo/bfegaehidkkcfaikpaijcdahnpikhobf"
@bitst0rm
bitst0rm / gitproxy.sh
Created October 30, 2016 04:43
GitHub with SOCKS5 Tor Browser
#!/usr/bin/sh
# To use SOCKS5 Tor Browser with GitHub
# ~/.gitconfig
git config --global http.proxy 'socks5://127.0.0.1:9150'
git config --global https.proxy 'socks5://127.0.0.1:9150'
@bitst0rm
bitst0rm / hostlist.sh
Created May 3, 2015 23:03
Simple script to generate host list for https://github.com/Owyn/HandyImage
#!/usr/bin/sh
# Script to generate host list and check for dead hosts
echo "Generating supported host list..."
sed -n 's/.*case "\(.*\)":.*/\1/p' HandyImage.user.js | sort | uniq > supported-host-list.txt
read -p "Do you want to check broken hosts? (y/n)" RESP
if [ "$RESP" = "y" ]; then
echo "Checking broken hosts..."
while read URL; do