This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo true # hopefully sudo is happy | |
sudo apt-get update -qy | |
sudo apt-get upgrade -qy | |
sudo apt-get install -qy git python3-pip libglib2.0-dev libhidapi-hidraw0 libhidapi-libusb0 libdbus-1-dev | |
sudo pip3 install hid aioconsole crc8 dbus-python | |
mkdir -p ~/joycontrol | |
git clone https://github.com/mart1nro/joycontrol ~/joycontrol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name OWouais | |
// @version 1 | |
// @description Bring the necessary Desktop Notification to Outlook Web App. | |
// @author SD | |
// @match https://outlook.office.com/owa/* | |
// @exclude */manifests/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Init | |
WORDLIST=/usr/share/dict/words | |
WORDLIST_N=${1:-1500} | |
FILE=/dev/shm/f | |
COUNTER=0 | |
FOUND="" | |
# Min 5 chars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
# $1 = pageid (obtained in URL) | |
# JIRA_USERNAME & JIRA_PASSWORD must be set | |
# Needs jq and curl to be installed | |
# Fill this (Confluence workspace name): | |
PROJECT_NAME=xxx | |
IFS=$'\n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS and Arch Linux | |
# https://github.com/Angristan/OpenVPN-install | |
if [[ "$EUID" -ne 0 ]]; then | |
echo "Sorry, you need to run this as root" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEVICE="$1" | |
SCAN_DELAY=10 | |
trap ctrl_c INT | |
function ctrl_c() { | |
echo "Shutting down..." | |
exit 0 |