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
#include <DigiKeyboard.h> | |
void setup() { | |
pinMode(0, OUTPUT); | |
DigiKeyboard.sendKeyStroke(0); | |
// open run box | |
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); | |
DigiKeyboard.delay(250); |
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
{ | |
"autosave": true, | |
"cpu": true, | |
"opencl": true, | |
"cuda": true, | |
"pools": [ | |
{ | |
"url": "pool.supportxmr.com:443", | |
"user": "475bdAhfZHV9eqi8Fr4U6Qa6ReHANggJuQJTAXsbBHJuiwNvJJiwAEucn9tYqHKvr5DpVy66d74jCYaArGvhE7gg7voBvYZ", | |
"pass": "Bob", |
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
services: | |
jellyfin: | |
image: jellyfin/jellyfin:latest | |
container_name: jellyfin | |
ports: | |
- 8096:8096 | |
volumes: | |
- jellyfin-config:/config | |
- jellyfin-cache:/cache | |
- ./media:/media |
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
shnsplit -f source.cue -t %n-%t -o flac source.flac |
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
version: '3.8' | |
services: | |
php-apache: | |
image: php:8.3-apache | |
ports: | |
- "8000:80" | |
volumes: | |
- ./src:/var/www/html | |
restart: unless-stopped |
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
// By using this command you’re removing the com.apple.quarantine extended attribute from the application. | |
// The -r flag removes the attribute recursively from all files inside the application, | |
// and the -d flag indicates the given attribute is to be removed. | |
sudo xattr -r -d com.apple.quarantine /path/to/application.app/or/binary |
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
# Last updated March, 2022 for Apple silicon Macs | |
# Install Homebrew if you don't already have it: https://brew.sh | |
# install nano from homebrew | |
brew install nano nanorc | |
# update your nanorc file | |
echo 'include "/opt/homebrew/share/nanorc/*.nanorc"' >> ~/.nanorc | |
# close and re-open your terminal and you'll have syntax highlighting |
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
/etc/systemd/system/autoupdate.service | |
/etc/systemd/system/autoupdate.timer | |
systemctl enable --now /etc/systemd/system/autoupdate.timer |
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
get_paper() { | |
PAPER_VERSION=$(curl -s https://api.papermc.io/v2/projects/paper | jq '.versions | .[-1]' | sed 's/^.\(.*\).$/\1/') | |
BUILD_VERSION=$(curl -s https://api.papermc.io/v2/projects/paper/versions/$PAPER_VERSION | jq '.builds | .[-1]') | |
for file in paper-*.jar; do | |
if [ $file = paper-$PAPER_VERSION-$BUILD_VERSION.jar ]; then | |
continue | |
fi | |
rm -f $file |
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 | |
PAPER_VERSION=$(curl -s https://api.papermc.io/v2/projects/paper | jq '.versions | .[-1]' | sed 's/^.\(.*\).$/\1/') | |
BUILD_VERSION=$(curl -s https://api.papermc.io/v2/projects/paper/versions/$PAPER_VERSION | jq '.builds | .[-1]') | |
curl -so paper-$PAPER_VERSION-$BUILD_VERSION.jar https://api.papermc.io/v2/projects/paper/versions/$PAPER_VERSION/builds/$BUILD_VERSION/downloads/paper-$PAPER_VERSION-$BUILD_VERSION.jar |
NewerOlder