View main.rs
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
[package] | |
name = "rsa-decrypt" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
openssl = "0.10.53" |
View Cargo.toml
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
[package] | |
name = "aes-json" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
aes = "0.8.2" | |
cfb-mode = "0.8.2" |
View shuffle.sh
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 | |
# Directories containing the images for both landscape and portrait | |
p_pics="$HOME/Pictures/Wallpapers/portrait" | |
l_pics="$HOME/Pictures/Wallpapers/landscape" | |
# File to store the shuffled images for both landscape and portrait | |
p_pics_shuf="$HOME/.p_pics_shuf" | |
l_pics_shuf="$HOME/.l_pics_shuf" |
View wallpaper.sh
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
feh --bg-fill "$(find /landscape/images/path/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" "$(find /portrait/images/path/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" |
View song-sync.sh
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 | |
# FOR USE WITH THIS APP: | |
# https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&gl=US&pli=1 | |
echo "Syncing music dump to phone!!!" | |
echo "Press enter to continue!" | |
read | |
folder_name=$(date +%d%m%Y) | |
cd /home/rei/ytdl/ && mkdir $folder_name || echo "Folder was made already!!" | |
mv *.mp3 $folder_name | |
read -p "Enter IP address: " ip |
View Cargo.toml
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
[package] | |
name = "ip-up" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
port_check = "0.1.5" |
View t-mine.py
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
# Terraria Button Holder | |
# Written by 641i130 | |
# (DVORAK KEYBOARD LAYOUT) | |
import pynput | |
import time | |
pm = pynput.mouse | |
pk = pynput.keyboard | |
mc = pm.Controller() | |
kc = pk.Controller() |
View fix-gpg-keys.sh
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 | |
# RUN THIS AS ROOT!!! | |
pacman -S archlinux-keyring arcolinux-keyring | |
rm -rf /var/lib/pacman/sync/ | |
rm -rf /etc/pacman.d/gnupg/ | |
pacman -Scc --noconfirm | |
pacman-key --init | |
pacman-key --populate archlinux | |
pacman-key --populate arcolinux | |
pacman-key --refresh-keys |
View wallpaper.sh
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 | |
# Note that /landscape/ contains any image file name png,jpg,jpeg and is a landscape image and vise versa for portrait | |
# This works in order of monitor ID (DP-0 -> DP-2) in that order | |
feh --bg-fill "$(find /landscape/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" "$(find /portrait/ -regextype posix-extended -regex '.*\.(png|jpg|jpeg)$' -print0 |shuf -z -n 1)" |
View ctabus.sh
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 | |
# chmod the script and run like this ./ctabus.sh [bus code] | |
# This gets the times from the raw HTML code sent from the server | |
# Special thanks to chatgpt for fixing the grep statements! | |
curl -s "https://ctabustracker.com/bustime/wireless/html/eta.jsp?route=NULL&direction=NULL&id=$1&showAllBusses=on" | grep -oP '<strong.*>(.*?)</strong>' | grep -vE '<strong.*>#[0-9]{1,3} </strong>' | sed -E 's/.*>([0-9]+).*/\1/;t;s/.*>DUE.*/DUE/' |
NewerOlder