Skip to content

Instantly share code, notes, and snippets.

View Gedweb's full-sized avatar
🕊️

Andrey Gridchin Gedweb

🕊️
View GitHub Profile
@joseluisq
joseluisq / inotify_arch_linux.md
Last active April 10, 2022 12:08
Increasing the amount of inotify watchers in Arch Linux

Increasing the amount of inotify watchers in Arch Linux

If you are running ArchLinux, run the following command instead (see here for why):

echo fs.inotify.max_user_watches=524288 | sudo tee /etc/sysctl.d/40-max-user-watches.conf && sudo sysctl --system

Then paste it in your terminal and press on enter to run it.

@derofim
derofim / Program.cs
Last active April 25, 2023 11:37
Rain World Save Modify Hack Cheat
// (c) Denis Trofimov, derofim, 2017
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
rustup component add rust-src
export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
@6174
6174 / Random-string
Created July 23, 2013 13:36
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active October 31, 2025 20:47
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@menski
menski / .Xresources
Created March 23, 2012 23:59
Xresources for urxvt terminal with tango theme
! Cursor theme
xcursor.theme: Vanilla-DMZ
! URxvt config
URxvt*termName: rxvt-16color
URxvt.scrollBar: off
URxvt.font: xft:monaco:size=10:antialias=true
URxvt.internalBorder: 0
URxvt*selectToClipboard: true