Skip to content

Instantly share code, notes, and snippets.

View ankurloriya's full-sized avatar
🎯
Focusing

Ankur Loriya ankurloriya

🎯
Focusing
View GitHub Profile
@ankurloriya
ankurloriya / setup.sh
Created October 5, 2021 06:03 — forked from Gazler/setup.sh
sysctl -w fs.file-max=12000500
sysctl -w fs.nr_open=20000500
ulimit -n 4000000
sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000'
sysctl -w net.ipv4.tcp_rmem='1024 4096 16384'
sysctl -w net.ipv4.tcp_wmem='1024 4096 16384'
sysctl -w net.core.rmem_max=16384
sysctl -w net.core.wmem_max=16384
wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
@ankurloriya
ankurloriya / vsc_js_snippets.json
Created April 20, 2020 13:55 — forked from bradtraversy/vsc_js_snippets.json
VSCode JavaScript Snippets
{
"Console Log": {
"prefix": "cl",
"body": "console.log($1);",
"description": "Console Log"
},
"Named Function": {
"prefix": "nfn",
"body": ["function ${1:functionName}($2) {", " $3", "}"],
"description": "Named Function"
@ankurloriya
ankurloriya / pet-snippet.toml
Last active September 18, 2020 08:09
description
[[snippets]]
description = "Ping Google DNS"
command = "ping 8.8.8.8"
tag = ["network", "tool", "ping", "test", "dns", "google"]
output = ""
[[snippets]]
description = "Ping"
command = "ping <ip>"
tag = ["network", "tool", "ping", "test"]
@ankurloriya
ankurloriya / AtomKeyboardShortcut.md
Created December 20, 2017 10:11
Atom Editor Keyboard Shortcut.

Atom Editor Keyboard Shortcut.

@ankurloriya
ankurloriya / atom-cheat-sheet.md
Last active December 8, 2017 10:14 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key