docker ps -a -q -f status=exited | xargs --no-run-if-empty docker rm -v
docker images -f "dangling=true" -q | xargs --no-run-if-empty docker rmi
docker images | awk '/ago/ { print $3}' | xargs --no-run-if-empty docker rmi
SELECT table, formatReadableSize(size) as size, rows, days, formatReadableSize(avgDaySize) as avgDaySize FROM ( | |
SELECT | |
table, | |
sum(bytes) AS size, | |
sum(rows) AS rows, | |
min(min_date) AS min_date, | |
max(max_date) AS max_date, | |
(max_date - min_date) AS days, | |
size / (max_date - min_date) AS avgDaySize | |
FROM system.parts |
Sony A7 IV / Leica 35mm Summilux | |
Sony A7R V / Sony FE 70-200mm f/4 G OSS | |
Nikon FE2 / Nikkor 24 mm f 2.8 | |
Leica Summicron 35mm f/2 IV "King of Bokeh"?? |
stop all | |
redis-cli -n 0 FLUSHDB | |
systemctl restart kannel-bearerbox |
https://stackoverflow.com/questions/9500848/how-do-i-read-this-complex-declaration-in-c/9501054#9501054 | |
https://cdecl.org/?q=void+%28*signal%28int%2C+void%28*%29%28int%29+%29%29%28int%29 |
1 | MT number is unknown in the MT network’s HLR | |
---|---|---|
2 | MT number is unknown in the MT network’s HLR | |
5 | MT number is unknown in the MT network’s MSC | |
9 | MT number is classed as an illegal subscriber in the MT network’s MSC | |
11 | MT HLR sends back a “Teleservice not provisioned” error in responseto the SRI | |
12 | MT handset is listed as an Illegal device on the MSC. | |
13 | Customer is barred according to the MT HLR from receiving SMS | |
15 | MT customer is part of a CUG that is not allowed to receive SMS | |
21 | SMS not supported in the MT network. | |
22 | SMS not supported in the MT MSC |
#!/bin/bash | |
PATH=/usr/bin:/usr/sbin | |
# Установка переменных | |
SITE_DIRECTORY="/var/www/mysite.ru" # Путь к директории сайта | |
BACKUP_DIRECTORY="/opt/git/site" # Путь к директории для сохранения бэкапов | |
EMAIL_RECIPIENT="mysite@mysite.ru" # Адрес получателя электронной почты | |
MAX_DIFF_SIZE=$((10 * 1024)) # 10 Кб в байтах | |
# Создание временной директории для выполнения операций |
#!/usr/bin/perl | |
# dnf install perl-Net | |
# wget ftp://ftp.ripe.net/ripe/dbase/split/ripe.db.inetnum.gz | |
# wget https://ftp.apnic.net/apnic/whois/apnic.db.inetnum.gz | |
# zcat ripe.db.inetnum.gz | ./subnets.pl RU BY | |
# zcat apnic.db.inetnum.gz | ./subnets.pl MN | |
use Net::CIDR qw(range2cidr); | |
use Symbol; | |
use strict; |
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.0/packages/i386 | |
$ sudo pkg_add -v zsh-4.3.12 git-1.7.6p0 | |
$ chsh -s /usr/local/bin/zsh | |
$ git clone git://github.com/robbyrussell/oh-my-zsh.git | |
$ mv oh-my-zsh .oh-my-zsh | |
$ cp .oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc |
--- | |
- hosts: node1 | |
become: yes | |
roles: | |
- role: ansible-role-hpe-common | |
- role: ansible-role-hpe-spp | |
hpe_spp_packages: | |
- amsd | |
- hponcfg | |
- ssacli |
docker ps -a -q -f status=exited | xargs --no-run-if-empty docker rm -v
docker images -f "dangling=true" -q | xargs --no-run-if-empty docker rmi
docker images | awk '/ago/ { print $3}' | xargs --no-run-if-empty docker rmi