Skip to content

Instantly share code, notes, and snippets.

View jxu's full-sized avatar
:shipit:
if it type-checks it ships

jxu

:shipit:
if it type-checks it ships
  • Wit's End
View GitHub Profile
@Francesco149
Francesco149 / osu_on_linux_overhaul.md
Last active March 21, 2025 16:22
Ultimate guide to low-latency osu on linux
@CMCDragonkai
CMCDragonkai / regular_expression_engine_comparison.md
Last active July 8, 2025 17:51
Regular Expression Engine Comparison Chart

Regular Expression Engine Comparison Chart

Many different applications claim to support regular expressions. But what does that even mean?

Well there are lots of different regular expression engines, and they all have different feature sets and different time-space efficiencies.

The information here is just copied from: http://regular-expressions.mobi/refflavors.html

library(dplyr)
library(rvest)
library(network)
library(sna)
library(ggnetwork)
library(wesanderson)
@magnetikonline
magnetikonline / README.md
Last active July 10, 2025 04:51
Bash string manipulation cheatsheet.

Bash string manipulation cheatsheet

Assignment
Assign value to variable if variable is not already set, value is returned.

Combine with a : no-op to discard/ignore return value.
${variable="value"}
: ${variable="value"}
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="[email protected]"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
@atomotic
atomotic / Readme.md
Last active September 9, 2022 09:39
Internet Archive Save Page Now
{
"1": "7642c4c2e24b176ed442153e3097e819bf5ca80e",
"2": "b3d784bbaf1286612ad44308231aa58350da17a6",
"3": "a05cb173c1ba1c6ae30bcf5edbd5d5e19566e764",
"4": "55d264f8671b50b5dbaffa56d1ee719fd429e8f4",
"5": "478ec952d186329f825db4ee7978e31dd42de622",
"6": "e82bd73e8c188d151ed790b5ad5a24fa01533fa0",
"7": "28a9dfb84ef81592f21ed285d7cf09be0b605988",
"8": "e98c13fc9df6a893efa0c57bcfa548be664ab8c8",
"9": "af316e6df5bded14f9b268fcbffe7892eb5f244c",
@endolith
endolith / output.png
Last active February 10, 2025 19:02
Detecting rotation and line spacing of image of page of text using Radon transform
output.png
# From Minecraft Overviewer (https://github.com/overviewer/Minecraft-Overviewer)
# png-it.py script -- modified version which works with mapcrafter maps
"""
Outputs a huge PNG file using the tiles from a overviewer map.
"""
from optparse import OptionParser
from PIL import Image
from os.path import join, split, exists
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 12, 2025 11:54
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname