Find and grep commands for searching

Examples: Find files named core in or below the current directory find . -name core Find files starting with core […]

December 22nd, 2011

Posted In: linux

Gimp the latest on U

Of course on Ubuntu, the procedure to install it / update it is the following… Uninstall GIMP sudo apt-get autoremove […]

November 18th, 2015

Posted In: ubuntu

Nginx Location Directive Examples

location = / { # this matches only the / query. } location / { # matches any query due […]

October 7th, 2015

Posted In: Nginx

The spring of cron jobs

crontab -l /etc/cron.hourly/* /etc/cron.daily/* /etc/cron.weekly/* /etc/cron.monthly/* /etc/cron.d/* /etc/crontab /var/spool/cron/* On top of that, you can have at jobs /var/spool/at/* /etc/anacrontab […]

October 3rd, 2015

Posted In: System Admin

Nginx settings for WordPress

listen 80; # listen [::]:80 default_server ipv6only=on; root /var/www/html; # or where your folder is index index.php; # Make site […]

October 2nd, 2015

Posted In: Nginx

Crontab map

# For details see man 4 crontabs # Example of job definition: # .—————- minute (0 – 59) # | […]

October 2nd, 2015

Posted In: linux, Uncategorized

WordPress Best image quality

We needed the best quality for our images: function custom_jpg_compression($args) { return 100;} add_filter('jpeg_quality', 'custom_jpg_compression'); Thanks

September 28th, 2015

Posted In: wordpress

Good Linux command prompt

export PS1='[\w]\n\u\$ ' Keep the Linux command prompt One minor issue to entering the command prompt at the command line, […]

September 28th, 2015

Posted In: linux


Usage: duck [options…] <url> [<file>] The <url> must be a fully qualified URL of remote file or folder such as […]

September 27th, 2015

Posted In: tools

Nginx, Disable access to .htaccess file, and other hidden files

Global Restrictions to files starting with “dot” (.) would be like this: # Deny all attempts to access hidden files […]

September 20th, 2015

Posted In: .htaccess, Nginx

PHP enable more room for file upload

The first things to check is PHP.ini file. The values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file […]

June 1st, 2015

Posted In: php

Next Page »