Tag Archives: fluxbytes

How to keep your screen always on

On most systems this can be configured by going to Control Panel --> Power Options --> Choose when to turn off the display, but there are always some situations that this solution will not suffice. As an exmaple, the last time I faced this problem, Active Directory’s settings were overriding my system’s settings, which caused my display to turn off every 5 minutes regardless of how much I tried to tweak it using the Power Options.

As a workaround I decided to create a small application that would just keep the screen from turning off. I decided to share it with you in case you ever find yourself in a similar position.

You can download the program here.

If you know a bit about programming you can take a look at the source code below that will give you an idea on how this is achieved.

The theory behind this solution is very simple. We are using the SetThreadExecutionState windows function to notify the system that the screen should stay on.

Flags Descriptions
ES_AWAYMODE_REQUIRED (0x00000040)
Away mode should be used only by media-recording and media-distribution applications that must perform critical background processing on desktop computers while the computer appears to be sleeping. See Remarks.

ES_CONTINUOUS(0x80000000)
Informs the system that the state being set should remain in effect until the next call that uses ES_CONTINUOUS and one of the other state flags is cleared.

ES_DISPLAY_REQUIRED(0x00000002)
Forces the display to be on by resetting the display idle timer.

ES_SYSTEM_REQUIRED(0x00000001)
Forces the system to be in the working state by resetting the system idle timer.

QR Workshop – A portable QR code reader and generator

QR Workshop is a free, open source and portable application that allows you to generate QR codes of your choice.

As you can see below the interface is minimal and very simple to use. In order to generate a QR code you simply need to specify the dimensions (width and height) of the image you would like to create and enter the text that will be encoded in the QR code image itself. Then simply press generate and save the image.

QR Workshop Generate

The result image:
QR Workshop result

QR Workshop can also be used as a QR code reader which allows you to decode and display the information that is encoded within a QR code image. In order to do that you have to switch to the QR Code Reader tab, drag&drop the QR code image in the text field or simply click the browse button next to it in order to open the file browser which you can use to select one. Finally after you have selected the image of your liking click Decode.

QR Workshop Reader

QR Workshop requires Microsoft .NET Framework 3.5 and Windows XP or higher in order to run properly.

Download

ResWatcher is now available

ResWatcher is a lightweight and portable utility that displays the resource usage (CPU/Memory/Hard disk/Network) of your system.

ResWatcher Features:

  • Free.
  • Portable (No installation required).
  • Allows you to monitor your total download and total upload (extremely useful feature when bandwidth is limited).
  • Displays the top 5 processes in terms of CPU usage, making it easy to find the processes that slow your system down.
  • Minimizes to the traybar in order to give your more taskbar space for your important applications.

ResWatcher CPU Monitor

ResWatcher CPU Monitor

FileUnsigner – Remove digital certificates from files

This small tool was created to simplify the process that was discussed at Remove digital signature from a file using C# and simply aid the people that didn’t have the knowledge on how to compile the code posted there.

This is a small standalone tool that will simply remove the digital signature of any file.

The usage is fairly simple. Either drag and drop the files you want to unsign on the application or use command prompt with the following parameters:

FileUnsigner.exe <options> <file1> <file2> …

Current Options:
/f            Forces the program to remove a digital signiture even if one is not detected.

TextCrypt Suite Online now available

Since I had some spare free time and had fun playing with CSS, Ajax and PHP creating TextPlay Online, I decided to make an online version of TextCrypt Suite as well.

The current version supports 17 algorithms and 27 methods for encrypting and decrypting text. I will be adding more in the near future.

You can access it by using the top navigation bar or by simply clicking this link: TextCrypt Suite Online.