mkdocs
This commit is contained in:
parent
ef38b901df
commit
62ff561ef3
43
2026-01-23.md
Normal file
43
2026-01-23.md
Normal file
@ -0,0 +1,43 @@
|
||||
[Vendredi 23 Janvier 2026]
|
||||
|
||||
1. [Commande du jour]
|
||||
sqlite> alter table ordinateur add column cpu TEXT DEFAUTL 'Generic CPU';
|
||||
sqlite> d
|
||||
...> ^C
|
||||
...> xit
|
||||
...> exit
|
||||
...> quit
|
||||
...> d
|
||||
...> ^C
|
||||
#Utiliser ; pour revenir au shell sqlite
|
||||
|
||||
PRAGMA (supercommande)
|
||||
|
||||
2. [L'attaque des SQL]
|
||||
PRAGMA foreign_keys = ON;
|
||||
sinon les tables ne peuvent pas se référencer entre-elles
|
||||
|
||||
sqlite> CREATE TABLE EMPLOYEE (
|
||||
(x1...> id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
(x1...> username TEXT NOT NULL,
|
||||
(x1...> pc INTEGER,
|
||||
(x1...> FOREIGN KEY (pc) REFERENCES ORDINATEUR(Id));
|
||||
|
||||
QSL mysql (nom moderne mariadb)
|
||||
pgsql postgres sql
|
||||
MONGODB
|
||||
|
||||
3. [La revanche de mkdocs]
|
||||
wordpress portfolio (CMS sur l'edt excel)
|
||||
dans dev notes
|
||||
python -3 venv venv
|
||||
source venv/bin/activate
|
||||
|
||||
1. Créer env virt
|
||||
2. entrer dans l'env virtuel
|
||||
3. maj pip
|
||||
4. installer librairies/modules
|
||||
5. pip freeze > requirements.txt
|
||||
6. echo notesvenv > .gitignore
|
||||
7. git add README.md .gitignore requirements.txt
|
||||
8. git commit -m "setup python dev env" && git push
|
||||
Loading…
x
Reference in New Issue
Block a user