If you get error:
run npm command gives error "/usr/bin/env: node: No such file or directory
in file watcher
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 |
############################### | |
##### SNORT rule creator ###### | |
# http://snorpy.cyb3rs3c.net/ # | |
############################### | |
# Test configuration file | |
sudo snort -T -i enp0s3 -c /etc/snort/snort.conf | |
# ping alert #01 |
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/^#//" | |
@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 |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
const gulp = require('gulp'); | |
const plumber = require('gulp-plumber'); | |
const notify = require('gulp-notify'); | |
const sass = require('gulp-sass'); | |
const pug = require('gulp-pug'); | |
const rename = require('gulp-rename'); | |
const auto_prefixer = require('gulp-autoprefixer'); | |
const browser_sync = require('browser-sync').create(); | |
const _slugify = str => { | |
str = str.toLowerCase(); | |
str = str.replace(/[^a-z0-9 -]/g, '') // remove invalid chars | |
.trim() // remove starting or ending whitespace before replacing whitespace | |
.replace(/\s+/g, '-') // collapse whitespace and replace by - | |
.replace(/-+/g, '-'); // collapse dashes | |
return str; | |
} |
#!/bin/bash | |
#-------------------------------------------- | |
#---- Developer: Debashis Roy Bhowmik ------- | |
#---- Email: debashis.buet08@gmail.com ------ | |
#----------- Website: debashis.me ----------- | |
#-- Github: https://github.com/wall-e-08/ --- | |
#-------------------------------------------- | |
set -e # Exit immediately if a command exits with a non-zero status. |
# sed -e '5ij\n\n\nfjfjfjf' -i file.txt ## insert text at 5th line in file.txt file | |
# wget -pkr www.website.com/ => to download website | |
# copy to clipboard by piping: xclip -sel clip | |
copyfromfile(){ | |
cat $1 | xclip -sel clip | |
} | |
alias apt='sudo apt' |