Alert: Bash Code Injection Vulnerability
This is really serious: Red Hat Product Security has been made aware of a vulnerability affecting all versions of the Bash package shipped with Red Hat Enterprise Linux. Since many of Red Hat's...
// 31 matches
This is really serious: Red Hat Product Security has been made aware of a vulnerability affecting all versions of the Bash package shipped with Red Hat Enterprise Linux. Since many of Red Hat's...
I have updated Google Chrome on Red Hat Linux. And to my surprise after restarting Google Chrome I got this: "bettar spell chek" - o la la! The first idea: maybe there is a problem with my Linux box?...
I have got a PFX made with Windows Certificate Services to be installed on Apache. So, using OpenSSL the file (source.pfx) has been converted to Apache compatible format: openssl pkcs12 -in...
Keyboard shortcuts Command-Shift-3: Take a screenshot of the screen, and save it as a file on the desktop Command-Shift-4, then select an area: Take a screenshot of an area and save it as a file on...
So, the task is to get duplicate records from a MySQL database. The easy way: SELECT COUNT(*), column1, column2 FROM tablename GROUP BY column1, column2 HAVING COUNT(*)>1; More complex case: shows...
Another (and more easy) way to change text in multiple files is to use grep: grep -lr -e 'oldtext' * | xargs sed -i 's/oldtext/newtext/g' or to use PERL: perl -p -i -e ’s/oldtext/newtext/g’ *
Just after I posted this article the second more easy solution has been found. Here it is: Find (search) and replace text from command line in multiple files (Linux) #2 When you are working on the...
After file downloading a ZIP file with Safari this file is unzipped automatically. The original ZIP file appears to be deleted. Not so good! To fix this behaviour just go to...
In case of date format checking in PHP just use this function: function checkDateFormat($date) { //match the format of the date if (preg_match ("/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/", $date, $parts))...
Error on attempt to connect locally to MySQL server DB with PHP on MacOS X Lion 10.7: No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) Solution 1: instead of localhost...