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
# Code by Martmists#1003 | |
# `status` is one value of the enum: disco.types.user.Status (see https://github.com/b1naryth1ef/disco/blob/master/disco/types/user.py#L63-L69) | |
# Types: | |
# 0 = normal | |
# 1 = streaming | |
# 2 = listening | |
# 3 = watching |
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 Google Unlocked Tampermonkey | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @include *://www.google.com/* | |
// @include *://www.google.ad/* | |
// @include *://www.google.ae/* | |
// @include *://www.google.com.af/* | |
// @include *://www.google.com.ag/* | |
// @include *://www.google.com.ai/* |
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/sh | |
set -eux | |
BRANCH=canary | |
ICONDIR="${XDG_DATA_HOME:=$HOME/.local/share}/icons" | |
APPDIR="$XDG_DATA_HOME/applications" | |
DISCORDDIR="$HOME/.local/opt/discord-$BRANCH" | |
mkdir -p "$ICONDIR" "$APPDIR" "$DISCORDDIR" |
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
# the unicode shenanigans pack for XCompose, by Twilight (synthetic.garden) | |
# for when you need obfuscation | |
# Please use these wisely, using them for everything everywhere is dumb and causes accessibility issues. | |
# If that for some reason isn't a good enough reason for you: using these excessively will cause them to lose their power. | |
# Don't be a dumbass. | |
# breakers | |
# used to break up text when lookalikes can't be used |
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
CHECK OUT THIS GUY HE'S IN THE GIST | |
⣠⣦⣤⣀ | |
⠀⠀⠀⠀⢡⣤⣿⣿ | |
⠀⠀⠀⠀⠠⠜⢾⡟ | |
⠀⠀⠀⠀⠀⠹⠿⠃⠄ | |
⠀⠀⠈⠀⠉⠉⠑⠀⠀⠠⢈⣆ | |
⠀⠀⣄⠀⠀⠀⠀⠀⢶⣷⠃⢵ | |
⠐⠰⣷⠀⠀⠀⠀⢀⢟⣽⣆⠀⢃ | |
⠰⣾⣶⣤⡼⢳⣦⣤⣴⣾⣿⣿⠞ | |
⠀⠈⠉⠉⠛⠛⠉⠉⠉⠙⠁ |
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
# Interactive File Management Utilities by hibi | |
# | |
# This source file will let you select individual files and copy and move them | |
# around much like a graphical file manager would. Intended to be used with | |
# `source` in your bashrc. | |
# | |
# Usage: | |
# Fsel name1 [name2 [...]] - selects files and folders | |
# Funsel [name1 [name2 [...]]] - unselects files and folders, or all | |
# Fcp [destination] - copies the files here or to destination |
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
According to all known laws | |
of aviation, | |
there is no way a bee | |
should be able to fly. | |
Its wings are too small to get | |
its fat little body off the ground. |
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
function randomUUID() { | |
return randhex(8) + "-" + randhex(4) + "-4" + randhex(3) + "-" + choice(["8", "9", "a", "b"]) + randhex(3) + "-" + randhex(12); | |
} | |
let scratchTarr = new Uint32Array(1); | |
function choice(arr) { | |
crypto.getRandomValues(scratchTarr); | |
return arr[Math.floor(scratchTarr[0]%arr.length)] | |
} | |
function randhex(count) { | |
crypto.getRandomValues(scratchTarr); |
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
# You should be using open-vm-tools instead of vmware tools, because package manager. | |
# Also I hate third parties that write out of /opt and /usr/local. | |
# open-vm-tools-desktop is badly packaged though, here are the missing links: | |
sudo apt-get install open-vm-tools open-vm-tools-desktop | |
# Reboot, and resize works, but no DnD nor clipboard | |
sudo mkdir /var/run/vmblock-fuse | |
sudo su -l -c "vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse" | |
# Now we have /run/vmblock-fuse populated. | |
# Adding an upstart rule in /etc/init is left as an exercise to the reader. |
OlderNewer