Last active
August 11, 2021 12:21
-
-
Save koromerzhin/2fe03cc884d1f52d82785edfd8f2a8b5 to your computer and use it in GitHub Desktop.
Commande
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setfacl -R -m u:http:rwX -m u:`whoami`:rwX www | |
setfacl -dR -m u:http:rwX -m u:`whoami`:rwX www |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mount --bin /home/www/lien lien | |
equivalent de | |
ln -s /home/www/lien lien |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer config --global --auth github-oauth.github.com <token> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Billet totalement inutile puisqu'on pourrait me répondre "RTFM" à la question "Comment aspirer récursivement un site Web avec wget tout en ré-écrivant les liens en adresses locales", mais je préfère la noter ici pour savoir directement où chercher la prochaine fois que j'en aurais besoin! | |
wget -rkpE <uri> | |
-r : récursif | |
-k : converti les liens en liens locaux | |
-p : télécharge tous les fichiers nécéssaires à l'affichage de la page en local | |
-E : modifie les extensions des pages Web en .html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name "*.pacnew" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -o /dev/null -w "%{http_code}" http://repocheck.traefik.me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -exec dos2unix {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker service update --force container_name | |
docker inspect container_id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/console doctrine:mapping:convert annotation ./src/Mkk/SiteBundle/Entity --from-database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment