Category Archives: #ITNinjaSkills

InfoTech DB

I am building a mariaDB based tool to hold all the specs for LAN. May open source it when I reach beta version. Nothing fancy, just a place to maintain all the specs of a network and run autoIT/perl/python/powershell/etc scripts against it.
 
What COTS systems are there on the market for this ?

I am building the world…

…that I want live in. Not waiting for the future…

A nice internet speed test tool for IT professionals

This is a great tool for folks who know how to interpret the data.  Be warned, if you use this and on’t know what it it means, you are the same folks that will go on WebMD and then tell your doctor what prescription you need.

http://speedof.me/

Command line to disable Windows 10 update

Put this in a batch file

rem Take ownership
takeown /f C:\Windows\System32\GWX /r /d y

rem Set Permission
icacls C:\Windows\System32\GWX\* /grant %USERNAME%:F

Rem Kill process
taskkill /f /im gwx.exe
taskkill /f /im GWX.exe

Rem Remove Folder
rd /S /q C:\Windows\System32\GWX

 

A great discussion on OS use in Computer Science education

What makes Windows a “bad” OS? Why does the computer science world force Linux on you?

I have worked on linux in school and I don’t hate it but I don’t see what it has that windows doesn’t (so far). The differences I do see on linux are manually done things, things that are automated on windows. Besides being free and no viruses(because I have avoided viruses my whole life through smart web searching/downloading) what are advantages over windows? *Also why can’t a computer scientist like me fix the problems windows does have*? I mean isn’t that the purpose of my degree? I’m sorry if I sound like a windows fanboy but I just want a totally performance/convenience based reasoning.

*I know windows is closed source but let’s just say I mean to join Microsoft and help fix it*

Via quora

#programaday : Find Teamviewer ID and email it….

Assumptions :

Sendemail program is in c:\sendemail\

IF @OSArch = ‘x86’ Then
$tv=”HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer”
Else
$tv=”HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamViewer”
EndIf

Sleep(1000)
emailID($tv)

Func emailID($tv_key)
Local $file2send = “c:\2em.bat”
Local $sVar = RegRead($tv_key, “ClientID”)
$em=”c:\sendemail\sendemail.exe -f <My Email> -t <My Email> -u ” & chr(34) & ” TV on ” & @ComputerName & ” is ” & $sVar & chr(34) & ” -m ” & chr(34) & ” TV on ” & @ComputerName & ” is ” & $sVar & chr(34)
FileCreate($file2send ,$em)
; MsgBox($MB_SYSTEMMODAL, $file2send , $em)
ShellExecute($file2send)
Sleep(8000)
FileDelete($file2send)
EndFunc
; Create a file.
Func FileCreate($sFilePath, $sString)
Local $bReturn = True ; Create a variable to store a boolean value.
If FileExists($sFilePath) = 0 Then $bReturn = FileWrite($sFilePath, $sString) = 1 ; If FileWrite returned 1 this will be True otherwise False.
Return $bReturn ; Return the boolean value of either True of False, depending on the return value of FileWrite.
EndFunc ;==>FileCreate