Tips


LIBEAY32 Fix for Corsair Utility Suite (CUE)

The Corsair Utility Suite (CUE) at many setups crases at the system startup reporting an error of access at LIBEAY32.DLL

About this fix

This fix contains the appropriate version of LIBEAY32.DLL ver.1.0.2.12 borrowed it from The OpenSSL Project and automate its installation in the Windows folder.

This Fix packaged with Inno Setup System, with the care of Petros Kyladitis, with the hope to be usefull at CUE users arround the world.

OpenSSL Shared Library

Copyright (c) 1998-2018 The OpenSSL Project
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson

Download

Download Fix


Windows shortcuts: Remove arrow & Make extension visible

Shortcuts at MS Windows look like the Unix symbolic links, but it’s not. Shortcuts are files containing info to open or execute a resource on the disk (program, file, folder etc.), instead of symbolic links which are references on the file system.

Make extension visible

By default the shortcut’s extensions are hidden, even if you select to view and the known file extensions. To make them visible, you can open the registry editor, go to the key HKEY_CLASSES_ROOT\lnkfile and delete the string value NeverShowExt.

Remove arrow

If you like to remove the shortcut arrow of yours shurtcuts at the desktop or windows explorer, open the registry editor, go to the key HKEY_CLASSES_ROOT\lnkfile and delete the string value IsShortcut.

Apply

To apply the previous changes, you must restart your sustem, or logout (no fast switch) and re-login your user account.


Show Windows version on desktop

At beta versions of MS Windows it’s common to see the OS version details at the right bottom of the desktop, in the front of wallpaper.

It is not just a privilege of beta versions, you can make visible those OS version details by do some registry changes.
In particular open the Registry Editor (regedit.exe), go to HKEY_CURRENT_USER\Control Panel\Desktop key, open the PaintDesktopVersion value and change its data from 0 to 1


Fix for Xperia XA NFC issue after update to Android 7

The owners of Sony Xperia XA (single SIM models XA F3111, F3113, F3115, and dual SIM variants F3112, F3116), after apply the official Sony’s update to Android 7.0 – Nougat, may be faced problems with enabling and working with NFC.

The solution solution of this problem is so easy:
Just clear the system’s cached files (Tap Settings → Storage & Memory → Tap Details → Tap Internal Memory → Tal Cache Data and Answer positive at the question of Clear the Cached data) and restart their devices!


Rewrite GET requests as virtual sub-folders in Apache

apache-logoIn search of a solution, to rewrite an one-parameter GET Request as virtual sub-folders, limiting it to specific values, I concluded to write the above Apache .htaccess rewrite rule.

This script, rewrite the value of the parameter named id, with the accepted values a,b or c as virtual sub-folders of a destination.

Script

RewriteEngine On
RewriteRule ^(a|b|c)\/?$ /?id=$1 [L]

Example

  • http://myhost.com/a/ rewrited as http://myhost.com/?id=a
  • http://myhost.com/a rewrited also as http://myhost.com/?id=a
  • http://myhost.com/d is not rewrited

Solution for “Task failed because sgen.exe was not found”

xml_objectTrying to compile a C# project with some Web Referenes via the SharpDevelop IDE I take an error message, that the “Compilation task failed because sgen.exe was not found”.

Sgen.exe is a XML Serializer Generator tool which creates an XML serialization assembly for types in a specified assembly in order to improve the startup performance of a XmlSerializer when it serializes or deserializes objects of the specified types. The Sgen.exe tool generate those assemblies in advance and these assemblies can then be deployed with the application. The XML Serializer Generator can also improve the performance of clients that use XML Web service proxies to communicate with servers because the serialization process will not incur a performance hit when the type is loaded the first time. These generated assemblies cannot be used on the server side of a Web service. This tool is only for Web service clients and manual serialization scenarios.

By default, the project properties set the “Generate serialization assembly” to “Auto”. And this generate the error when going to build a project that the system found the need of Serializer Generator usage, and the tool not found.

One simply and fast solution is to set the “Generate serialization assembly” property to “Off”, but this is not a good idea in general because when the XML Serializer Generator is not used, an XmlSerializer generates serialization code and a serialization assembly for each type every time an application is run.

The sgen tool does not installed with the .net framework, but with the only with the MS SDK for Windows 7 and .NET Framework, so, the fastest and lightweight sollution available, without installing the MS Whindows SDK, is it to download the SDK in iso format, open the iso images with an archive manager wich support iso files (such as the open source 7Zip) and extract the sgen tool following the steps above:

  • Firstly extract the SDKISOFILE.isoSetupWinSDKNetFxToolscab1.cab
  • Open the extracted cab1.cab and extract the files FL_sgen_exe_94980_94980_x86_ln and FL_sgen_exe_config_x86
  • Rename the first file to sgen.exe and to sgen.exe.config the other.
  • Put these files to C:WINDOWSMicrosoft.NETFrameworkv3.5
  • And you finished! Now try to compile your project 😉

 
——
*in my example I use the .net framework 3.5, for another version you must download the appropriate SDK and put the files at the C:WINDOWSMicrosoft.NETFrameworkvX.X you target.


Updated Crossflash Firmware for Linksys WAG200G

openwag1.4The Moho’s Crossflash Firmware (that converts annex B to A and vice versa) for Linksys WAG200G, wich are based on Open WAG200 have been updated to version 1.4

If you already had installed any prior version of these firmwares, to update to the new version you must select the same annex as your router is, before the prior update.

(For example: you have a annex B router and you had installed the Crossflash Firmware B to A v1.2 to covert it to annex A, so, to upgrade to v1.4 you must install the Crossflash Frimware B to A v1.4, NOT the A to B.)

 
For downloads and more info see Linksys WAG200G convert annex B to A and vice versa post.
 
(more…)


Unexpected PHP session_start() error

When you write PHP code with sessions, and without any apparent reason you got a message like

ERROR Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by…

and you are sure that the session_start() function is before any other code, or you don’t have made any other mistake, don’t start checking your code or make any changes at it.

Maybe it’s a problem with the file encoding. Using session_start() function, in a unicode encoded file mainly at MS Windows throws the above error, because many Windows programs using Unicode with BOM and add the bytes 0xEF, 0xBB, 0xBF at the start of any document. So, this sends the standard html header before the cookie and makes this the php statement invalid.

The solution is to change the file encoding to Unicode WITHOUT BOM. If you’re using Notepad++, just go the Encoding menu and make the appropriate selection, as shown in the image.


Bringing a dead Nokia phone back to life

If the firmware updating, or any other experimental process, failed and your phone becomes brick. It’s not a good experience. But the hope dies last. So, a solution to this problem called NAViFIRM and J.A.F.

With the first you can download the original firmware for your phone. It’ very easy to use, just you need to know is your phone’s model and the firmware version you want (usually the latest). NAViFIRM downloads and save at the appropriate path (C:Program FilesNokiaPhoenixProductsRM-xxx) the files needed by J.A.F. to flashing your mobile.


After you got downloaded your firmware files, J.A.F. get to do the dirty job. First of all, select Manual flash, Dead USB, Factory Set, Normal Mode from Flash Settings and Life Time Reset from Service Settings. Then, at Flash Settings select INI option. Now, J.A.F. opens a dialog to select your mobile model. Then click FLASH from Operations group.

Now follow the J.A.F.s instructions: with the sim card inserted, unplug the battery, plug it again, connect your phone with the Nokia CA-101D usb data cable to your computer and press the your phone’s power button.

That’s all! With some good luck your phone will become alive!