Our Blog

Windows 11 disable CPU Parking

If like me you want all cores available at all times, especially on a 13900HX and seeing parked on 25+ logical processors is annoying. Also every now and then when running multiple apps and bouncing around some heavy users like Adobe PS and Premier, I notice this ever so slight hang, milliseconds but it is […]

Read More »

Posted in %1$s

MySQL move BIN files location

Change MySQL Binary Log File Location To Another Directory Follow the below steps to change MySQL binary log file location to another directory. 1. Edit the log-bin variable in my.cnf file located in /etc/my.cnf to log-bin=/new/directory/path/mysql-bin . # vi /etc/my.cnf …… ……… log-bin=/new/directory/path/mysql-bin ….. ……. Save and close the file. 2. To minimize the number of moved files, purge […]

Read More »

Posted in %1$s

Crontab

Cron Schedule Syntax A basic crontab entry looks something like this: https://crontab.guru/ – this is just an awesome site to get the entry for a specific schedule. Managing Crontab Entries Once cron is running, it checks for crontab entries in the following files every minute: The first file, /etc/crontab, is a system-generated file containing shortcut commands […]

Read More »

Posted in %1$s

MySQL Purge BIN files

Do not delete the files from the file system. MySQL will complain at some time in the future. Save yourself the unnecessary downtime by using PURGE BINARY LOGS command from within MySQL or Change automatic default purge expiry from 30days (default) For long term set the BIN logs to a shorter time frame 1 day mysql> SET […]

Read More »

Posted in %1$s

Best opensource tools

Metamorphose – mass file renamer https://sourceforge.net/projects/file-folder-ren/ Crontab Guru – excellent online tool, just helps create cronjob formats easily ad explained in plain english. https://crontab.guru/

Read More »

Posted in %1$s

Perl get browser to render HTML instantly while script runs

Simply copy this code into the top of your Perl script and enjoy. All print statements will go straight to users browser and render instantly. The explanation $|++; #This is needed to disable bufferingprint “Content-type: text/html\r\n”;# This header is a quick hack to deny browser to gzip/deflate your outputprint “Content-Encoding: plain\r\n\r\n”;&load_buffer; #keeps the browser window […]

Read More »

Posted in %1$s

Mysql not creating PID file

ls /var/run/mysqld/ – should show below If not sudo service mysql stop sudo service mysql start Oddly the following has happened to me, I do not know why and am not really phased. Do not be in the folder /var/run/mysqld when doing the restart this for what ever reason has ended with none of the […]

Read More »

Posted in %1$s

Windows 11 restore classic right click menu

Easiest way is to use Chris Titus Win Tool and just click option under tweaks. Manually by quickly doing the following. Right-click the Start button and choose Windows Terminal Copy the command Restart PC To restore the Windows 11 right click context menu use this command in Terminal Restart PC

Read More »

Posted in %1$s

Linux Screen

The short version that you need, the rest is nice to know but this is your bread and butter. screen (starts a new session) this is once off until you destroy it or server/system restart. CTRL+A (then release both) then press D will put the session into the back. screen -r (will reconnect you to […]

Read More »

Posted in %1$s Tagged %1$s
Theme by Flythemes
x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security