Skip to content

Instantly share code, notes, and snippets.

View shionryuu's full-sized avatar
😪
I may be slow to respond.

shionryuu

😪
I may be slow to respond.
View GitHub Profile
@shionryuu
shionryuu / inotify-instructions.md
Last active February 25, 2021 15:27 — forked from tbjgolden/inotify-instructions.md
[Arch Linux] [Manjaro] How to avoid "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)

To avoid this error, we need to increase the inotify watcher limit.

The way to do this is different on Arch based distributions than other Linux distributions.

Instructions for Arch Linux/Manjaro

Check for an already existing inotify config file (recent versions of Manjaro include one)

@shionryuu
shionryuu / tcp_flags.txt
Created August 21, 2016 03:11 — forked from tuxfight3r/tcp_flags.txt
tcpdump - reading tcp flags
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)
@shionryuu
shionryuu / xrandr.sh
Last active June 10, 2017 18:36 — forked from debloper/xrandr.sh
Add system unrecognized but monitor supported resolution in X
#!/bin/bash
usage() {
echo "usage:"
echo " $0 HResolution VResolution [RefreshRate] [Display]"
}
[[ -z $1 || -z $2 ]] && {
usage
exit 1
# Makefile for a go project
#
# Author: Jon Eisen
# site: joneisen.me
#
# Targets:
# all: Builds the code
# build: Builds the code
# fmt: Formats the source files
# clean: cleans the code