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
removecontainers() { | |
docker stop $(docker ps -aq) | |
docker rm $(docker ps -aq) | |
} | |
armageddon() { | |
removecontainers | |
docker network prune -f | |
docker rmi -f $(docker images --filter dangling=true -qa) | |
docker volume rm $(docker volume ls --filter dangling=true -q) |
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
npm install --save-dev @babel/core @babel/cli @babel/node @babel/preset-env @babel/plugin-transform-runtime | |
package.json | |
"scripts": { | |
"dev": "cross-env NODE_ENV=development CHOKIDAR_USEPOLLING=true nodemon server.js --exec babel-node", | |
}, | |
.babelrc | |
{ | |
"presets": ["@babel/preset-env"], |
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
sudo apt remove docker docker-engine docker.io containerd runc | |
sudo apt update | |
sudo apt install \ | |
ca-certificates \ | |
curl \ | |
gnupg \ | |
lsb-release | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg |
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
import collections.abc | |
def dict_gen_from_list_keys(cur, list_keys, value, type_value: str = "list"): | |
""" | |
Сгенерирует словарь из списка ключей. | |
Generate dict from list keys | |
list = ['a','b','c'] | |
value = 'value' |
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
test |
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
grep -r -i -F -l --exclude=*.{png,gz,zip,rar,tgz,gif,pdf,jpg,jpeg,wmv} 'FilesMan | |
46.32.226.132 | |
$GLOBALS['mrufx31'] | |
function pttna79 | |
_YM82iAN | |
http://rx-onlinepharmacystore.com/ | |
discount-rx-shop.com | |
cheap-med-store.com | |
DQplcnJvcl9yZXBvcnRpb | |
0f01b0379c078cb769fe70b5f51f5e8e |