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
```sh | |
# ~/.local/share/0ad/replays/0.27.0/delete-small-replay-folders.sh | |
#!/bin/bash | |
# Set the size threshold in bytes (50KB = 50 * 1024 bytes) | |
SIZE_THRESHOLD=$((50 * 1024)) | |
# Function to check if a directory is smaller than the threshold |
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
#EXTM3U | |
#EXTINF:-1,BBC - Radio 1 | |
http://as-hls-ww-live.akamaized.net/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1Xtra | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1Dance | |
http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_one_dance/bbc_radio_one_dance.isml/bbc_radio_one_dance-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 1 Anthems (UK Only) | |
http://as-hls-uk-live.akamaized.net/pool_904/live/uk/bbc_radio_one_anthems/bbc_radio_one_anthems.isml/bbc_radio_one_anthems-audio%3d96000.norewind.m3u8 | |
#EXTINF:-1,BBC - Radio 2 |
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 speaks what you send from your mode. | |
# howToUseIt: | |
from pathlib import Path | |
home = str(Path.home()) | |
#userCfgPath = home + "/.config/0ad/config/user.cfg" # if github installation or so | |
userCfgPath = home + "/snap/0ad/current/.config/0ad/config/user.cfg" # if snap installation | |
# install: |
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
# its for 0ad helpers only 22-1112_2304-06 | |
# i use it as autoKey-script script | |
ac = window.get_active_class() | |
if "Pidgin.Pidgin" == ac: | |
c = clipboard.get_clipboard() | |
# c = "aa bb cc" # test string | |
keyboard.send_keys("!mute 1 day -r profanity<home><ctrl>+<right> ") # paste and move to playerName Position | |
keyboard.send_keys(c.split(" ", 1)[0]) # paste only the first word |
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
UserRatingBackup = "1075" | |
adaptivefps.menu = "43.59925842285156" | |
adaptivefps.session = "24.601099014282227" | |
autociv.data.mute = "%7B%7D" | |
autociv.data.playerReminder = "%7B%22jews%22%3A%22Warning%3AleftAlwaysInSeconds%22%2C%22ELBOTIJA%22%3A%22Warning%3AleftAlwaysInSeconds%22%2C%22._%22%3A%22Warning%3AleftAlwaysInSeconds%22%2C%22todolomeo%22%3A%22Warning%3AleftAlwaysInSeconds%22%2C%22yasa.baris%22%3A%22Warning%3AleftAlwaysInSeconds%22%2C%22Higgs%22%3A%22Warning%3AleftAlwaysInSeconds%22%7D" | |
autociv.data.playersBox = "%7B%22selected_column%22%3A%22rating%22%2C%22selected_column_order%22%3A-1%7D" | |
autociv.gamesetup.countdown.enabled = "false" | |
autociv.gamesetup.countdown.time = "5" | |
autociv.lobby.chat.subject.hide = "true" | |
autociv.lobby.gamelist.showHostName = "true" |
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
Carpe diem. Seize the day, boys. |
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
UserRatingBackup = "1076" | |
adaptivefps.menu = "43.59925842285156" | |
adaptivefps.session = "24.601099014282227" | |
autociv.data.mute = "%7B%7D" | |
autociv.data.playersBox = "%7B%22selected_column%22%3A%22rating%22%2C%22selected_column_order%22%3A-1%7D" | |
autociv.gamesetup.countdown.enabled = "false" | |
autociv.gamesetup.countdown.time = "5" | |
autociv.lobby.chat.subject.hide = "true" | |
autociv.lobby.gamelist.showHostName = "true" | |
autociv.mainmenu.suggestDefaultChanges = "false" |
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
That'll do, pig. That'll do. |
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
autociv.data.mute = "%7B%7D" | |
autociv.data.playerReminder = "%7B%7D" | |
autociv.data.stanza = "%7B%7D" | |
autociv.gamesetup.countdown.enabled = "false" | |
autociv.gamesetup.countdown.time = "5" | |
autociv.lobby.chat.subject.hide = "true" | |
autociv.lobby.gamelist.showHostName = "false" | |
autociv.resizebar.enabled = "true" | |
autociv.session.APM.chart.enabled = "false" | |
autociv.session.APM.enabled = "false" |
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 must be root to use keyboard the following: | |
# sudo apt install python3-pip | |
# pip3 install keyboard | |
# sudo autokey | |
##################################################### | |
##################################################### | |
# Disable Ubuntu Shortcuts: | |
# Super+L (global shortcuts: use it for audio and then delete it) |
NewerOlder