This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install eslint --save-dev --global | |
npm install eslint_d --save-dev --global | |
install flycheck in emacs | |
install js2-mode in emacs | |
install eslintd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function recurse(o ){ | |
let keys=[]; | |
debugger | |
if(typeof(o)=="number"){ | |
keys.push('(number)'); | |
} else if (typeof(o)=="string"){ | |
try{ | |
JSON.parse(o); | |
keys.push('(jsonstring)'); | |
} catch(e){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i Good.Newwz.2019.Hindi.720p.HDRip.x264.mkv -acodec aac -filter_complex "channelmap=map=FL-FL|FR-FR|FC-FC|LFE-LFE|SL-BL|SR-BR:channel_layout=5.1" -vcodec copy new_Goodnews.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo aws autoscaling describe-auto-scaling-groups --region=ap-south-1 --query 'AutoScalingGroups[] | [?contains(Tags[?Key==`Techteam`].Value, `mall-cart`)]' | jq '.[] | "\(.AutoScalingGroupName),\(.TerminationPolicies[])"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -XGET 'https://fs.blog/post-sitemap1.xml' | sed -e 's/xmlns=".*"//g' |xmllint --xpath '/*[local-name()="urlset"]/*[local-name()="url"]/*[local-name()="loc"]/text()' - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { BrowserWindow,app } = require('electron') | |
const fs = require('fs') | |
app.on('ready', function (){ | |
let win = new BrowserWindow({ width: 800, height: 600 ,show:false}) | |
win.loadURL('https://fs.blog/2014/04/the-heart-of-humanity/') | |
win.webContents.on('did-finish-load', () => { | |
// Use default printing options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=DATEVALUE(LEFT(B3,10))+TIMEVALUE(MID(B3,12,8)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./mitmproxy --ssl-insecure --mode reverse:https://url_you_want_to_ultimately_hit:443 -p 1234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vault | |
docker run -p 8200:8200 -it --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' -e 'VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200' vault |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.vpnbook.com/freevpn | |
download certificate bundle ,many dont connect or run, you will have to try many | |
eg. download https://www.vpnbook.com/free-openvpn-account/VPNBook.com-OpenVPN-US1.zip | |
unzip to a folder | |
go to that folder | |
try running | |
sudo openvpn --config vpnbook-us1-udp53.ovpn | |
if above file does not run then try with other files provided in zip | |
when asked for user name - vpnbook | |
when asked for password - B2c4V4c |