Skip to content

Instantly share code, notes, and snippets.

View caophuoclong's full-sized avatar
😁
I am glad to receive ur message

Leon caophuoclong

😁
I am glad to receive ur message
View GitHub Profile
@Rami-Majdoub
Rami-Majdoub / README.md
Last active September 18, 2025 04:15
remove UNREGISTERED from StarUML
  • export as SVG (File > Export Diagram As > SVG... > Save)
  • open SVG file in web browser
  • open console and run
document.querySelectorAll("text").forEach(e => e.innerHTML = e.innerHTML === "UNREGISTERED"? "":e.innerHTML)
  • take screenshot
@adrianratnapala
adrianratnapala / automon.sh
Created October 28, 2011 20:56
Automatic multi-monitor config via xrandr.
#!/bin/sh
# automon.sh -- automatically configures multiple monitors.
#
# I use this script on Arch Linux. This handles my personal monitor setup more
# correctly and robustly than either Ubuntu or Windows 7, however it is only
# designed to work on my laptop.
#
# On that laptop it always calls "xrandr" using the exactly the same arguments.
# The --auto option in xrandr is clever enough to do the rest. One day this
# script might become more flexible.