Categories
Windows

[Windows] Copy Long File Path Error, Internet Exporer

You copy from a location to another location and got error as describe as following message and picture: The file name(s) would be too long for the destination folder…. I got the error on my Windows 7, SP1. Of course, you can have the same issue on Windows 8. I use Windows Explorer to try…

Categories
Drupal

[Drupal] Disable secure connection (https://)

You might sometimes want or face issue that your drupal always redirect to secure connection (https://) protocol. You might want to disable it, especially in local development environment. Note: It’s always a good idea to have the secure connection in production server if it’s available, but normally it costs you extra on that feature on…

Categories
Windows

Start Menu Search Box is Missing [Windows 7]

On Windows 7, in some case, when you click your Windows’ start menu, your search programs and file box is missing from there as this one: As we expected, the search box here as example: Here is the way to enable/disable the search box.   Solutions 1. Open Control Panels 2. Find Programs and Features…

Categories
Java

Monitor Java Application with JConsole

You might need to monitor your java application in order to examine the memory or CPU usage. JConsole is free and available in your JDK from version JDK 5 up. About JConsole Jconsole is a JMX-compliant monitoring tool.  It uses the extensive JMX instrumentation of the Java virtual machine to provide information on performance and…

Categories
Unix OS

Configure DHCP Server [Unix/Ubuntu]

Here is a small draft steps in order to allow you to setup and configure DHCP server on Unix/Ubuntu. If anything to improve or comment, please put your comment in below. Install DHCP server Packet  sudo apt-get install isc-dhcp-server   Enable DHCP server Network Interface Enable the DCHP server on your network interface (in my…

Categories
WordPress

WP – How to display posts from a category

Listing posts by category in WordPress theme development is also interesting, people could manage different way, any way, here are ones that you might interesting to try. Simple If you want to display posts from a single category in your WordPress theme, you should add the following line below the Loop: <?php query_posts( 'cat=23' );…

Categories
Khmer Unicode

How to Convert MS Word with Limon Font to Khmer Unicode

First of all, we don’t have a concrete tool to convert directly the MS Word with Limon font to Unicode directly. The current tool published by KhmerOS is available for text file or Openoffice file only. So here is my instruction to make it: 1. Convert the Limon MS Word to OpenOffice Format Install OpenOffice:…

Categories
Windows

Link Two Folders for Data Synchronization in Windows

In some cases, you need two folders in your PC to be synchronized to each other, example synchronize data between folders in your dropbox to local PC in order to save your time in copy it back or some other cases. Here I would like to show a simple way to use in Windows 7…

Categories
Apache Tomcat

Deploy Application via Apache Tomcat Context

Apache Tomcat is a Java web application server that provides possibility to deploy your Servlet application. There are two ways to configure your different web application to deploy in tomcat: server.xml via Context file Most of the case, it’s discouraged to configure the deployment on server.xml so here I propose for deploying application using context…

Categories
Java

Sample layout pom.xml for Java project

To make you get into Maven 2 project easily, let’s have a look to pom.xml general layout for Java project, here it is: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.osify.training</groupId> <artifactId>sample-java-training</artifactId> <packaging>jar</packaging> <name>Osify Training Sample</name> <description>Osify Training Sample</description> <version>1.0.0-SNAPSHOT</version> <parent/> <prerequisites /> <repositories/> <scm/> <properties/> <dependencies> <dependency/> </dependencies> <build> <sourceDirectory>src/main/java</sourceDirectory> <outputDirectory>target/classes</outputDirectory>…