Posts

File cannot open in append mode in Laravel in Rocky Linux

 After changing permission: sudo setenforce 0   Credit: https://stackoverflow.com/questions/63203144/file-could-not-be-opened-in-append-mode-failed-to-open-stream-permission-denie 

How to open the old System Properties on Windows 11

 run sysdm.cpl   Credit: https://www.c-sharpcorner.com/article/how-to-addedit-path-environment-variable-in-windows-11/

Determine the PHP version, thread safety and architecture on Windows

Determine the PHP version: php -i|find "PHP Version" Determine the thread safety php -i|find "Thread Safety" You’ll have enabled for thread safe or disabled for not thread safe Determine the architecture php -i|find "Architecture" You’ll have x86 for 32 bits and x64 for 64 bits Credit: https://mlocati.github.io/articles/php-windows-imagick.html

Find column in MSSql

    SELECT col.name AS 'ColumnName', tab.name AS 'TableName'     FROM sys.columns col     JOIN sys.tables tab ON col.object_id = tab.object_id     WHERE col.name like '%column_name_to_find%'     ORDER BY TableName,ColumnName;   Credit: https://intellipaat.com/community/6615/find-all-tables-containing-column-with-specified-name-ms-sql-server

Location of Startup Folder in Windows 11

 User C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup All users: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup:

Remove OneDrive icon from File Explorer in Windows 11

HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} Double-click on a string value named System.IsPinnedToNameSpaceTree on the right-hand side panel. Type 0 and click on OK. HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6} Double-click on the string value named System.IsPinnedToNameSpaceTree and set the value to 0 (zero). Click on OK.  Deny Evryone after changes. Credit: https://www.clonefileschecker.com/blog/remove-onedrive-from-explorer-in-windows-11/

Remove Home from File Explorer on Windows 11

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer Right-click the Explorer key on the left, and select New > DWORD (32-bit) value from the menu. Name the new value HubMode. In the right panel, double-click it and change its value data to 1. Click OK to save it. Delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\{f874310e-b6b7-47dc-bc84-b9e6b38f5903} Credit: https://winaero.com/remove-home-from-file-explorer/