notes_sb
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
notes_sb [2019/01/24 12:44] – [JITAO] serge | notes_sb [2019/12/26 12:44] – ↷ Liens modifiés en raison d'un déplacement. 216.244.66.228 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ======Notes de sb====== | ||
- | |||
- | |||
- | =====Récupération de l' | ||
- | ====httrack==== | ||
- | <code sh> | ||
- | httrack https:// | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | httrack −−update | ||
- | |||
- | updates a mirror in the current folder | ||
- | |||
- | httrack | ||
- | |||
- | will bring you to the interactive mode | ||
- | |||
- | httrack −−continue | ||
- | |||
- | WildCardFilters=+*.apk +*.png +*.jpg +*.jpeg +*.blend +*.svg +*.patch +*.pde +*.pd +*.zip +*.gz +*.pdf +*.gif +*.deb +*.tga +*.ods +*.odt +*.sla +*.tiff +*.tif +*.stl +*.ply +*.dxf +*.scad +*.ai +*.flac +*.mkv +*.mov +*.mp3 +*.mp4 +*.oga +*.ogg +*.ogv +*.wav +*.webm | ||
- | |||
- | Wget (UNIX, Linux, OSX, ...) | ||
- | |||
- | Wget is generally available on almost any 'nix machine and can produce the mirror from the command line. However, wget seems to have problems converting the relative style sheet URLs properly with many Drupal site pages. Modify your theme template to produce hardcoded absolute links to the stylesheets and try the following command: | ||
- | |||
- | wget -q --mirror -p --adjust-extension -e robots=off --base=./ -k -P ./ http:// | ||
- | |||
- | wget respects the robots.txt files, so might not download some of the files in /sites/ or elsewhere. To disable this, include the option -e robots=off in your command line. | ||
- | |||
- | wget includes all query strings such as image file "? | ||
- | |||
- | find -name " | ||
- | |||
- | HTTrack (UNIX and Windows and Mac/ | ||
- | |||
- | HTTrack. The Windows GUI client version will produce the mirror with almost no configuration on your part. One potential command to use is: | ||
- | |||
- | httrack http:// | ||
- | |||
- | Note the -K option creates absolute links - this is only sometimes useful if you are hosting a public mirror on the same domain. Otherwise omit -K to produce relative links | ||
- | |||
- | The -c1 options makes only 1 request at a time so this becomes rather slow. The default is -c10, so you might considering something more like this value when archiving your own site. | ||
- | |||
- | With HTTrack properly configured, you don't have to hack on common.inc to get all of your stylesheets to work correctly. However, with the default robots.txt settings in Drupal 5 and the "good citizen" | ||
- | |||
- | If you're working from a local installation of Drupal and want to grab ALL of your files in a way that you can just copy them up to a server, try the following command: | ||
- | |||
- | httrack http:// | ||
- | |||
- | Advanced httrack dumps | ||
- | |||
- | KarenS has created a very helpful description on how to " | ||
- | |||
- | httrack " | ||
- | |||
- | (where $root_uri is the place to start grabbing, most likely your public Drupal root, and $targetdir the start point for the backup files. | ||
- | In the latter, she furtherly suggests to run a regex on all files to fix link issues with index.html; where her regex can even be improved to: | ||
- | |||
- | find . -name " | ||
- | |||
- | This way it would leave Drupal' | ||
- | |||
- | You can even copy [dump_root]/ | ||
- | </ | ||
- | |||
- | ====wget==== | ||
- | |||
- | wget --mirror --convert-links --adjust-extension --page-requisites -U Mozilla http:// | ||
- | Ok avec | ||
- | wget -mpck --user-agent="" | ||
- | | ||
- | =====Nouvelles pages===== | ||
- | |||
+ | ======Notes de sb pour transfert wiki 2018====== | ||
=====Fait Ne plus rien rajouter===== | =====Fait Ne plus rien rajouter===== | ||
- | Godot & [[Godot]] | + | Godot & [[godot]] |
Godot : Créer un projet & [[Godot Créer un projet]] | Godot : Créer un projet & [[Godot Créer un projet]] | ||
Ligne 122: | Ligne 44: | ||
Installation de Yunohost 2.5 sur Raspberry Pi & [[Installation de Yunohost 2.5 sur Raspberry Pi]] | Installation de Yunohost 2.5 sur Raspberry Pi & [[Installation de Yunohost 2.5 sur Raspberry Pi]] | ||
- | Yunohost 2.5 Release Installation de certificats de sécurité & [[Yunohost 2.5 Installation du certificat de sécurité]] | + | Yunohost 2.5 Release Installation de certificats de sécurité & [[archives: |
VGA et Arduino & [[VGA et Arduino]] | VGA et Arduino & [[VGA et Arduino]] | ||
Ligne 390: | Ligne 312: | ||
Serveur multimedia ArtNet | Serveur multimedia ArtNet | ||
- | Serveur Minitel en local & [[Serveur Minitel en local]] | + | Serveur Minitel en local & [[serveur_minitel_local]] |
- | Serveur Minitel | + | Serveur Minitel |
Papatte | Papatte | ||
Ligne 430: | Ligne 352: | ||
Debian Installation Configuration | Debian Installation Configuration | ||
- | Kivy: Buildozer pour créer une application Android avec un script python | + | Kivy: Buildozer pour créer une application Android avec un script python |
Kivy: Buildozer avec python 2.7 & [[Kivy Buildozer avec python 2.7]] | Kivy: Buildozer avec python 2.7 & [[Kivy Buildozer avec python 2.7]] |
notes_sb.txt · Dernière modification : 2021/08/21 17:59 de 114.119.143.174