SHOW VARIABLES LIKE '%license%';That's it! (of course one needs first to connect to the instance like : mysql -u your_username -p )
luni, 26 septembrie 2016
What is the current mysql license, how to find it?
Hi,
You're wondering how to find the current mysql license?
One should just query the instance variables, it's as easy as this:
vineri, 19 august 2016
ASP Classic Recursively Delete Files (older than) and folders
In ASP Classic (VBScript), this piece of script will recursively walk through all subfolders and remove all files older than 6 hours (change it to days, weeks, months), and all empty subdirectories.
DeleteFiles("C:\cleanThisSub")
dim fso
Set fso = Server.CreateObject("Scripting.FileSystemObject")
' recursively deletes files older than 6 hours and the empty directories
Sub DeleteFiles(ByVal sFolder)
Set folderObj = fso.GetFolder(sFolder)
dim aFiles, aSubFolders, aSubFolders2, file, folder, folderObj2
Set aFiles = folderObj.Files
Set aSubFolders = folderObj.SubFolders
For Each file in aFiles
if ( DateDiff("s", file.DateLastModified, Now()) > 6 * 3600 ) then
'delete files older than 6 hours
response.write "del " & file.Path & "<br>"
fso.deleteFile(file.Path)
End If
Next
For Each folder in aSubFolders
Set folderObj2 = fso.GetFolder(folder.Path)
DeleteFiles(folder.Path)
Set aFiles = folderObj2.Files
if aFiles.Count<1 then
set asubfolders2 = folderObj2.SubFolders
if aSubFolders2.Count<1 then
' subfolder is empty, can be removed
response.write "rmdir " & folder.Path & "<br>"
fso.deleteFolder(folder.Path)
end if
end if
Next
End Sub
vineri, 13 mai 2016
Windows 10 Unable to open Link in Mail
For a while now, every time i clicked a link inside any email , within the Windows 10 Mail app,
this failed with the warning 'Unable to open Link: http://... '.
After some research i've figured it is due to the fact that i stopped&disabled the windows Firewall service.
As soon as i opened services.msc , scrolled down to windows firewall, and started it - all windows 10 mail Links started opening up immediately, like magic!
Thanks Microsoft + Windows 10.
You're doing a great job.
this failed with the warning 'Unable to open Link: http://... '.
After some research i've figured it is due to the fact that i stopped&disabled the windows Firewall service.
As soon as i opened services.msc , scrolled down to windows firewall, and started it - all windows 10 mail Links started opening up immediately, like magic!
Thanks Microsoft + Windows 10.
You're doing a great job.
Abonați-vă la:
Postări (Atom)