Skip to content

Instantly share code, notes, and snippets.

View mahmoudhossam's full-sized avatar

Mahmoud Hanafy mahmoudhossam

  • Berlin, Germany
  • 13:15 (UTC +02:00)
View GitHub Profile
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
def roman_numeral_to_int(string):
symbols = {
'I': 1,
'V': 5,
'X': 10,
'L': 50,
'C': 100,
'D': 500,
'M': 1000
}