Skip to content

Instantly share code, notes, and snippets.

View ILW8's full-sized avatar

Dao Heng Liu ILW8

  • London, UK
  • 09:15 (UTC +01:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ilw8 on github.
  • I am dao_storj (https://keybase.io/dao_storj) on keybase.
  • I have a public key ASDxgZreHWX2OiEIJ5eg_7Z094mAusfW5CY6QAEXv1EqLgo

To claim this, I am signing this object:

from collections import defaultdict
from tabulate import tabulate
import os
TGT_DIR = r"/Users/daohe/.local/share/weechat/logs/"
TGT_PREFIX = r"irc.bancho.#mp_"
FILTER_TERMS = {"@BanchoBot", "BanchoBot", "-->", "<--"}
def main():
import concurrent.futures
import requests
import os
MANIFEST = r"""
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#ID3-EQUIV-TDTG:2024-12-01T13:55:41
diff --git a/osu.Game.Tournament/TournamentGameBase.cs b/osu.Game.Tournament/TournamentGameBase.cs
index eecd097a97..c09b9f87c6 100644
--- a/osu.Game.Tournament/TournamentGameBase.cs
+++ b/osu.Game.Tournament/TournamentGameBase.cs
@@ -29,6 +29,11 @@ namespace osu.Game.Tournament
[Cached(typeof(TournamentGameBase))]
public partial class TournamentGameBase : OsuGameBase
{
+ public TournamentGameBase()
+ : base(true)
@ILW8
ILW8 / remux_mp4.py
Created May 24, 2023 10:12
takes arbitrary number of arguments and remux to mp4
import argparse
import os
import warnings
import subprocess
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('files', action='store', type=str, nargs='+')
args = parser.parse_args()
+---------+-------------------------------+------------+--------------------------------------------------------------------------------------+
| user_id | name | Proj_Count | Subprojects |
+---------+-------------------------------+------------+--------------------------------------------------------------------------------------+
| 1178 | Scott Brown | 17 | 27,321,DIV,GCW,GFN15,GFN16,GFN17,GFN17-Mega,GFN18,GFN19,MEG,PPS,PPSE,SGS,SR5,TPS,TRP |
| 66603 | tng | 15 | DIV,ESP,GCW,GFN15,GFN16,GFN17,GFN17-Mega,GFN18,GFN19,GFN20,MEG,PPS,PPSE,SGS,SR5 |
| 2663 | DeleteNull | 14 | DIV,GFN15,GFN16,GFN17,GFN17-Mega,GFN18,GFN19,MEG,PPS,PPSE,SGS,SR5,TPS,TRP |
| 277353 | zunewantan | 12 | 27,DIV,GCW,GFN15,GFN16,GFN17,GFN17-Mega,MEG,PPS,PPSE,SGS,SR5 |
| 58815 | 288l
@ILW8
ILW8 / build_genefer22_macos_applesilicon.sh
Created October 21, 2022 00:14
Save file in _empty_ directory and run
#!/bin/zsh
# check for xcode command line tools
if ! (xcode-select --install 2>&1 | grep installed) > /dev/null
then
echo "xcode command line tools not installed, please install it and re-run this script"
fi
# check for homebrew
command -v brew >/dev/null 2>&1 || { echo >&2 "Required tool \`brew\` not installed, please visit https://brew.sh for installation instructions. (Aborting)"; exit 1; }