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
| ssh -L 3399:localhost:3389 -N -f pex@gavn.tk |
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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| // Add custom actions and keybindings to this array. | |
| // To unbind a key combination from your defaults.json, set the command to "unbound". | |
| // To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings | |
| "actions": | |
| [ | |
| // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. | |
| // These two lines additionally bind them to Ctrl+C and Ctrl+V. | |
| // To learn more about selection, visit https://aka.ms/terminal-selection |
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
| var $ = (sel, con) => (con || document).querySelector(sel) | |
| var $$ = (sel, con) => (con || document).querySelectorAll(sel) |
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 useradd pex | |
| sudo mkdir /home/pex | |
| sudo chown pex:pex /home/pex/ | |
| sudo chmod 750 /home/pex/ | |
| sudo chsh -s /bin/bash pex | |
| usermod -aG sudo pex | |
| sudo passwd pex # set password for pex | |
| sudo nano /etc/ssh/sshd_config # set PasswordAuthentication yes | |
| sudo /etc/init.d/ssh force-reload |
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
| { | |
| "editor.mouseWheelZoom": true, | |
| "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
| "editor.minimap.enabled": false, | |
| "git.enabled": true, | |
| "git.enableSmartCommit": true, | |
| "git.autofetch": true, | |
| "workbench.activityBar.visible": true, | |
| "C_Cpp.updateChannel": "Insiders", | |
| "workbench.iconTheme": "material-icon-theme", |
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
| # "$Env:username@$env:computername > " | |
| function prompt {"pex@Asus >"} | |
| cls; | |
| cls; | |
| # Chocolatey profile | |
| $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | |
| if (Test-Path($ChocolateyProfile)) {Import-Module "$ChocolateyProfile"} |
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
| ; (hash) # Windows logo key | |
| ; (exclamation mark) ! ALT | |
| ; (caret) ^ CTRL | |
| ; (plus) + Shift | |
| ::\g0::pexeixv@gmail.com | |
| Return | |
| ::\g1::gav002@chowgules.ac.in |
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
| var url = 'https://spreadsheets.google.com/feeds/cells/1b_bKNp7pQkwF99wg8OhFD9OGf0zyNm9NVoRUu3GenwY/1/public/full?alt=json' | |
| function googleSheetsApi(url, noOfColumns) { | |
| var string = '' | |
| fetch(url) | |
| .then(res => res.json()) | |
| .then(data => { | |
| var { feed } = data | |
| var { entry } = feed | |
| var keysArray = [] |