Skip to content

Instantly share code, notes, and snippets.

View shakeyourbunny's full-sized avatar

shakeyourbunny

View GitHub Profile
@shakeyourbunny
shakeyourbunny / building_and_compiling_lgogdownloader_on_CentOS_7.txt
Last active December 15, 2018 09:37
Building and compiling lgogdownloader on CentOS 7
Running and Compiling lgogdownloader on CentOS 7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Requirements:
- CentOS 7 (at least bare-bones, minimal install), download it at https://www.centos.org/download/
- working internet connection
- access to the lgogdownloader git repository
- access to the CentOS, EPEL and City-Fan.org repositories
- you have some basic linux knowledge what the commands generally do, otherwise look them up before executing them
@shakeyourbunny
shakeyourbunny / gist:303b000168edc2705262ce40381034a3
Created August 24, 2019 10:14
python progressbar in text mode
# progress bar with autosizing in text mode, works in the standard Windows command line interface too
# based on https://stackoverflow.com/a/34325723
# alternative solution to https://gist.github.com/greenstick/b23e475d2bfdc3a82e34eaa1f6781ee4 without
# doing an subprocess (why even..?)
#
# modifications:
# - autosizing to console with, also works with Windows command line.
# - percent display has been made optional
#
@shakeyourbunny
shakeyourbunny / pydesteamifier.py
Created November 8, 2020 09:41
RimWorld MOD DeSteamifier
#!/usr/bin/env python3
# desteamifys mod numbers
#
import os, sys
import xml.etree.ElementTree as et
def sanitize(filename):
clean = filename
dontwant = [ "?", "*", "<", ">", "\\", "|"]
for d in dontwant:
@shakeyourbunny
shakeyourbunny / gist:56bc70415c2fbfe85de12cd6cd3cd0ac
Created October 26, 2021 09:32
Playnite IsThereAnyDeal Wishlist plugin crash 2021-10-26
26-10 11:06:54.238|ERROR|IsThereAnyDeal#Common:Error in GetCurrentPrice(garrysmod,wolfenstein,uninitialized,beijingii00viiiofficialvideogameofolympicgames,prisontycooniiilockdown,huntingunlimitedii00viii,mahjongginvestigationsundersuspicion,hotdish,huntingunlimitedii0i0,heroesofmightmagicvhammersoffate,hinterland,mosbysconfederacy,crazymachinesiv,spectromancer,knightsofhonor,prisontycoonivsupermax,tradewindscaravansplusodysseypack,westwardcollection,ninjablade,chocolatierdecadencebydesign,cookingdash,dinerdashhometownhero,emeraldcityconfidential,dinertowntycoon,dinertowndetectiveagency,thenightshiftcode,nightshiftlegacyjaguarseye,fitnessdash,valerieporterandthescarletscandal,geminilost,jewelquestpack,mahjongquestcollection,coconutqueen,buildalot,buildalotiitownofyear,buildalotiiipassporttoeurope,buildalotivpowersource,farmfrenzy,farmfrenzyii,farmfrenzypizzaparty,farmfrenzyiii,farmfrenzyiiiamericanpie,cradleofrome,cradleofpersia,romanceofrome,sacrifice,gratuitousspacebattlestribe,gratuitousspacebattlesorder,gr
@shakeyourbunny
shakeyourbunny / gist:48716963e2eca4adebb129b8995f2c39
Created August 6, 2022 13:54
clean up scoop bucket repo json files
#!/usr/bin/env python3
#
# see also https://github.com/anderlli0053/DEV-tools/issues/10
#
# use
# pip3 install json_minify for the python module
#
# on line 26, set the correct path for the bucket directory.
import json
@shakeyourbunny
shakeyourbunny / mk_overflow_links_verbose.cmd
Created June 29, 2024 20:07
linkify multiple game drives to one unified one