Introduction The distinction between regular and static variables in C++ is a such a confusing topic for many beginners including students and programers. In this short article, I am going to provide an brief explanation and hopefully remove the ambiguity. I personally believe that the root cause of confusion is due to lack of context.
Introduction Before we start, I recommend that you read this post first. It talks about concurrency in operating systems and clarifies the main difference between multitasking, multithreading, multiprogramming and multiprocessing. If you are done, let us proceed and define some relevant terms so that things are put into perspective. In this article, I am targeting
System Call In order to better understand the difference between different call types, let us set some context for discussion. We are referring here to modern operating system (OS) design concepts. So, what are the main goals of having an OS in the first place ? Well, the OS achieves two primary goals for users.
If you want to view and decrypt SSL connections (https) sent from your mobile device or if you are getting the message “ssl proxying not enabled for this host: enable in proxy settings, ssl locations” then you came to the right place. Here is a tutorial on how to do that: Charles SSL certificate iPhone
Winexe can be used to invoke remote Windows commands from Unix based system like Linux. Follow the steps below to build and install Winexe… installation Steps Download winexe from sourceforge Copy source code to the linux machine for example: scp winexe-1.00.tar.gz user@linuxhost:/path/to/winexe ssh to the linux machine and extract the package you just uploaded in
Problem I have an application on Windows running as a daemon. I want this app to keep running all the time. If the application is closed by mistake or crashes for some reason then I need a way to automatically restart the application and send a notification about the event. Solution I prefer simple tools
Problem We have a cluster of servers all running the same software. Upgrading a node is as simple as extracting a zip file and overwriting the existing installation. This sounds a simple task but at some point the number of nodes might become large enough to make the upgrade a tedious process. Upgrading our cluster
The rsync command can be used to sync files between Unix machines or between a Unix machine and Mac computer. Here is the syntax What if you want to copy files from a Unix machine to a local Windows machine. Here is how: Install http://sourceforge.net/projects/grsync-win on the windows Machine then launch it and fill as
I wanted to monitor the log files of 8 server nodes in a cluster installation. I used notepad at the beginning and it was a painful experience. I tried nodepad++ and the tail command for windows but it was not that better. I did a quick research and found an amazing free and easy to
I wanted a proxy server installation with basic authentication. Squid proxy server is a well known open source proxy server but it is mainly for Unix. If you want to try Squid for Windows follow the steps below: Downlaod squid for windows: http://squid.acmeconsulting.it/download/squid-3.0.STABLE23-BZR-bin.zip Extract to C:\\squid Go to c:\\squid\\etc Rename squid.conf.default to squid.conf Rename mime.conf.default