Skip to content

Instantly share code, notes, and snippets.

Roselle iamironcat

Block or report user

Report or block iamironcat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iamironcat
iamironcat / change.py
Created Jul 30, 2019
some kinda magic
View change.py
import sys
obj_name = sys.argv[2]
with open(sys.argv[1]) as f:
xml_string = f.read()
xml_string = xml_string.replace('change', obj_name)
with open('output-' + sys.argv[1], 'w') as f:
f.write(xml_string)
@iamironcat
iamironcat / ubuntu
Last active Apr 4, 2019
Ubuntu quick keys
View ubuntu
find ~/ -type f -name "file_name"
find / -type d -name "folder_name"
sudo find / -type d -name "folder_name"
rm -r mydir
java -jar Minecraft.jar
gsettings set org.gnome.desktop.interface text-scaling-factor 1.2
You can’t perform that action at this time.