Skip to content

Instantly share code, notes, and snippets.

View iamsarthakjoshi's full-sized avatar

Sar J iamsarthakjoshi

View GitHub Profile
@iamsarthakjoshi
iamsarthakjoshi / typescript-node-clean-arch.md
Created July 9, 2021 05:20
Typescript & Node.js Clean Architecture

Typescript & Node.js Clean Architecture

Project Structure

.
└── src
    ├── app                         → Application services layer
    │   └── usecase                 → Application business rules
 ├── domain → Enterprise core business layer such as domain model objects (Aggregates, Entities, Value Objects) and repository interfaces
@iamsarthakjoshi
iamsarthakjoshi / tabliss.json
Created April 10, 2021 23:31
Chrome's Tabliss Settings
{"backgrounds":[{"active":true,"display":{"blur":0,"luminosity":-0.6},"id":"8b0af48b-41e8-454a-95bd-49e4d0d564be","key":"background/unsplash"}],"widgets":[{"active":true,"display":{"fontSize":40,"position":"middleCentre"},"id":"8ea891f7-5c83-4ea5-b072-b18eb6e3af7f","key":"widget/search"},{"active":true,"display":{"fontSize":14,"position":"topCentre"},"id":"3c61f87c-6166-4f74-9167-7302989b4f5f","key":"widget/time"},{"active":true,"display":{"position":"topCentre"},"id":"3390cd5f-5683-4a50-8433-38de44414bdb","key":"widget/weather"},{"active":true,"display":{"fontSize":10,"position":"bottomCentre"},"id":"222c9632-971d-40d3-a34b-e48c1ed85764","key":"widget/quote"},{"active":true,"display":{"fontSize":12,"position":"middleCentre"},"id":"9a590210-089d-4520-b3ea-5f6d54663e48","key":"widget/links"}],"data":{"222c9632-971d-40d3-a34b-e48c1ed85764":{"category":"developerexcuses"},"3390cd5f-5683-4a50-8433-38de44414bdb":{"latitude":-33.8548157,"longitude":151.2164539,"showDetails":false,"units":"auto"},"3c61f87c-6166-4f74
@iamsarthakjoshi
iamsarthakjoshi / way_to_manage_python_version.md
Created January 27, 2021 22:49
Ways to manage python version and use venv on them.

First way: My personal peference:

pyenv to manage my python version.

pyenv install 3.7.3
pyenv local 3.7.3

Check your python version:

@iamsarthakjoshi
iamsarthakjoshi / Activate Office 2019 for macOS VoL.md
Created January 18, 2021 20:40 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@iamsarthakjoshi
iamsarthakjoshi / get_keywords_freq_chart.py
Last active September 29, 2020 08:57
Count Keywords Frequency and Generate Chart with 'pdftotext' and 'matplotlib'
"""
You need to install poppler for pdftotext (for macOS)
> brew install pkg-config poppler
@JOSHI, Sarthak
PyPi: https://pypi.org/project/pdftotext/
"""
import os
@iamsarthakjoshi
iamsarthakjoshi / count_keywords_frequency.py
Last active September 29, 2020 08:08
Count Keywords and Display Frequency Bar Chart
"""
You need to install poppler for pdftotext (for macOS)
> brew install pkg-config poppler
@JOSHI, Sarthak
PyPi: https://pypi.org/project/pdftotext/
"""
import os
@iamsarthakjoshi
iamsarthakjoshi / curl.md
Created September 6, 2020 01:02 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@iamsarthakjoshi
iamsarthakjoshi / .zshrc
Created September 2, 2020 16:53 — forked from karlhadwen/.zshrc
.zshrc settings
export ZSH="/Users/karl/.oh-my-zsh"
export PATH=${PATH}:/usr/local/mysql/bin/
ZSH_THEME="robbyrussell"
plugins=(
git
osx
zsh-autosuggestions
last-working-dir