Skip to content

Instantly share code, notes, and snippets.

View pronitdas's full-sized avatar
🎯
Focusing

Pronit Das pronitdas

🎯
Focusing
View GitHub Profile
@pronitdas
pronitdas / .bash_aliases
Last active March 1, 2018 18:36 — forked from oblique63/.bash_aliases
Bash Aliases for Ubuntu
#----{ Aliases for Ubuntu: }--------------------------------------------------
# Admin
alias update="sudo apt-get update ; sudo apt-get -ZWry safe-upgrade && sudo apt-get -ZWry --purge-unused clean"
alias sources="sudo nano /etc/apt/sources.list"
alias install="sudo apt-get -ZWry install"
alias uninstall="sudo apt-get -ZWry remove"
alias pkgsearch="apt-get search"
alias installed="dpkg --get-selections | grep"
alias add-repo="sudo add-apt-repository"
alias app="apropos"
@pronitdas
pronitdas / a_mongodb_to_s3_backup.sh
Created May 10, 2018 09:37 — forked from lazarofl/a_mongodb_to_s3_backup.sh
MongoDB Automatic Backup to Amazon S3 with Crontab and s3cmd. Red Hat Linux on Amazon EC2
#!/bin/bash
#Force file syncronization and lock writes
mongo admin --eval "printjson(db.fsyncLock())"
MONGODUMP_PATH="/usr/bin/mongodump"
MONGO_HOST="prod.example.com"
MONGO_PORT="27017"
MONGO_DATABASE="dbname"
sudo apt-get remove docker docker-engine docker.io
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
@pronitdas
pronitdas / keybase.md
Created September 26, 2019 19:03
keybase.md

Keybase proof

I hereby claim:

  • I am pronitdas on github.
  • I am pronitdas (https://keybase.io/pronitdas) on keybase.
  • I have a public key whose fingerprint is A9DB ED05 D076 A871 B6EF 005C 38BC 1CBE D9B3 59F2

To claim this, I am signing this object:

https://image.farmshots.com/imagery/tile/5/12/8?asset_id=S2B_MSIL1C_20190805T060639_N0208_R134_T42SUE_20190805T085720&exprs=%5B%22(b4-b3)%2F(b4%2Bb3)%22%5D&lossless=false&max_map=1&min_map=-1&palette=%5B%7B%22color%22%3A%22%2300cdff%22%2C%22end%22%3A0%2C%22start%22%3A-1%7D%2C%7B%22color%22%3A%22%23ff0e00%22%2C%22end%22%3A0.01%2C%22start%22%3A0%7D%2C%7B%22color%22%3A%22%23ff1b00%22%2C%22end%22%3A0.04%2C%22start%22%3A0.01%7D%2C%7B%22color%22%3A%22%23ff2900%22%2C%22end%22%3A0.07%2C%22start%22%3A0.04%7D%2C%7B%22color%22%3A%22%23ff3300%22%2C%22end%22%3A0.1%2C%22start%22%3A0.07%7D%2C%7B%22color%22%3A%22%23ff4500%22%2C%22end%22%3A0.13%2C%22start%22%3A0.1%7D%2C%7B%22color%22%3A%22%23ff5300%22%2C%22end%22%3A0.16%2C%22start%22%3A0.13%7D%2C%7B%22color%22%3A%22%23ff6100%22%2C%22end%22%3A0.19%2C%22start%22%3A0.16%7D%2C%7B%22color%22%3A%22%23ff7000%22%2C%22end%22%3A0.22%2C%22start%22%3A0.19%7D%2C%7B%22color%22%3A%22%23ff7e00%22%2C%22end%22%3A0.25%2C%22start%22%3A0.22%7D%2C%7B%22color%22%3A%22%23ff8d00%22%2C%22end%22%3A0.28
@pronitdas
pronitdas / modern-geospatial-python.md
Created February 5, 2020 15:41 — forked from jqtrde/modern-geospatial-python.md
Modern remote sensing image processing with Python
{
"editor.tabSize": 2,
"editor.fontSize": 15,
"terminal.integrated.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace",
"editor.fontFamily": "Dank Mono, Monaco, 'Courier New', monospace",
"editor.lineHeight": 26,
"editor.fontLigatures": true,
"explorer.decorations.badges": false,
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
// This file was initially generated by Windows Terminal 1.1.2233.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
@pronitdas
pronitdas / The Technical Interview Cheat Sheet.md
Created April 9, 2021 08:52 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\