Add backup files for TestVault and Vault notes
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
- tutorial
|
||||||
|
title: Introduction à Python
|
||||||
|
---
|
||||||
|
# Introduction à Python
|
||||||
|
Python est un langage de programmation moderne.
|
||||||
|
Il supporte la programmation orientée objet et fonctionnelle.
|
||||||
|
La syntaxe de Python est claire et lisible.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
original
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
original
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Add Gitea token to .env
|
||||||
|
cd /c/dev/git/python/ObsiGate
|
||||||
|
if ! grep -q "GITEA_TOKEN" .env; then
|
||||||
|
sed -i '/# Gitea token/d' .env 2>/dev/null
|
||||||
|
sed -i '/^GITEA_TOKEN/d' .env 2>/dev/null
|
||||||
|
echo "" >> .env
|
||||||
|
echo "# Gitea token pour git push (HTTPS)" >> .env
|
||||||
|
echo "GITEA_TOKEN=5848189a1ad9df9284a68b79eb1750f977986c12" >> .env
|
||||||
|
echo "Token ajouté au .env"
|
||||||
|
else
|
||||||
|
echo "Token déjà présent"
|
||||||
|
fi
|
||||||
+2
-2
@@ -13,8 +13,8 @@
|
|||||||
"active": true,
|
"active": true,
|
||||||
"created_at": "2026-03-23T19:38:00.742597+00:00",
|
"created_at": "2026-03-23T19:38:00.742597+00:00",
|
||||||
"last_login": null,
|
"last_login": null,
|
||||||
"failed_attempts": 2,
|
"failed_attempts": 5,
|
||||||
"locked_until": null
|
"locked_until": "2026-06-02T14:01:43.472937+00:00"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# git-use-token.sh — Push to Gitea using token from .env
|
||||||
|
# Usage: ./git-use-token.sh [push args]
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
# Load token from .env
|
||||||
|
if [ -f .env ]; then
|
||||||
|
export $(grep -v '^#' .env | grep GITEA_TOKEN | xargs)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$GITEA_TOKEN" ]; then
|
||||||
|
echo "❌ GITEA_TOKEN not found in .env"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Set remote with token and push
|
||||||
|
git remote set-url origin "https://bruno:${GITEA_TOKEN}@git.dracodev.net/Projets/ObsiGate.git"
|
||||||
|
git push "$@"
|
||||||
|
|
||||||
|
# Restore clean remote URL
|
||||||
|
git remote set-url origin https://git.dracodev.net/Projets/ObsiGate.git
|
||||||
Reference in New Issue
Block a user