I hereby claim:
- I am absolucy on github.
- I am absolucy (https://keybase.io/absolucy) on keybase.
- I have a public key ASBfb-sA4FyJi_9fyQ-gzZ3xvh-8mSLlksV4asTNBqyMOQo
To claim this, I am signing this object:
function Remove-Unused-Branches { | |
$refsToDelete = git for-each-ref --format '%(refname:short) %(upstream:track)' | | |
ForEach-Object { | |
$ref, $upstream = $_ -split '\s+' | |
if ($upstream -eq '[gone]') { | |
Write-Output $ref | |
} | |
} |
#!/bin/bash | |
set -e | |
TMP_SUFFIX=".rate-mirrors" | |
MIRROR_FOLDER="/etc/pacman.d/mirrors" | |
PROTOCOLS="https" | |
TIMEOUT_MS="5000" | |
[ -d "${MIRROR_FOLDER}" ] || sudo mkdir -p "${MIRROR_FOLDER}" | |
TMPDIR="$(mktemp --directory --suffix "${TMP_SUFFIX}")" |
import cv2 | |
import numpy as np | |
import subprocess | |
import sys | |
import os | |
# the pixels to check | |
pixel_positions = [(1615, 727), (1705, 728)] # example positions | |
# the minimum color value to check for (in BGR) |
# pip install obs-websocket-py psutil colorlog pystray pillow | |
import json | |
import psutil | |
import os | |
import shutil | |
import threading | |
from colorlog import ColoredFormatter, StreamHandler | |
from logging import INFO, getLogger | |
from obswebsocket import obsws, requests as obsreq | |
from time import sleep, time |
import socket | |
import struct | |
import json | |
import psutil | |
import os | |
import shutil | |
from colorlog import ColoredFormatter, StreamHandler | |
from logging import INFO, getLogger | |
from obswebsocket import obsws, requests as obsreq | |
from time import sleep, time |
I hereby claim:
To claim this, I am signing this object:
Visual Studio 2019 Product Key | |
[Please Star this gist] | |
Follow My Account --> https://github.com/ch-kashif @ch-kashif | |
Lets do a code together | |
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk | |
// ==UserScript== | |
// @name lib_rs_fixer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Fixes lib.rs disrespecting snake_case crate names. | |
// @author aspen <luxx4x@protonmail.com> | |
// @match https://lib.rs/crates/* | |
// @grant none | |
// @require https://code.jquery.com/jquery-3.x-git.slim.min.js | |
// ==/UserScript== |