Skip to content

Instantly share code, notes, and snippets.

View wall-e-08's full-sized avatar
😠
?

Debashis Roy Bhowmik wall-e-08

😠
?
View GitHub Profile
@wall-e-08
wall-e-08 / solution.md
Created March 5, 2021 12:04 — forked from lgg/solution.md
JetBrains intellij idea + NVM + nodejs + WebStorm

NVM + WebStorm

If you get error:

run npm command gives error "/usr/bin/env: node: No such file or directory

in file watcher

@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDPrivate
:CONFIRM
echo Are you sure to lock this folder? (Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
@wall-e-08
wall-e-08 / vim-cookbook.txt
Last active April 18, 2024 17:22
VIM personal cookbook
to modify lines=>
:<start_line_number>,<end_line_number>s/<regex>/<text>
for example to add comment on start from line 5 to 10: ":5,10s/^/#"
to undo this: ":5,10s/^#//"
@wall-e-08
wall-e-08 / snort-personal-cookbook.sh
Last active April 17, 2024 18:54
SNORT cookbook
###############################
##### SNORT rule creator ######
# http://snorpy.cyb3rs3c.net/ #
###############################
# Test configuration file
sudo snort -T -i enp0s3 -c /etc/snort/snort.conf
# ping alert #01
sv_cheats 1
This command allows cheat codes to be used on the practice server.
sv_infinite_ammo 1
This command gives you limitless ammunition and eliminates the need to reload.
sv_grenade_trajectory_prac_pipreview 1
This command gives you a preview of where the grenade will land.
sv_grenade_trajectory_prac_trailtime 15