Wednesday, October 17, 2012

Running webinos widget browser with custom sources

Having installed the webinos widget browser on windows it works fine but if you want to run it using the latest webinos sources from the repository or even use your own custom version, then you need to do some more steps.
So here's the process.

Wednesday, October 3, 2012

Building openSSL on windows

In order to build openSSL from the source code you will need to install a couple of third party free software. In this post I describe what I did on a virgin windows pc in order to build openSSL 1.0.1c.

Windows Autologin

Sometimes you might need to set a user password although you don’t really need to. The most common reason to set one is to allow the user to connect through remote desktop. This will force you to authenticate every time you boot the machine. In order to avoid that (please make sure you do understand the security risks of doing that, I personally use this only on my virtual machines and only if I don’t care about securing my files) you can follow these simple steps.

Friday, September 21, 2012

Unable to create a site based on the “Enterprise Search Center” template

I have run into a site collection which couldn’t create a search site (they were trying to create one using the “Enterprise Search Center” template) although you could create one in the same sharepoint farm if you created a new site collection (based on the existing templates and even blank). The only obvious difference was the template they created the site collection from, which was the root of all evil.

Thursday, September 13, 2012

Modifying devices and drivers on windows

In this post I am going to show how to reset the auto numbering of new devices, how to see drivers for devices that are not connected on your pc and how to see which usb is connected to which usb controller in order to maximize the data throughput by using both controllers (which is the case of most modern laptops).

Sunday, August 5, 2012

MySQL drop all tables that follow a pattern

Playing around with drupal I had to drop all tables that were created by a module. To do so I used the following chain of commands :
mysql -u your_user -D your_database_name -e "show tables" -s | 
  egrep "^Whatever_" | 
  xargs -I "@@" echo mysql -u your_user -D your_database_name -e "DROP TABLE @@"

This will print out all the shell commands to drop the tables beginning with "Whatever_" (note the ^ regex notation). If you want it to actually execute those commands, remove the word "echo".

“Request for the permission of type 'System.Web.AspNetHostingPermission’” fix

If you try to transfer an old DNN installation to a brand new Windows Server 2008 R2 you will probably run in the following run time error:
" System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."