Skip to content

Instantly share code, notes, and snippets.

View r-darwish's full-sized avatar

Roey Darwish Dror r-darwish

View GitHub Profile
@r-darwish
r-darwish / keybase.md
Created February 26, 2015 09:11
keybase.md

Keybase proof

I hereby claim:

  • I am r-darwish on github.
  • I am darwish (https://keybase.io/darwish) on keybase.
  • I have a public key whose fingerprint is AB6E EEA2 0CD0 ED0C FF20 B8E6 D982 8851 929D 1C60

To claim this, I am signing this object:

animals = [
('תרנגול', 'קו קו! ריקו קו', 'קטן'),
('חתלתול', 'מהאו וואו', 'קטן'),
('כלבלבון', 'המבף המבף', 'קטן'),
('חמור', 'הי הא', 'קטן'),
('דג זהב', '...', 'קטן באקווריום'),
('עורף דורס', 'קרע קרע קרע קרע', 'בז קטן'),
]
for i, (animal, _, description) in enumerate(animals):
@r-darwish
r-darwish / salary.ipynb
Last active February 15, 2017 08:14
Salary
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@r-darwish
r-darwish / arch.el
Created February 17, 2018 13:07
Arch Linux Emacs Langtool
'(langtool-default-language "en")
'(langtool-java-classpath "/usr/share/languagetool:/usr/share/java/languagetool/*")
@r-darwish
r-darwish / boot-notification.service
Created February 23, 2018 10:38
Telegram Boot notificaion
[Unit]
Description=Notify via Telegram that the system finished booting
Requires=network-online.target
After=network-online.target
StartLimitInterval=20
StartLimitBurst=4
[Service]
ExecStart=/usr/bin/curl --data chat_id=xxxxxxx --data-urlencode "text=xxxx Booted" "https://api.telegram.org/botxxxx:xxxxxxxxx/sendMessage"
Restart=on-failure
@r-darwish
r-darwish / 99-hebrew.xml
Created February 25, 2018 20:25
Hebrew Fontconfig
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test name="lang" compare="contains">
<string>he</string>
</test>
<test qual="any" name="family">
<string>sans-serif</string>
</test>
@r-darwish
r-darwish / jupyter.service
Created March 6, 2018 15:23
Jupyterlab as a systemd service
[Unit]
Description=Jupyter Notebook
[Service]
Type=simple
ExecStart=/home/roeyd/Notebook/.env/bin/jupyter lab --port 9090
WorkingDirectory=/home/roeyd/Notebook
[Install]
WantedBy=default.target
@r-darwish
r-darwish / gist:8190e61ec2f8e6a388a3be4db46f858f
Created May 6, 2018 14:13
Visual Studio Code doesn't open links in KDE Plasma on Arch Linux
Do the following:
sudo ln -s /usr/bin/kde-open5 /usr/local/bin/kde-open
@r-darwish
r-darwish / onedark.colorscheme
Created July 15, 2018 18:16
Konsole One Dark
# --- special colors ---
[Background]
Color=30,33,39
[BackgroundIntense]
Color=30,33,39
[Foreground]
Color=171,178,191
@r-darwish
r-darwish / theme.yml
Created December 27, 2018 08:25
Alacritty One Dark Theme
colors:
# Default colors
primary:
background: '0x1e2127'
foreground: '0xabb2bf'
# Bright and dim foreground colors
#
# The dimmed foreground color is calculated automatically if it is not present.