#barbados #CarPIF #openix #hustlengrind #banksbeer
Category Archives: #ITNinjaSkills
Soo…..that’s it ? Windows 10 is the Last Version of Windows
– See more at: http://thehackernews.com/2015/05/microsoftwindows10.html#sthash.B4eiqFmD.dpuf
A great article on the next age in human development
This article confirms what I thought.
Nobody wants to say it outright, but the Apple Watch sucks. So do most smartwatches. Every time I use my beautiful Moto 360, its lack of functionality makes me despair. But the problem isn’t our gadgets. It’s that the future of consumer tech isn’t going to come from information devices. It’s going to come from infrastructure.
A Blackberry Passport in the lab
Been doing some testing of the Blackberry Passport and must say, I am quite impressed.
Pluses :
- Running Android Apps (via Amazon Store and 3rd Party Sources)
- Big screen
- Physical Keyboard
- Keyboard that can be swiped !
Negatives :
- It’s a Blackberry ! 🙂
Finally got DD-WRT on the Linksys E2500 v3
Thanks to this link. Now will make this my dedicated Wireless Access Point in my lab.
Can technology solve the problems of the Caribbean?
As a Technologist, I wonder if the problems in the Caribbean can be solved by technology. The short answer is yes. For this reason, it is my mandate in life to implement technical solutions to various facets of my life and hopefully, those around me can learn and adapt to the new paradigm that the region will have to adhere to.
A WinZip sale…..
ISP Bandwidth test monitoring
This allows you to test your internet service and get an regular email with the bandwidth test.
Requirements
- Speedtest CLI
Install
Python -c:\python
Speedtest_CLI – c:\scripts
SendEmail – c:\scripts\sendEmail
Crontab -(Default)
Setup
- Create folder c:\scripts
- Run and connect to Atlanta Comcast
- Hosted by Comcast (Atlanta, GA) : Server # 1767
- c:\python34\python c:\scripts\speedtest_cli.py –server 1767
- See Results below for example
- Batch File ( c:\scripts\speedtest.bat )
- Add to Crontab
Every hour – 0 * * * * c:\scripts\speedtest.bat
c:\scripts\speedtest.bat
date /T > c:\scripts\ga.sp
time /T >> c:\scripts\ga.sp
c:\python\python c:\scripts\speedtest_cli.py –server 1767 >> c:\scripts\ga.sp
c:\scripts\sendemail\sendemail -f %COMPUTERNAME%@%USERDOMAIN% -t stanford@tech.vi -u “SpeedTest %DATE:~4,2%-%DATE:~7,2%-%DATE:~-4%” -o message-file=”C:\scripts\ga.sp” -a “C:\scripts\ga.sp”
Results (e.g) :
Retrieving speedtest.net configuration…
Retrieving speedtest.net server list…
Testing from Communications Technologies (xx.xx.xx.xx)…
Hosted by Comcast (Atlanta, GA) [2588.72 km]: 126.965 ms
Testing download speed………………………………….
Download: 4.06 Mbits/s
Testing upload speed…………………………………………..
Upload: 4.30 Mbits/s
IT Ninja Tools -ver 0
Windows
Find what is running on specific ports : netstat -a -b -n
Install Telnet from command line : pkgmgr /iu:”TelnetClient”
code … killproc.c
This week is Computer Science Education Week. As part of their Hour of Code, I will be posting my source code from as far as back as possible.
It’s a bunch of gunk and fudges, so don’t judge me. BTW… everything is BSD licensed.
After years of having to do it either manually through Task Manager or using a scripting engine like AutoIT, I finally settled down and wrote my own Win32 application that does massacres processes that I don’t like. Will post source code later. Note that this kills all instances of the specified process. Usage : killproc.exe […]
killproc.c
#include<windows.h>
#include<process.h>
#include <Tlhelp32.h>
#include<winbase.h>
#include<stdio.h>
#include<string.h>
void killProcessByName(const char*filename){
HANDLE hSnapShot =CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0);
PROCESSENTRY32 pEntry;
pEntry.dwSize =sizeof(pEntry);
BOOL hRes =Process32First(hSnapShot,&pEntry);
while(hRes){if(strcmp(pEntry.szExeFile, filename)==0){
HANDLE hProcess =OpenProcess(PROCESS_TERMINATE,0,(DWORD) pEntry.th32ProcessID);
if(hProcess != NULL){
TerminateProcess(hProcess,9);
CloseHandle(hProcess);
}
}
hRes =Process32Next(hSnapShot,&pEntry);
}
CloseHandle(hSnapShot);
}
int main(int argc, char * argv[]){
if (argc>1)
{
killProcessByName(argv[1]);
printf (“Killing process named %s\n”,argv[1]);
} else
{
printf (“Usage : killproc <procname>\n”);
}
return 0;
}