Skip to content

Instantly share code, notes, and snippets.

View matthias-ccri's full-sized avatar

Matthias matthias-ccri

  • CCRi
  • Virginia
View GitHub Profile
@nrser
nrser / knit.rb
Created February 28, 2017 18:34
knit.rb - recursively `yarn link` together all `file:<path>` deps in package.json manifests.
#!/usr/bin/env ruby
# recursively `yarn link` together all `file:<path>` deps in package.json
# manifests.
#
# USAGE
#
# knit.rb PACKAGE_DIRECTORY
#
# AUTHOR nrser
@tassoevan
tassoevan / compose-sclk.sh
Created May 21, 2016 01:37
Scroll Lock as Compose Key in Ubuntu 16.04
dconf write /org/gnome/desktop/input-sources/xkb-options "['compose:sclk']"
@bittner
bittner / 60-jetbrains.conf
Created September 25, 2015 07:57
Inotify configuration for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). Create this file with e.g. `sudo vim /etc/sysctl.d/60-jetbrains.conf`
# Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm).
# Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and
# run `sudo service procps start` or reboot.
# Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
#
# More information resources:
# -$ man inotify # manpage
# -$ man sysctl.conf # manpage
# -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use