Warning: strpos() expects parameter 1 to be string, array given in /home/theserverside/public_html/wp-includes/blocks.php on line 20
trick | The Server Side Technology
Trending
Heat Index

Notice: Undefined variable: posts in /home/theserverside/public_html/wp-content/themes/engine/functions/theme.php on line 388

Notice: Trying to access array offset on value of type null in /home/theserverside/public_html/wp-content/themes/engine/functions/theme.php on line 388
Posts Tagged ‘trick’
Most Recent
 
Read More
October 30, 2021

How to clear Powershell history (done right!)

You might find youserlf in a situation where you need to clear Powershell command history. For example, for us it was needed because we needed to prepare templates for virtual machines deployment and we needed to activate a specific software before finalizing the template.

Unfortunately you need to type a command to enter the code and activate the software and those templates could be used by our customers that might be able to retrieve the correct code by simply striking arrow-up. If you look for a solution you will find that Powershell has a specific command to do that:

Clear-History

However, you might find that this won’t solve your problem. Some [...]

525
 
Read More
October 8, 2019

WordPress and MySQL: fixing the wp_options table

We had a weird problem when moving a WordPress website for a customer: after DUMPing it out of MySQL, we noted that the wp_options table had a problem, namely the table had no primary key and no index on the option_name field. We noted that because the WordPress website, once moved, looked akward and wrong, missing some key pieces and it also seemed to use settings that were old. The reason was that, with primary key missing, lots of duplicate records were stored inside the table and I’m pretty sure it was not what the website was meant to do. Field option_id was set to 0 in most cases when it should have been an auto-incremented integer plus it seemed [...]

1062
End of the line!
Latest Windows news
 
Read More
134
 
Read More
77
 
Read More
4273

Trending Topics
windows server
SysAdmins
hyper-v
Development
windows
News
containers
windows admin center
Web Technologies
Follow Us
Top Stories
 
 
 
 
 
 
 
 
Right Now
 
Acronis Storage Gateway: how to replace a node for the Backup Service
 
 
 
 
 
Top Five
Heat Index
 
1
Must Read:How to containerize Windows Admin Center
 
2
The little virtual machine that is crashing Hyper-V on AMD
 
3
WordPress and MySQL: fixing the wp_options table
 
4
Must Read:How to run PHP 7 x64/x86 on Windows Azure Pack
 
5
Visual Studio: how to run Windows Phone and Android emulators in a virtual machine

Warning: A non-numeric value encountered in /home/theserverside/public_html/wp-content/themes/engine/functions/loop.php on line 75