OCT Blog

Functions in JavaScript – function objects expressions

Functions in JavaScript

Before stating anything new, I assume you have some idea on functions used in programming languages. Here I have shown how JavaScript is different from traditional function usage in c c++ Java. The traditional use of functions used here in statement form. Continue reading “Functions in JavaScript – function objects expressions”

Install Java jdk8 in Ubuntu 14.04 from .tar.gz archive files

Installing Java8 in Ubuntu manually unzipping .tar.gz archive. Unzip the archive file , then place it /opt directory in ubuntu & use the linux commands.

If you want to install JDK / JRE in Ubuntu 14.04 LTS version then just download the archive file jdk1.8.0_66.tar.gz. The file name will be of this type jdk1.8.0_66.tar.gz , after downloading you have to put it in /opt/ directory. Use the following steps to install java 8 manually in Ubuntu 14.04 LTS version from jdk1.8.0_66.tar.gz archive files. Continue reading “Install Java jdk8 in Ubuntu 14.04 from .tar.gz archive files”

Add custom menu, Add theme locations & register new menu

Wordpress developers guide to add custom menu in a new wordpress theme. Adding theme locations, menu locations, register new menu, menu locations and integrate menu in templates using register_nav_menu & wp_nav_menu functions.

A WordPress developers guide / tutorial – for adding custom menu in new wordpress theme, add one or multiple new theme locations for the custom WordPress menus, so that menu can appear in those places. Register new menu items. Enable your new wordpress theme to add custom user defined nav menus from the admin dashboard. Continue reading “Add custom menu, Add theme locations & register new menu”

Ubuntu : Add user to a new group, existing group, group creation

In Ubuntu the linux commands to add an user to a new group, add user to an existing group, creating a new group etc.

To add a user to an existing group:

$ sudo adduser <USERNAME> <GROUPNAME>

To make a new group:

$ sudo addgroup <GROUPNAME>

See Which Groups Your Linux User Belongs To

$ groups <username>

If you don’t enter a username, it defaults to your own username. For instance:

$ groups

Remove a user from an existing group in Ubuntu

$ deluser <username> <groupname>

Install Eclipse manually offline in Ubuntu 14.04

A how to guide- Install the Eclipse software manually off-line In Ubuntu 14.04 LTS, after downloading the tar.gz file from website, install the latest eclipse version.

How to install Eclipse java editor in Ubuntu 14.04 LTS manually after downloading Eclipse from the eclipse.org website. This is a guide for offline installation of Eclipse software. Continue reading “Install Eclipse manually offline in Ubuntu 14.04”

Install java netbeans offline manually in ubuntu 14.04 LTS linux

How to install Java Netbeans package manually in ubuntu 14.04 LTS linux operating system (after downloading netbeans from the Netbeans or Oracle website).

How to install Java Netbeans package manually in ubuntu 14.04 LTS linux operating system (after downloading netbeans from the Netbeans or Oracle website). Continue reading “Install java netbeans offline manually in ubuntu 14.04 LTS linux”

Setting up virtual host in Ubuntu 14.04 localhost

Setup Virtual Hosts In Apache On Ubuntu 14.04 LTS for PHP testing, wordpress test install in Ubuntu local server, i.e localhost.

I was searching for a guide to setup Virtual Hosts In Apache On Ubuntu 14.04 LTS installation in my local PC running ubuntu 14.04 lts. I was able to setup the Ubuntu local virtual host by reading this guide. Read the full guide here. The URL shown below.

http://www.unixmen.com/setup-virtual-hosts-apache-ubuntu-14-04-lts/

Read the help of VI Editor Here

Virtual Hosts are used to setup more than one domain or websites using a single IP address. This is very useful if anybody wants to run multiple websites using a single IP address on single VPS.

In this tutorial, let me show how to setup virtual hosts in Apache web server on Ubuntu 14.04 LTS. Be mindful that this tutorial is only tested On Ubuntu 14.04 32bit edition. I may not issue any assurance that this will work on all other Ubuntu lower versions and Ubuntu derivatives.

Configure Eclipse PHP IDE for WordPress

Want to use Eclipse Editor for Wordpress coding ? This is a good short Video tutorial and Know how to configure Eclipse free PHP editor (Luna / Helios etc) for wordpress web development

For the beginners to Eclipse (A popular FREE PHP editor), it becomes a nightmare how to configure and use Eclipse PHP Editor properly. In fact I have also struggled with it. There are lots of PHP developers like me who also use Eclipse editor for WordPress coding , from theme design to plugin development.

This is a good short Video tutorial and by viewing it you shall learn – how to configure Eclipse PHP editor (Luna / Helios etc) for wordpress web development. For WordPress training centers in Kolkata click here Continue reading “Configure Eclipse PHP IDE for WordPress”