Windows .NET in C# Major – Web Interaction With Self Signed SSL Certs. Part 2

Last week, we started making the web interaction class and did the self-signed compatibility functions as well as some setup ones. You can see all that here. Today we get into the meat and potatoes and get started on the functions that will actually send and receive the data we care about. So here we go!
Continue reading

PowerShell tutorial pt.1

Windows PowerShell is command-line scripting environment which uses the Microsoft .NET Common Language Runtime (CLR) and the .NET Framework. But unless you have Windows Server 2008 it doesn’t ship with Windows by default. You can however download it at www.microsoft.com/powershell. You will also need the .NET framework 2.0 if you don’t already have that installed.

Continue reading

Windows .NET in C# Major – Web Interaction With Self Signed SSL Certs. Part 1

I am going to shift gears a bit, actually change cars entirely, and do a windows programming tutorial in Microsoft’s .NET environment using C#. Why? Because the world runs windows and in the World of Windows, the fastest method of development is through the .NET framework and the best language on that framework is, without a doubt, C#. I know. I took a poll. Stats never lie.

In this tutorial we are going to create a class to handle website interactions, giving us a simple way to post or get information from a web server, with or without an SSL cert and even a self signed one. Usually self signed certs present a problem since the cryptographic side tries to validate the authenticity of the cert, presenting problems. We will get around that.
Continue reading

Perl on Linux – Making a Daemon

It's me!One if the nice advantages to linux is the ability to create daemons relatively quickly and get them to do your brute and routine work for you. For this example, I am going to use perl to create the daemon, since perl is the glue that holds the bricks of linux together. Its regex functionality combined with fast and easy syntax makes it almost too easy to use for quick and dirty programming in the text based realm of linux. So without further adieu, the daemon:
Continue reading

Debugging On Linux – Strace

A few years ago, I was taking a few classes from a very up and coming computer science university and during the course of one projects class came to discuss with the instructor the differences between the average students and those excelling. We determined the main differences to be, three in number:

  1. Time and dedication
  2. The ability to tinker and figure things out on one’s own
  3. The art of debugging.

The art of debugging is really quite simple, it is mostly knowing the tools available and how to use them. On the linux platform, surely one of the most powerful and certainly most thorough debugging tool one can use is strace.
Continue reading