Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Rewzaw

🎯
Focusing
View GitHub Profile
@mh-firouzjah
mh-firouzjah / code-extension.sh
Last active Jun 25, 2021
on a linux `code --list-extensions | xargs -L 1 echo code --install-extension > vscode-extensions.sh` will export the extensions name to a bash file then simply by executing that file the vscode will install these extensions again(on windows `cat extensions.txt |% { code --install-extension $_}` will do the installation). the one below is vscode…
View code-extension.sh
aaron-bond.better-comments
adpyke.codesnap
alefragnani.project-manager
AndersEAndersen.html-class-suggestions
batisteo.vscode-django
bigonesystems.django
bradlc.vscode-tailwindcss
CoenraadS.bracket-pair-colorizer
DavidAnson.vscode-markdownlint
dbaeumer.vscode-eslint
@mh-firouzjah
mh-firouzjah / django multiple formset add or remove
Last active Dec 22, 2020
there's not a good solution for multiple django formset instances, so I had to try mine
View django multiple formset add or remove
Hello everyone
I had tested solution for django dynamic formsets.
make it possible to add or remove formset instances.
# note: it doesn't matter that you're using djangos class based views or functional views
# note: I ignored the froms.py forms as it doesn't have effect on the procedure fo this solution.
imagine we have two models, model_A and model_B as follows:
class model_A(models.Model):
# some fields it has
View Effective_Engineer.md

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?