How to find Bluetooth & WLAN MAC address of Nokia mobile device
I needed the latter one to whitelist my N86 on my home wifi network so thought of keeping the codes as reference for future use.
At the standby screen (idle position), just type in the following codes :
Bluetooth MAC address
Printscreen doesn’t work with Photoshop – Solution
Recently I've had a couple of incidents when pasting screenshots from printscreen into Photoshop didn't work — Alt Print Screen or Printscreen. Read more
The operation failed. The error is: This operation cannot be performed on the current domain
Keep getting the following error message while trying to configure trusted relationship between domains
"The operation failed. The error is: This operation cannot be performed on the current domain" ?
Specifying users / group with Remote Desktop permissions through Group Policy
Grant terminal services log on permission using GPO
To grant log on permission for a user or group, create and apply the following policy:
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Allow log on through Terminal Services
Windows Server 2008: Install Windows PowerShell
PowerShell, Microsoft’s replacement for the commandline, is included with Windows Server 2008, but you do need to install it. Here are the steps you need to take to get PowerShell up and running on your server:
1. Click Start and select Server Manager.
How to remove Delegate Control on Active Directory
Smarty error with Google Analytics
The error appears after modifing a page and load it for the first time.
If the analytics tracking code removed from the template (*.tpl), the error does not appear.
Solution:
wrap around your js code with {literal} {/literal}
Example:
Use .htaccess to Deny Access Directory Listing
Don’t have an index in all your directory’s? Many people create a blank index.html file in every directory to prevent directory listing. It’s ok for a small website, but imagine if you have a website that has hundred or thousand directories. The easiest way is to write a htaccess file, include the following line in your .htaccess file to deny access to all the directory listings, if there is no index file.
Options -Indexes
Changing default gateway on MS Windows using command line
Despite the fact this post is quite fat from Ubuntu or Linux I decided to puclish it here as find this usefull and sometimes neccessary.
So here we are on how to update default gateway using command line:
netsh interface ip add address “local area connection” gateway=100.1.1.5
gwmetric=2
How To search for an string in a file using grep
grep searches the input files for lines containing a match to a given pattern list. When it finds a match in a line, it copies the line to standard output (by default), or does whatever other sort of output you have requested with options.
grep can simply be invoked: $ grep ‘STRING’ filename
keep looking »

