find / -xdev -printf ‘%h\n’ | sort | uniq -c | sort -k 1 -n
Continue reading Find where inodes are being used
Comments closedpersonal blog
Published March 20, 2016 by scientetik
find / -xdev -printf ‘%h\n’ | sort | uniq -c | sort -k 1 -n
Continue reading Find where inodes are being used
Comments closedPublished March 20, 2016 by scientetik
Fastest way to purge alot of files directory with large inode usage: rsync -a –delete empty/ target_directory/ Links http://blog.liw.fi/posts/rm-is-too-slow/
Continue reading rm is too slow
Comments closedPublished January 3, 2016 by scientetik
Published December 19, 2015 by scientetik
I was looking wor monitor stand like But it’s too expensive, as for my http://www.ergonomichome.com/chquadmoarmk.html – $2,798.00 – $1,678.80(SAVE 40%) And even chip china alternatives doesn’t…
Continue reading Super multiple munitors mount
Comments closedPublished December 17, 2015 by scientetik
Sorry, this entry is only available in Русский. If you arre getting post_max_size, upload_max_filesize, max_execution_time, max_input_time when installing zabbix on HHVM. root@noc:/etc/nginx/conf.d# php -r “echo…
Continue reading HHVM + Zabbix Check of pre-requisites FAIL
Comments closedPublished December 10, 2015 by scientetik
It is an very obvious thing for programmers but not for non-techies. The value of the code .. Now I am writing three functions in 4-5 rows,…
Continue reading The value of the code
Comments closedPublished December 5, 2015 by scientetik
Fastest recipet how to build ssh tunnel for port forwarding without risks of file access beause of sftp which cannot be disabled # vi /etc/ssh/sshd_config…
Continue reading Secure tunnel without risks
Comments closedPublished December 1, 2015 by scientetik
Simply #! /bin/bash TIMESTAMP=$(date +”%F”) BACKUP_DIR=”/backup/$TIMESTAMP” MYSQL_USER=”backup” MYSQL=/usr/bin/mysql MYSQL_PASSWORD=”password” MYSQLDUMP=/usr/bin/mysqldump mkdir -p “$BACKUP_DIR/mysql” databases=`$MYSQL –user=$MYSQL_USER -p$MYSQL_PASSWORD -e “SHOW DATABASES;” | grep -Ev “(Database|information_schema|performance_schema)”` for db…
Continue reading Backup (mysql dump) all your MySQL databases in separate files
Comments closedPublished November 28, 2015 by scientetik
To add this code you need to do the following: Open your work book Press ALT + F11 and the code window should appear Right…
Continue reading Excel equivalent of the PHP Implode function
Comments closedPublished November 8, 2015 by scientetik
To change generated image quality use the following code: If a problem with minifying – also using of plugins like https://wordpress.org/plugins/wp-smushit/ is recomended For detecting…
Continue reading WordPress image quality and size
Comments closed