Author: kumkum

Yii2

Yii2 Custom Action Button

Use the following format code to make custom action button in Gridview:

Read More
Featured
Linux
Technology

How to Create Bandwidth Usage Script on Linux

Using a tool called iftop we can monitor bandwidth usage via command line on Linux. But here we will create our own shell script to monitor bandwidth usage. The idea is to read rx_bytes and tx_bytes files inside /sys/class/net/[interface]/statistics/ folder. Create netspeed script in /usr/local/bin/ and copy and paste below script. Script content: Exit nano […]

Read More
Featured
Technology
Tips and Tricks
Tutorial
Windows

How to Create Windows 7 Installer on USB Thumbdrive using Diskpart

We need Windows 7 installer on USB thumbrive for laptop which doesn’t have DVD Drive. Below are steps on how to create Windows 7 installer on USB Thumbdrive. 1. Prepare a USB Thumbdrive with minimum 8GB size and a Windows 7 DVD installer. 2. Plug the thumbdrive and insert Windows 7 DVD into tray. 3. […]

Read More
Featured
PHP
Technology
Wordpress

How to Change Excerpt Length in WordPress

Function the_excerpt() can be used to show summary of article or post in WordPress. As default, the excerpt length is set to 55 words. We can control this length by adding few lines code in functions.php file inside theme folder. Below is the codes to change excerpt length in WordPress. Open File Manager and open […]

Read More
Featured
Internet
Technology

How to Install Google Analytics Code in Blogspot

For you who are new in using Blogspot and do not know how to install Google Analytics code on your Blogspot website, here is the tutorial how to do it. Actually, install Google Analytics code can be done by copy and paste the javascript code into HTML/Javascript Gadget. But don’t you know that Blogspot already […]

Read More
Featured
SQL
Technology

Tutorial SQL: Select, Insert, Update, Delete

The following tutorial can be used as dictionary for beginner on SQL syntax. SQL syntaxes are used to manipulate data which are select, insert, update, and delete on database. 1. Select Select command is used to get rows of data from table. Syntax: Example: 2. Insert Insert command is used to insert row to table. […]

Read More
Featured
Technology
Windows

How to Check System Uptime on Windows

On Linux operating system, we can use command top to show system statistic, running processes, and uptime. How can we do it on Windows environment? Using Windows operating system, the similar to top command is net statistics server. Execute this command in command prompt will show summary of  Windows system statistic including when the system […]

Read More
Featured
Internet
PHP
Technology

How to Update Twitter Timeline Using PHP

Guide on this article can be used to post Twitter using PHP. First of all, download source code from http://phpfashion.com/twitter-for-php. Extract downloaded file to your folder. Example: /public_html/twitter-php/. Then we create index.php file with the following code: The first line is to setup variables: username, password, and message. And the next part is to setup […]

Read More
Featured
PHP
Technology
Tips and Tricks
Tutorial

How to Fix phpFox Error: “Unable to write to temporary folder: /tmp/”

phpFox is social network web-based application which can be used to build online community. I found this error message when installing phpFox: To fix this problem, edit install/include/installer.class.php Find this line: and modify to this: After that, create new folder: Change the folder permission to 777: After that redo phpFox installation http://domain.com/install/index.php And problem will […]

Read More
Featured
SQL
Technology

How to Insert Data Using Select Query in SQL Server 2005

This guide can be used to insert data into database using select query. Using above syntax, all data in second_table will be copied into first_table. You can also add where keyword. Keywords:sql server 2005

Read More