Category Archives: c-pcos

Windows, Linux, and PCs

Sunrise / Sunset Algorithm Implemented in C / gcc

I needed to port the algorithm I wrote for Pascal to C. See Sunrise / Sunset Algorithm Implemented in Free Pascal / Lazarus for additional information. The C library can be found here. Besides the cpp and h files, there are … Continue reading

Posted in c-pcos | Tagged | Leave a comment

Windows Update Blocker, WUG

One of my biggest issues with Windows 10 is the fact that it updates itself whenever the heck it wants. Yes, there is some control, but not enough. I have multiple Win10 systems that are left off for months and … Continue reading

Posted in c-pcos | Tagged , | Leave a comment

Sunrise / Sunset Algorithm Implemented in Free Pascal / Lazarus

I needed to know sunrise / sunset times and wasn’t happy with any Pascal implementations I found. This code was implemented using the algorithm found at http://williams.best.vwh.net/sunrise_sunset_algorithm.htm http://web.archive.org/web/20160315083337/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm This is a simple unit that can be easily implemented. There are … Continue reading

Posted in c-lazarus, c-pcos | Tagged | 2 Comments

u-blox GPS Activates Windows 7 Serial Mouse Driver

While working with my u-blox NEO-6M I needed to change the baud rate from 9600 to 4800. As soon as I did this, Windows 7 decided it was a Serial BallPoint Mouse. From that point forward I could do nothing … Continue reading

Posted in c-pcos | Tagged | 1 Comment

popfind: CMD Line POP Mailbox Search, View, and Delete

In the very early days of email, I stumbled across a POP mailbox utility that would simply scan the POP server, and then either forward or delete messages based on a few simple critera. At the time, this was a … Continue reading

Posted in c-pcos | Tagged | 11 Comments

Lazarus/Free Pascal Example Using SSL to Access POP Server (Windows)

This covers Lazarus/POP/SSL in Windows. Please go here if you are using a Raspberry Pi. I need to write a command utility that scans a POP mailbox looking for a particular message so it can act. It will be primarily … Continue reading

Posted in c-lazarus, c-pcos | Tagged | 1 Comment

Monitoring Linux-based DHCP

Monitoring DHCP usage on linux seems, to me, to be kind of clumsy. While I am not a Windows Server fan, it was fairly easy to extract DHCP information. Each night I had a process that extracted the DHCP information … Continue reading

Posted in c-pcos | Tagged , | 1 Comment

Fixing Windows 7 Slow Access to NAS

After years of horridly slow access to my home NAS (network attached server), I accidentally stumbled onto the solution. I have looked repeatedly for a solution and never found one that worked for me. None of my XP systems ever … Continue reading

Posted in c-pcos | Leave a comment

Motorola Moto G (Android) Tether Driver for Windows XP

Wow, here I am dealing with drivers for XP again. You’d almost think this operating system were ancient or something. (These instructions were written specifically for the MOTO G and the link to the included driver is for the MOTO … Continue reading

Posted in c-pcos, Moto G Tether | Tagged | 19 Comments

Hard Drives, Advanced Format, and Windows XP

I’ve been refreshing the hardware for all of my primary systems: desktop, laptop, and dedicated photoshop system. I don’t want to rebuild these systems, so I simply copy the partition(s) off the old systems onto the new systems, and reinstall … Continue reading

Posted in c-pcos | Tagged | Leave a comment