Skip to content

Instantly share code, notes, and snippets.

View Rudo2204's full-sized avatar

Rudo Rudo2204

View GitHub Profile
@Rudo2204
Rudo2204 / debian-zoom-remove-ibus.md
Created November 7, 2023 16:03 — forked from zxchris/debian-zoom-remove-ibus.md
Zoom for Debian - Removing ibus dependency
View debian-zoom-remove-ibus.md

Patching zoom_amd64.deb to remove ibus dependency

Installing ibus on Debian has a tendency to stop the keyboard working, particularly in KDE system dialogue boxes and search feilds. ibus is not really required, so patching the deb to prevent the install from also installing ibus as a required dependecy solves the problem:

S=$(mktemp -d)
dpkg -x zoom_amd64.deb $S
dpkg -e zoom_amd64.deb $S/DEBIAN
sed -i -E 's/(ibus, |, ibus)//' $S/DEBIAN/control 
dpkg -b $S zoom_amd64-no-ibus.deb 
@Rudo2204
Rudo2204 / all_radical_red_trainer_sets_4_00_easy_mode_no_mingrind.txt
Created September 12, 2023 07:34
Pokémon Radical Red 4.00 Trainer Data (Easy Mode)
View all_radical_red_trainer_sets_4_00_easy_mode_no_mingrind.txt
This work is largely based on the v3.02 dump by luckytyphlosion.
He has also helped a great amount pointing me to the right direction to make the necessary changes to update the dump script.
Without his help this dump would take too long and I probably had given up halfway.
Some changes compared to the v3.02 dump:
- Manually fix a bunch of pokemon names to match it to their showdown name.
This means you should be able to import the set to the calulator.
If you see a mon with totally wrong name that's because I messed up.
- Change the max level check algorithm.
@Rudo2204
Rudo2204 / all_radical_red_trainer_sets_4_00_hardcore_mode.txt
Created September 12, 2023 07:30
Pokémon Radical Red 4.00 Trainer Data (Hardcore Mode)
View all_radical_red_trainer_sets_4_00_hardcore_mode.txt
This work is largely based on the v3.02 dump by luckytyphlosion.
He has also helped a great amount pointing me to the right direction to make the necessary changes to update the dump script.
Without his help this dump would take too long and I probably had given up halfway.
Some changes compared to the v3.02 dump:
- Manually fix a bunch of pokemon names to match it to their showdown name.
This means you should be able to import the set to the calulator.
If you see a mon with totally wrong name that's because I messed up.
- Change the max level check algorithm.
@Rudo2204
Rudo2204 / all_radical_red_trainer_sets_4_00_normal_mode_mingrind.txt
Created September 12, 2023 07:27
Pokémon Radical Red 4.00 Trainer Data (Normal Mode, Mingrind)
View all_radical_red_trainer_sets_4_00_normal_mode_mingrind.txt
This work is largely based on the v3.02 dump by luckytyphlosion.
He has also helped a great amount pointing me to the right direction to make the necessary changes to update the dump script.
Without his help this dump would take too long and I probably had given up halfway.
Some changes compared to the v3.02 dump:
- Manually fix a bunch of pokemon names to match it to their showdown name.
This means you should be able to import the set to the calulator.
If you see a mon with totally wrong name that's because I messed up.
- Change the max level check algorithm.
@Rudo2204
Rudo2204 / all_radical_red_trainer_sets_4_00_normal_mode_no_mingrind.txt
Last active September 12, 2023 07:23
Pokémon Radical Red 4.00 Trainer Data (Normal Mode, No Mingrind)
View all_radical_red_trainer_sets_4_00_normal_mode_no_mingrind.txt
This work is largely based on the v3.02 dump by luckytyphlosion.
He has also helped a great amount pointing me to the right direction to make the necessary changes to update the dump script.
Without his help this dump would take too long and I probably had given up halfway.
Some changes compared to the v3.02 dump:
- Manually fix a bunch of pokemon names to match it to their showdown name.
This means you should be able to import the set to the calulator.
If you see a mon with totally wrong name that's because I messed up.
- Change the max level check algorithm.
@Rudo2204
Rudo2204 / add_driver_controller_xbox_nobrand.md
Last active March 7, 2023 07:40
Cài driver linux cho tay cầm XBOX One X tà đạo no brand từ Trung Quốc
View add_driver_controller_xbox_nobrand.md

Link mua hàng:

Ai dùng linux cũng biết là thường khi có thiết bị mới cắm vào máy mà không chạy ngay lần đầu thì tức không có sẵn driver trong kernel và ta phải tự compile driver cho thiết bị đó.

Thường thì khả năng thực hiện việc cài driver ngoài này không thành công là khá cao (vì nếu thiết bị được hỗ trợ thì đã được merge lên upstream rồi).

Tuy nhiên dù gì thì cũng mới nhận hàng vài tiếng trả lại thì tốn thời gian của cả 2 bên quá, nên thử tìm hiểu tí về driver tay cầm trên linux xem sao.

@Rudo2204
Rudo2204 / batch_editor_pkhex_status_condition.txt
Created March 27, 2022 18:09
Batch Editor PKHeX to give pokemon status condition (useful for nuzlocke idk)
View batch_editor_pkhex_status_condition.txt
=OT_Name=Rosa
=Slot=6
.Status_Condition=05
First line will narrow down to the mons of trainer Rosa (for more accurate filter, use TID, which you can get from SAV -> Trainer Info)
=TID=23569 or whatever
Then second line will narrow down to the slot 6 (then click Party on top of the Batch Editor to apply to the slot 6 of the current party)
Then the third line will give it the status
1 = paralysis
@Rudo2204
Rudo2204 / cdemu_mx_linux.md
Created July 4, 2021 08:51
cdemu mx linux
View cdemu_mx_linux.md

NOTE

The cdemu packages from deb multimedia repo is broken, so we will have to use ubuntu PPA for this.

Add ubuntu PPA Ref link

sudo nano /etc/apt/sources.list.d/cdemu.list with content:

# cdemu source
deb http://ppa.launchpad.net/cdemu/ppa/ubuntu/ bionic main  
deb-src http://ppa.launchpad.net/cdemu/ppa/ubuntu/ bionic main
View keybase.md

Keybase proof

I hereby claim:

  • I am Rudo2204 on github.
  • I am rudo2204 (https://keybase.io/rudo2204) on keybase.
  • I have a public key whose fingerprint is 4E50 E916 5AF3 72D5 F8E4 89B8 8F1B 9F11 8267 E3A1

To claim this, I am signing this object:

@Rudo2204
Rudo2204 / moeway_handlebars.md
Last active December 16, 2023 12:57
Selecting specific dictionary's entry from yomichan for making cards.
View moeway_handlebars.md

Download:

https://gist.github.com/Rudo2204/7327a5bd25a60aefee963fd65327a9b7

How to:

  • Add it to your yomichan.
  • It supports 8 dictionaries (the "recommended for first time monolingual users" from the guide).
glossary-jmdict
glossary-jmdict-compact : same as above, it only replaces linebreak with one single space to make it more compact. Could be useful.
glossary-kenkyusha
glossary-kensyusha-ne : ne stands for no-example. This basically removes all the example sentences from the entry.