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
| Add AllowHardwareRenderUnderWine=Yes flag to CFG.TXT on USERDIR/Documents/SpaceRangersHD dir | |
| Adding MultiThread=True may increase performance also |
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 | |
| INSTALL_PACKAGES="docker-ce docker-ce-cli containerd.io" | |
| REMOVE_PACKAGES="docker docker-engine docker.io containerd runc" | |
| # Clean up installed packages | |
| sudo apt-get remove "$REMOVE_PACKAGES" | |
| # Install dependencies | |
| sudo apt-get install -y \ | |
| apt-transport-https \ |
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 | |
| DOWNLOAD_PATH=~/Downloads/zenmap | |
| mkdir -p $DOWNLOAD_PATH && cd $DOWNLOAD_PATH | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb | |
| wget http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.80+dfsg1-1build1_all.deb | |
| sudo apt install ./*.deb |
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
| # apt-fast is a shellscript wrapper for apt-get and aptitude | |
| # that can drastically improve apt download times by downloading packages in parallel, | |
| # with multiple connections per package. | |
| # https://github.com/ilikenwf/apt-fast | |
| # It's helpful at speed up dependency installation at CI (yes, i use caching also) | |
| /bin/bash -c "$(curl -sL https://git.io/vokNn)" |
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 | |
| # Installs docker-ce, enable and running service (working with Debian, Ubuntu, Centos) | |
| URL="https://get.docker.com" | |
| # Run installation script | |
| sudo bash <(curl -s $URL) | |
| # Add current user to docker group (it's insecure because it give ability to escalate permissions to root) | |
| # Do not use it in production (check rootless mode) | |
| sudo usermod -aG docker ${whoami} | |
| # Enable (sets to autostart) | |
| sudo systemctl docker enable |
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
| Postman по-умолчанию не дает возможности использовать общие функции между-тестами что приводит к необходимости их копировать и голоной боли. | |
| Хотелось бы занести туда свою стандартную либу с хелперами чтобы решить эту проблему. | |
| К сожалению, в Postman нет возможности использовать внешний код за исключением небольшого списка модулей. | |
| Есть 2 решения - | |
| 1) подкидывать выше решение в песочницу Postman (изменяя саму программу) | |
| 2) Использовать обход на базе общий Тестов и хранить текст ваших функций в переменных окружения Postman | |
| Как сделать | |
| Правой на коллекции |
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 | |
| OHMYZSH_INSTALL_URL=https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | |
| packagesNeeded='zsh curl git' | |
| POWERLEVEL10K_URL=https://github.com/romkatv/powerlevel10k.git | |
| if [ -x "$(command -v apk)" ]; then sudo apk add --no-cache $packagesNeeded |
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 | |
| # На мой взгляд макисмально возможный по простоте скрипт для убийства колекции MongoDB | |
| DATABASE_NAME="mestodb" | |
| mongo "$DATABASE_NAME" --eval "db.dropDatabase();" | |
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
| OHMYZSH_INSTALL_URL=https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh | |
| packagesNeeded='zsh' | |
| POWERLEVEL10K_URL=https://github.com/romkatv/powerlevel10k.git | |
| if [ -x "$(command -v apk)" ]; then sudo apk add --no-cache $packagesNeeded | |
| elif [ -x "$(command -v apt-get)" ]; then sudo apt-get install $packagesNeeded | |
| elif [ -x "$(command -v dnf)" ]; then sudo dnf install $packagesNeeded | |
| elif [ -x "$(command -v zypper)" ]; then sudo zypper install $packagesNeeded | |
| else echo "FAILED TO INSTALL PACKAGE: Package manager not found. You must manually install: $packagesNeeded">&2; fi | |
| echo "Y" | sh -c "$(curl -fsSL $OHMYZSH_INSTALL_URL)" |
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 | |
| # Using Debian, as root | |
| sudo curl -sL https://deb.nodesource.com/setup_14.x | bash - | |
| sudo apt install -y nodejs |
OlderNewer