This file contains hidden or 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 run constrict0r/debian-apt bash -c \ | |
| "ansible localhost -m include_role \ | |
| -a name=constrict0r.debian_apt \ | |
| --extra-vars 'upgrade=True packages_file_path=extra-packages.yml {packages: [leafpad, rolldice]}'" |
This file contains hidden or 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
| su -c 'ansible-playbook -i tests/inventory tests/test.yml \ | |
| --extra-vars "{upgrade: True, packages: [leafpad, rolldice], packages_file_path: extra-packages.yml}"' |
This file contains hidden or 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
| # Spotify key. | |
| sudo apt-key del 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90 | |
| # Docker key. | |
| sudo apt-key del 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 | |
| # Verify. | |
| sudo apt-key list |
This file contains hidden or 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 . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \; |
This file contains hidden or 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
| tar -cf - my-file.img | xz -9 -c - > my-file.img.tar.xz |
This file contains hidden or 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 run -it --entrypoint /bin/bash constrict0r/debian-kickstart |
This file contains hidden or 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
| python -m pip install django-tagging== |
This file contains hidden or 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
| netstat -anltp | grep "LISTEN" |
This file contains hidden or 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
| --- | |
| dist: xenial | |
| before_install: | |
| - sudo apt remove mysql-server-5.7 | |
| - sudo apt update | |
| install: | |
| - sudo apt-get full-upgrade -y |
This file contains hidden or 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/bash | |
| # | |
| # @file bash-alias | |
| # @brief Add useful bash commands aliases. | |
| alias changes="find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \;" | |
| alias runit="ansible-playbook -i tests/inventory tests/test-playbook.yml" | |
| alias gic="git add . && git commit -m 'Updated repository' && git push" | |
| alias fixme="xrandr --newmode '1366x768_60.00' 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync && xrandr --addmode VGA-1 '1366x768_60.00' && xrandr --output VGA-1 --mode '1366x768_60.00'" |