Ubuntu 18.04 mysql error (Error line #613)

/usr/share/phpmyadmin/libraries# nano sql.lib.php

function PMA_isRememberSortingOrder($analyzed_sql_results)
return false;//THOMAS.

Font Awesome cheatsheet


Stop smart quotes

Stop smart quotes

remove_filter('the_content', 'wptexturize');

Empty mail queue

postsuper -d ALL

What Ubuntu am I running

lsb_release -a

Find Originating-Script for mails

cd /var/spool/postfix/deferred

find . -type f -exec grep -H "Originating-Script" {} \;

Using $_GET in WordPress

In order to be able to add and work with your own custom query vars that you append to URLs, (eg: www.site.com/some_page/?my_var=foo - for example using add_query_arg()) you need to add them to the public query variables available to WP_Query. These are built up when WP_Query instantiates, but fortunately are passed through a filter query_vars before they are actually used to populate the $query_vars property of WP_Query.

For your case :

  function add_query_vars_filter( $vars ){
       $vars[] = "size";
       return $vars;
  add_filter( 'query_vars', 'add_query_vars_filter' );

and on your template page call the get methode like that :

$size_var = (get_query_var('size')) ? get_query_var('size') : false;
   // etc...

More at the Codex : http://codex.wordpress.org/Function_Reference/get_query_var

Find all files changes since 3 days

find . -type f -mtime -3

Compter lignes dans fichier texte

wc -l emails.txt

Fichiers avec chaine de caractères

find . -type f -exec grep -H "text-to-find-here" {} \;