Delete Mac Temp Files
Delete the files MacOS creates that Windows or Linux does not need. 1del /s /q /f /a ._*
Delete the files MacOS creates that Windows or Linux does not need. 1del /s /q /f /a ._*
1). Moving an AWS AMI from one region to another causes Windows Validation to fail (180 days between checks). To tell Windows OS what validation server to use, run this …
Drive is attached but not usable in Computer Manager. – Launch command line – Run C:\> diskpart 12345list disk select disk 1 online disk attribute disk clear readonly exit
Create a vbs file and run it: 1234567891011121314151617181920212223242526Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 …
1234567891011121314151617181920212223db.getCollection(‘logs’).find({ "datetime" : { $lt: new Date(), $gte: new Date(new Date().setDate(new Date().getDate()-1)) } }) db.getCollection(‘plocsec_capacity’).find( {$and: [ {plocsecid:338}, …
On Windows 8.1 x64, before installing VC14x64, ensure .Net 4.6.1 is installed first Installer hangs on “Updating Windows81_x64”, log indicates “Error 0x80070642: Failed to execute MSU package.”
1). Launch Visual Studio and install OMD – Click Tools > NuGet Package Manager > Package Manager Console – Type: Install-Package Oracle.ManagedDataAccess – Locate the dll Oracle.ManagedDataAccess.dll and copy it …
1taskkill.exe /S PCNAME /IM SearchUI.exe Schedule in task scheduler, tell to run only if logged into PC and set to run at highest privilege level.
Useful Log git log –pretty=format:”[%an]|%h|%ad|%s|%d” –date=short Set your details git config –global user.name “John Doe” git config –global user.email “[email protected]” Use –global to set the configuration for all projects. If …
Parse those nasty VSS history files. Put them in a format more suitable for Gource. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace ConsoleApplication2 { …
