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) |
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
import java.io.File | |
import java.io.IOException | |
import java.nio.file.Files | |
import java.nio.file.Paths | |
import java.security.KeyStore | |
// TODO: somewhere in future: for json better us this: https://github.com/zogar1993/jsonkraken | |
fun main() { | |
val isDemoMode = 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
I read | |
https://www.linuxbabe.com/linux-server/fix-ssh-locale-environment-variable-error | |
and tried all tipps from there: | |
m@kubuntu-MS-7C37:~$ locale | |
locale: Cannot set LC_CTYPE to default locale: No such file or directory | |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
LANG=en_DE.UTF-8 | |
LANGUAGE=en_GB |
NewerOlder