Egyptian
Sumerian
Canaanite
Akkadian
Eblaite
Elamite
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
# This can get rid of more than a gigabye of files on the root partition | |
# Download: | |
# Pacman: logrotate bleachbit | |
# AUR: cacheclean | |
# Remove all cached old versions of packages | |
sudo pacman -Sc | |
sudo pacman -Scc | |
# Same for yay |
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
base = float(input("What is the base number? ")) | |
double = int(input("How many times do you wish to double it? ")) | |
for i in range(1, double+1): | |
doubled_base = base * 2 | |
if doubled_base.is_integer(): | |
print(f"\n{doubled_base:.0f}\n\t\t(^ Number {i})") | |
else: | |
print(f"\n{doubled_base:.1f}\n\t\t(^ Number {i})") | |
base = doubled_base |
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 | |
echo "Usage: ./videoget <url>" | |
echo "Press 'CTRL-C' to stop." | |
url=$1 | |
yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" "$1" |
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
use std::env; | |
fn main() { | |
let argsv: Vec<String> = env::args().collect(); | |
match argsv.len() { | |
0 | 1 => {}, | |
2 | _ => { | |
let arg = argsv[1].as_str(); |
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 | |
# Install yay on Arch | |
echo "Current username: " | |
read username | |
sudo pacman -S base-devel git | |
cd /opt | |
sudo git clone https://aur.archlinux.org/yay.git | |
sudo chown -R $username:users ./yay |
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
$LanguageList = Get-WinUserLanguageList # Gets language list | |
# $LanguageList # Prints current info | |
# Tutorial: https://4sysops.com/archives/adding-and-removing-keyboard-languages-with-powershell/ | |
# Language codes: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/available-language-packs-for-windows | |
$LanguageList.Add("el-GR") # Greek | |
$LanguageList.Add("ja-JP") # Japanese | |
Set-WinUserLanguageList $LanguageList # Sets language list |
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
@echo off | |
echo "Usage: videoget.bat <url> <name>" | |
echo "Press 'CTRL-C' to stop." | |
set url=%1 | |
set name=%2 | |
youtube-dl --no-part --hls-use-mpegts --abort-on-unavailable-fragment -f best "%url%" -o "%name%.ts" |
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 | |
echo "Usage: ./videoget <url>" | |
echo "Press 'CTRL-C' to stop." | |
endmsg1="If the video ends in .ts, upload to youtube to get it to work." | |
endmsg2="If the video ends in .mp4, end the stream before it stops." | |
url=$1 | |
echo $endmsg1 | |
echo $endmsg2 |
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 | |
echo "Usage: ./videoget <url>" | |
echo "Press 'CTRL-C' to stop." | |
endmsg1="If the video ends in .ts, upload to youtube to get it to work." | |
endmsg2="If the video ends in .mp4, end the stream before it stops." | |
url=$1 | |
echo $endmsg1 | |
echo $endmsg2 |