Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Restore folder from .lnk

The following vbScript will rename all folders having extension like folder_name.someExtensionand make them with previous names.

create 2 files: 1. script.vbs 2. rename.bat

script.vbs

Set objFS = CreateObject(“Scripting.FileSystemObject”) strFolder = objFS.GetAbsolutePathName(“.”) Set objFolder = objFS.GetFolder(strFolder) For Each Folder In objFolder.SubFolders Folder.Name=Mid(Folder.Name,1,InStrRev(Folder.Name,”.”)-1) Next

rename.bat

cscript /nologo script.vbs

Place them is same folder where changed folder are. […]

Enabling Use Of Apache Htaccess Files

WARNING: This page was written based on Ubuntu 10.04 (Lucid), although the same may apply to other releases. You are encouraged to also read:

The related ubuntu server guide (Choose your distribution version > “Ubuntu Server Guide” > “Web servers”). The apache htaccess tutorial: http://httpd.apache.org/docs/2.0/howto/htaccess.html

By default, Ubuntu’s Apache will ignore the directives in your […]

Disable directory listing/browsing – Apache

Often, you don’t want your website users to browse the whole content of a public folder. They will still be able to download files contained in it (like javascript or css files) but not to list all of them for no reason.

This can be achieved in different ways. For example modifying the apache configuration […]