Skip to content

Instantly share code, notes, and snippets.

View alexdeathway's full-sized avatar
🗯️
Project Ongoing

Sarvesh Yadav alexdeathway

🗯️
Project Ongoing
View GitHub Profile
docker rm -f $(docker ps -a -q)
docker volume rm $(docker volume ls -q)
#for all data and images
docker system prune -a
pip freeze > uninstall.txt
while read -r line; do pip uninstall -y "$line"; done < unintsall.txt
@alexdeathway
alexdeathway / gist:aa5222e095a3ee232c615c2a9b237e1b
Created October 26, 2022 05:30
This snippet addition to settings.json will activate Tailwind CSS tooling for VS Code
"tailwindCSS.emmetCompletions": true,
"editor.inlineSuggest.enabled": true,
"editor.quickSuggestions": {
"strings": true
},
"css.validate": false,
@alexdeathway
alexdeathway / gitignore_per_git_branch.md
Created November 17, 2021 09:02 — forked from wizioo/gitignore_per_git_branch.md
HowTo have specific .gitignore for each git branch

How to have specific .gitignore for each git branch

Objective

My objective is to have some production files ignored on specific branches. Git doesn't allow to do it.

Solution

My solution is to make a general .gitignore file and add .gitignore.branch_name files for the branches I want to add specific file exclusion. I'll use post-checkout hook to copy those .gitignore.branch_name in place of .git/info/exclude each time I go to the branch with git checkout branch_name.

{
"workbench.iconTheme": "material-icon-theme",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"workbench.colorTheme": "Cobalt2",
"editor.fontFamily": "'Ubuntu Mono','Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontSize": 17,
"editor.fontLigatures": true,
"scm.inputFontSize": 17,