Skip to content

Instantly share code, notes, and snippets.

View trash-anger's full-sized avatar
👽
Hi !

Florian Frouin trash-anger

👽
Hi !
View GitHub Profile
@trash-anger
trash-anger / main.gs
Created June 20, 2024 14:15
App script google pour formulaire dynamique
function closeFormWithMessage() {
var form = FormApp.openById("1DXYIZ7OP9Q1xk5csFmoAjWceH8VFD5XUrYnz20Kp5AY"); // Replace with your form ID
form.setAcceptingResponses(false);
form.setCustomClosedFormMessage("Le formulaire est fermé car il n'y a aucune place de disponible dans une voiture pour l'instant. Si tu as une voiture, propose ton trajet ici: https://docs.google.com/forms/d/e/1FAIpQLSeelCozp12yrXP0xhF5wfCuDl-nLC8bcejCaOWEk7YNIBGcGw/viewform?usp=sf_link");
}
function openForm() {
var form = FormApp.openById("1DXYIZ7OP9Q1xk5csFmoAjWceH8VFD5XUrYnz20Kp5AY"); // Replace with your form ID
form.setAcceptingResponses(true);
}
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",

The command line, in short…

wget -k -K -E -r -l 10 -p -N -F --restrict-file-names=windows -nH http://website.com/

…and the options explained

  • -k : convert links to relative
  • -K : keep an original versions of files without the conversions made by wget
  • -E : rename html files to .html (if they don’t already have an htm(l) extension)
  • -r : recursive… of course we want to make a recursive copy
  • -l 10 : the maximum level of recursion. if you have a really big website you may need to put a higher number, but 10 levels should be enough.
# ssh -D 8123 -f -C -q -N root@vpn.uyt.re
# /Applications/Chromium.app/Contents/MacOS/Chromium --proxy-server='socks5://127.0.0.1:8123' --host-resolver-rules='MAP * 0.0.0.0 , EXCLUDE localhost'
admin/createactivedirectory
admin/updateactivedirectory
admin/getactivedirectory
admin/deleteactivedirectory
################################################################################
dataset users_config :
{
Verifying my Blockstack ID is secured with the address 1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar https://explorer.blockstack.org/address/1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar
Verifying my Blockstack ID is secured with the address 1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar https://explorer.blockstack.org/address/1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar
Verifying my Blockstack ID is secured with the address 1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar https://explorer.blockstack.org/address/1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar
Verifying my Blockstack ID is secured with the address 1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar https://explorer.blockstack.org/address/1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar
Verifying my Blockstack ID is secured with the address 1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar https://explorer.blockstack.org/address/1Cokz8ZQvky3FWS9sSvDLNBqFKSbeSrxar