Contributions de Administrateur
De www.yakakliker.org
Un utilisateur avec 1 614 modifications. Compte créé le 9 mars 2024.
25 mars 2024
- 12:2025 mars 2024 à 12:20 diff hist +128 Python : Expressions, Declaration & types d'execution Aucun résumé des modifications Balise : Éditeur visuel
- 12:2025 mars 2024 à 12:20 diff hist +986 Python : Expressions, Declaration & types d'execution Aucun résumé des modifications Balise : Éditeur visuel
- 12:1225 mars 2024 à 12:12 diff hist +105 N Python : Expressions, Declaration & types d'execution Page créée avec « == Expressions et déclarations == == Flot de contrôle (control flow) et structures de contrôle == »
22 mars 2024
- 18:2822 mars 2024 à 18:28 diff hist +1 987 N Python : Les opérateurs de comparaison Page créée avec « === L'égalité avec == === L'opérateur == va vérifier l'égalité entre deux valeurs.<syntaxhighlight lang="python3"> print(1 == True) # True print("1" == 1) # False print(0 == False) # True print("" == False) # False print(1 == 1.0) # True </syntaxhighlight><syntaxhighlight lang="python3"> print([1, 2, 3] == [1, 2, 3]) # True print([1, 2, 3] == [4, 5, 6]) # False print({1, 2, 3} == {1, 2, 3}) # True print((1, 2, 3) == (1, 2, 3)) # True print({'a': 1, 'b': 2}... » Balise : Éditeur visuel
- 17:4922 mars 2024 à 17:49 diff hist +558 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:2022 mars 2024 à 17:20 diff hist +143 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:2022 mars 2024 à 17:20 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-19-03.png Aucun résumé des modifications actuelle
- 17:1522 mars 2024 à 17:15 diff hist +247 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:1222 mars 2024 à 17:12 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-12-30.png Aucun résumé des modifications actuelle
- 17:0822 mars 2024 à 17:08 diff hist +111 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:0822 mars 2024 à 17:08 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-08-11.png Aucun résumé des modifications actuelle
- 17:0622 mars 2024 à 17:06 diff hist +110 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:0622 mars 2024 à 17:06 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-05-47.png Aucun résumé des modifications actuelle
- 17:0422 mars 2024 à 17:04 diff hist +115 Python : Operators Aucun résumé des modifications Balise : Éditeur visuel
- 17:0322 mars 2024 à 17:03 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-03-35.png Aucun résumé des modifications actuelle
- 17:0122 mars 2024 à 17:01 diff hist +115 Python : Operators →Liens Balise : Éditeur visuel
- 17:0022 mars 2024 à 17:00 diff hist +287 N Python : Operators Page créée avec « === Opérateurs arithmétiques === sans_cadre|591x591px === Opérateurs d'assignation === sans_cadre|588x588px === Liens === Catégorie:Python Catégorie:Scripts » Balise : Éditeur visuel
- 17:0022 mars 2024 à 17:00 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 16-00-06.png Aucun résumé des modifications actuelle
- 16:5822 mars 2024 à 16:58 diff hist +20 N Fichier:Capture d’écran du 2024-03-22 15-58-01.png Aucun résumé des modifications actuelle
- 16:3122 mars 2024 à 16:31 diff hist +97 Python : Les variables Aucun résumé des modifications Balise : Éditeur visuel
- 16:3022 mars 2024 à 16:30 diff hist +16 N Fichier:Capture d’écran du 2024-03-22 15-29-41.png Aucun résumé des modifications actuelle
- 12:5922 mars 2024 à 12:59 diff hist +422 N Python : Les variables Page créée avec « === Déclarer une variable === <syntaxhighlight lang="python3"> nom_de_la_variable = uneValeur </syntaxhighlight> === Afficher une variable === <syntaxhighlight lang="python3"> variable = 'Bonjour tout le monde' print(variable) </syntaxhighlight> === Liens === https://dyma.fr/developer/list/chapters/core/619556fdd5fe7e09d4aba395/lesson/python/61969e5866ef0d5e68f7f66d/2/2 Catégorie:Python Catégorie:Scripts » Balise : Éditeur visuel
20 mars 2024
- 09:4120 mars 2024 à 09:41 diff hist +309 N Fail2ban : Débannir une adresse IP Page créée avec « <syntaxhighlight lang="bash"> fail2ban-client set jail unbanip ip </syntaxhighlight> * Exemple <syntaxhighlight lang="bash"> fail2ban-client set sshd unbanip 212.227.108.142 </syntaxhighlight> === Liens === https://www.linuxtricks.fr/wiki/fail2ban-bannir-automatiquement-les-intrus Catégorie:Fail2ban » Balise : Éditeur visuel
19 mars 2024
- 17:5819 mars 2024 à 17:58 diff hist +160 N Thinlinc : Interface d'administration Page créée avec « <syntaxhighlight lang="bash"> https://IP:1010 </syntaxhighlight> === Liens === https://www.cendio.com/resources/docs/tag/tlwebadm.html Catégorie:Thinlinc » Balise : Éditeur visuel
- 17:5619 mars 2024 à 17:56 diff hist +488 N Aruba : Création d'un VLAN Taggé sur un port Page créée avec « <syntaxhighlight lang="bash"> Access-1# configure terminal Access-1(config)# interface 1/1/28 Access-1(config-if)# vlan trunk allowed 1,111 Access-1(config-if)# end Access-1# Verification : Access-1# show interface trunk ------------------------------------------------------------------------- Port Native VLAN Trunk VLANs ------------------------------------------------------------------------- 1/1/28 1 1,111 Access-1# </syntaxhighlight> Catégorie:Aruba... » Balise : Éditeur visuel
- 17:5519 mars 2024 à 17:55 diff hist +239 N Aruba : Création d'un VLAN Page créée avec « <syntaxhighlight lang="bash"> Access-1# configure terminal Access-1(config)# vlan 111 Access-1(config-vlan-111)# name EMPLOYEES Access-1(config-vlan-111)# exit Access-1(config)# </syntaxhighlight> Catégorie:Aruba Catégorie:Reseau » Balise : Éditeur visuel
- 17:5419 mars 2024 à 17:54 diff hist +263 N Aruba : Configuration d'un VLAN en Untag sur un port Page créée avec « <syntaxhighlight lang="bash"> Access-1(config)# interface 1/1/1 Access-1(config-if)# vlan access 111 Access-1(config-if)# interface 1/1/13 Access-1(config-if)# vlan access 111 Access-1(config-if)# exit </syntaxhighlight> Catégorie:Aruba Catégorie:Reseau » Balise : Éditeur visuel
- 17:5219 mars 2024 à 17:52 diff hist +263 N Aruba : Configuration LACP Page créée avec « <syntaxhighlight lang="bash"> SwAruba# conf t SwAruba(config)# trunk 1/51,1/52 trk1 lacp SwAruba(config)# interface trk1 SwAruba(eth-Trk1)# tagged vlan 10,20,30 SwAruba(eth-Trk1)# untagged vlan 1 </syntaxhighlight> Catégorie:Aruba Catégorie:Reseau » Balise : Éditeur visuel
- 17:5119 mars 2024 à 17:51 diff hist +125 N Aruba : Configuration de la gateway par défaut Page créée avec « <syntaxhighlight lang="bash"> ip route 0.0.0.0/0 x.x.x.x wr mem </syntaxhighlight> Catégorie:Aruba Catégorie:Reseau » Balise : Éditeur visuel
- 17:3719 mars 2024 à 17:37 diff hist +94 N Zerotier : Dossier de configuration Page créée avec « <syntaxhighlight lang="bash"> /var/lib/zerotier-one </syntaxhighlight> Catégorie:Zerotier » Balise : Éditeur visuel
- 17:3619 mars 2024 à 17:36 diff hist +227 N Zerotier : Redémarrage des services controleur Page créée avec « <syntaxhighlight lang="bash"> sudo systemctl restart zerotier-one </syntaxhighlight><syntaxhighlight lang="bash"> sudo systemctl restart ztncui </syntaxhighlight> Catégorie:Zerotier Catégorie:VPN Catégorie:Reseau » Balise : Éditeur visuel
- 17:3519 mars 2024 à 17:35 diff hist +666 N Zerotier : Sortir via un routeur VPN Zerotier Page créée avec « * Créer la route 0.0.0.0/0 dans les routes du réseau Zerotier * Sur la station ajouter la route : <syntaxhighlight lang="bash"> sudo zerotier-cli set <networkId> allowDefault=1 </syntaxhighlight> === Liens === https://zerotier.atlassian.net/wiki/spaces/SD/pages/7110693/Overriding+Default+Route+Full+Tunnel+Mode [https://sensorsiot.github.io/IOTstack/Containers/ZeroTier/#:~:text=Launch%20the%20ZeroTier%20One%20app,on%20%22Enable%20Default%20Route%22. https://se... » Balise : Éditeur visuel
- 17:2819 mars 2024 à 17:28 diff hist +206 N Zerotier : Changement du mtu Page créée avec « Aller dans le dossier "/var/lib/zerotier-one/controller.d/network" Editer le fichier "ID Network.json" et trouver l'emplacement du MTU Catégorie:Zerotier Catégorie:VPN Catégorie:Reseau » Balise : Éditeur visuel
- 17:2519 mars 2024 à 17:25 diff hist +127 N Proxmox : Drivers Virtio Page créée avec « === Liens === https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/ Catégorie:Proxmox Catégorie:Virtio » Balise : Éditeur visuel
- 17:2219 mars 2024 à 17:22 diff hist +784 N Linux : Gestion des routes Page créée avec « === Afficher les routes === <syntaxhighlight lang="bash"> route -n ip route show </syntaxhighlight> === Ajout d'une route simple === <syntaxhighlight lang="bash"> sudo ip route add 10.0.2.0/24 via 192.168.43.223 dev enp0s3 </syntaxhighlight> === Ajout d'une route par défaut === <syntaxhighlight lang="bash"> sudo ip route add default via 192.168.43.1 dev eth0 </syntaxhighlight> === Suppression d'une route par défaut === <syntaxhighlight lang="bash"> sudo ip... » Balise : Éditeur visuel
- 17:1819 mars 2024 à 17:18 diff hist +151 N Linux : Création d'un utilisateur Page créée avec « <syntaxhighlight lang="bash"> useradd -m administrateur passwd administrateur usermod -aG sudo administrateur </syntaxhighlight> Catégorie:Linux » Balise : Éditeur visuel
- 17:1419 mars 2024 à 17:14 diff hist +1 155 N Linux : Redémarrage automatique des services après upgrade Page créée avec « <syntaxhighlight lang="bash"> As others mentioned, the trouble in this case is with the needrestart command, which is part of the apt-get upgrade process in Ubuntu now (specifically 22.04 which is what I am using). By default this is set to "interactive" mode which causes the interruption of scripts. To change this behavior, we can edit the /etc/needrestart/needrestart.conf file, changing the line: #$nrconf{restart} = 'i'; to $nrconf{restart} = 'a'; (if we wa... » Balise : Éditeur visuel
- 17:1019 mars 2024 à 17:10 diff hist +532 N Libreoffice : Menu déroulant Page créée avec « === Liens === [https://blog.shevarezo.fr/post/2020/09/30/comment-creer-liste-deroulante-excel-google-sheets-libreoffice-calc#:~:text=LibreOffice%20Calc,-La%20m%C3%A9thode%20pour&text=Sur%20la%20cellule%20qui%20doit,les%20%C3%A9l%C3%A9ments%20de%20la%20liste. https://blog.shevarezo.fr/post/2020/09/30/comment-creer-liste-deroulante-excel-google-sheets-libreoffice-calc#:~:text=LibreOffice%20Calc,-La%20m%C3%A9thode%20pour&text=Sur%20la%20cellule%20qui%20doit,les%20%... » actuelle Balise : Éditeur visuel
- 17:0819 mars 2024 à 17:08 diff hist +326 N Libreoffice : Définir le point au lieu de la virgule Page créée avec « Dans LibreOffice, va dans le menu Outils > Options, onglet Paramètres Linguistiques > Langues, et décoche "Touche du séparateur de décimales: identique au paramètre de la locale" === Liens === https://linuxfr.org/forums/linux-debutant/posts/libre-office-calc-point-comme-separateur-decimale Catégorie:Libreoffice » actuelle Balise : Éditeur visuel
- 17:0719 mars 2024 à 17:07 diff hist +565 N LibreOffice : Insertion d'une page paysage Page créée avec « Menu Insertion de LibreOffice On clique sur Saut manuel, on coche Saut de page et dans la liste déroulante des Styles, on choisit (plutôt vers le bas) « Paysage ». === Liens === [https://dutailly.net/portrait-paysage-et-libreoffice#:~:text=Menu%20Insertion%20de%20LibreOffice&text=On%20clique%20sur%20Saut%20manuel,le%20bas)%20%C2%AB%20Paysage%20%C2%BB. https://dutailly.net/portrait-paysage-et-libreoffice#:~:text=Menu%20Insertion%20de%20LibreOffice&text=On%20... » actuelle Balise : Éditeur visuel
- 17:0519 mars 2024 à 17:05 diff hist +156 N Linux : Créer une image USB/Iso avec dd Page créée avec « <syntaxhighlight lang="bash"> sudo dd if=/isos/ubuntu-19.04-live-server-amd64.iso of=/dev/sdb bs=1M status=progress </syntaxhighlight> Catégorie:Linux » Balise : Éditeur visuel
- 16:4719 mars 2024 à 16:47 diff hist +353 Mikrotik : NAT IP Aucun résumé des modifications Balise : Éditeur visuel
- 16:4619 mars 2024 à 16:46 diff hist +60 Mikrotik : Vlan Aucun résumé des modifications Balise : Éditeur visuel
- 16:4519 mars 2024 à 16:45 diff hist +1 592 N Mikrotik : Vlan Page créée avec « <syntaxhighlight lang="bash"> /interface bridge add admin-mac=18:FD:74:BC:B5:6F auto-mac=no comment=defconf name=bridge vlan-filtering=yes /interface vlan add interface=bridge name=vlan1-Admin vlan-id=1 add interface=bridge name=vlan2-Isis vlan-id=2 add interface=bridge name=vlan20-Voip vlan-id=20 /interface bonding add mode=802.3ad name=bonding1 slaves=qsfpplus1-1,qsfpplus1-2,qsfpplus1-3,qsfpplus1-4 transmit-hash-policy=layer-2-and-3 /interface ethernet switc... » Balise : Éditeur visuel
- 16:4419 mars 2024 à 16:44 diff hist +4 936 N Mikrotik : Vlan sur les séries Hex Page créée avec « <syntaxhighlight lang="bash"> [admin@MikroTik] > export # 2023-07-26 16:57:14 by RouterOS 7.10.2 # software id = EJAV-8QRI # # model = RB750Gr3 # serial number = CC210F337586 /interface bridge add admin-mac=DC:2C:6E:AA:3F:5E auto-mac=no comment=defconf ingress-filtering=no name=bridge vlan-filtering=yes /interface vlan add interface=bridge name=vlan2001 vlan-id=2001 add interface=bridge name=vlan2002 vlan-id=2002 add interface=bridge name=vlan2003 vlan-id=2003 a... » Balise : Éditeur visuel
- 16:4119 mars 2024 à 16:41 diff hist +2 532 N Mikrotik : Protection Bruteforce Page créée avec « === Paramètres Mikrotik === <syntaxhighlight lang="bash"> /ip firewall address-list add list=Blacklist comment="Liste des IP bloquées." /ip firewall raw add action=drop chain=prerouting comment="Blacklist" src-address-list="Blacklist" /ip firewall raw add action=drop chain=prerouting comment="Blacklist" dst-address-list="Blacklist" /ip firewall filter add chain=input action=drop comment="Drop new connections from Blacklist" connection-state=new src-address-li... » Balise : Éditeur visuel
- 16:3719 mars 2024 à 16:37 diff hist +4 Mikrotik : Blacklist par Pays →Scripts Balise : Éditeur visuel
- 16:3619 mars 2024 à 16:36 diff hist +1 785 N Mikrotik : Blacklist par Pays Page créée avec « === Scripts === <syntaxhighlight lang="bash"> # Script de telechargement de la liste AFGHANISTAN (AF) /system script add name="Downloadaf-aggregated" source={ /tool fetch url="http://blacklist.yakakliker.org/af-aggregated.rsc" mode=http; :log info "af-aggregated.rsc telecharge depuis http://blacklist.yakakliker.org"; } </syntaxhighlight><syntaxhighlight lang="bash"> # Script suppression de l'ancienne liste AFGHANISTAN (AF) et ajout de la nouvelle /system script... » Balise : Éditeur visuel
- 16:3219 mars 2024 à 16:32 diff hist +1 466 N Mikrotik : Sécurisation Page créée avec « <syntaxhighlight lang="bash"> /ip firewall address-list add list=BlackList comment="Liste des IP bloquées." /ip firewall raw add action=drop chain=prerouting comment="Blacklist" src-address-list="Blacklist" /ip firewall raw add action=drop chain=prerouting comment="Blacklist" dst-address-list="Blacklist" /ip firewall filter add chain=input action=drop comment="Drop new connections from Blacklist" connection-state=new src-address-list=Blacklist /ip firewall fil... » Balise : Éditeur visuel
- 16:2619 mars 2024 à 16:26 diff hist +11 231 Mikrotik : Intégrer des blacklists Aucun résumé des modifications Balise : Éditeur visuel