Last time we talked about how to clear DNS Cache in Mac.
Mac – Clear DNS Cache
How about flushing DNS Cache in Windows? The following command will do. Open command prompt and enter it. Continue reading Windows – Clear DNS Cache
I want to share a folder in my Ubuntu virtual machine to my Windows host. That folder contains the Rails applications such that i can edit them on the Windows host.
1. Install the Samba server
As i want to develop a Rails application, i would like to have an editor like TextMate which i can use in Windows. It seems that Notepad++ would be a good option but it does not have a project explorer for me to switch the files.
Luckily, there is a Notepad++ plugin called Explorer where you can add the project explorer view.
1. Download it from Notepad++ Explorer Plugin.
2. Extract the archive and put the .dll file into <Notepad++>\plugins folder. Continue reading Notepad++ – Explorer Plugin
Usually, people got more than one website in the Apache web server and sometimes they want to separate them into different domain names. This can be done by the Apache VirtualHost.
The following example is done in Mac MAMP, i guess the configuration on Linux and Windows should be similar. Let’s start now.
1. I have 2 folders in the Apache webroot folder
The Java Naming and Directory Interface (JNDI) is the standard Java API for multiple naming and directory services such as Lightweight Directory Access Protocol (LDAP).
Active Directory is a group of network services like account authentication and it supports LDAP. Therefore, you can write a Java program using JNDI in order to obtain the account credentials in the Active Directory of a Windows Server. Here comes the example. Continue reading Java – Connect Windows Active Directory Through LDAP @ 1