Sunday, July 22, 2012

Show Hidden Files and Folder

Read Indonesian Version Here Have you ever had an empty flashdisk or some folder/file disappear when viewed using Windows Explorer, but when use "right-clicked --> Properties" there is a space that is used. Well .. if you are experiencing the same problem, do not format the flashdisk, because chances are your data is hidden. I try to share a little knowledge to all to deal with this problem. OK just do like this. Open your Windows Explore, enter to Tools --> Folder Options --> View. Then Select  Hidden files and Folders...

Tuesday, July 10, 2012

Upgrade Codeigniter Version 2.1.0 to 2.1.2

Read Indonesian version here A few weeks ago codeigniter was release the newest version 2.1.2. Then how do we upgrade CodeIgniter version 2.1.0 or 2.1.1 to version 2.1.2. Here are step by step. Download newest version here Set your site into offline mode Create backup from your file/folder. Replace all file in folder "system" and replace file index.php, with new file has been downloaded (codeigniter versi 2.1.2) Note : If you have any custom file in this folder, copy and paste it from backup. Replace file mime.php located on the config/mime.php To...

Friday, June 29, 2012

Create View on CodeIgniter

Read The Indonesian Version This time the authors would like to share a little knowledge about using MVC model in CodeIgniter, for this example we try to discuss how to Create View on CodeIgniter. Before starting make sure you have the required below Codeigniter versi 2.1.0 can download here Create database with name "latihan" For the first create Table "user" :   id (int 4) autoincrement username (varchar 30) access (varchar 10)   and insert into table, min 2 record. Next create file "view.php" put on application->controller   <?php...

Friday, June 8, 2012

Introduction to Codeigniter

#c{ text-align: center; } #j{ text-align: justify; } #cd{ font-family: cursive; } Read The Indonesian Version CodeIgniter is open source PHPFramework. It's free to use and manipulate as you wish. CodeIgniter uses MVC (Model View Controller) model programming. MVC is a programming concept where logic and layout are separated, so that the programmers and designers can do their job in focus. Codeigniter can download here. Picture MVC model programming Model Used to process the database...

Friday, May 18, 2012

Create Page Number Different Format In One File Ms. Word 2007

Read The Indonesian Version In the past when I make a proposal regarding the final project. I was looking on the internet about how to create different page number format. The first numeral and the second decimal. Finally I found the article "Menyisipkan Format Nomor Halaman yang Berbeda dalam Satu File Word 2007" on Arihdya Caesar's Blog. Here are the steps by step that I do from the reference article Open your file that will be given page number Give the page with the roman numeral format on all pages "Insert->Page Number->Format...

Thursday, May 17, 2012

Create Table of Content Using Ms. Office 2007

Read The Indonesian Version A table of contents, is a list of the parts of a book or document organized in the order in which the parts appear. The contents usually includes the titles or descriptions of the first-level headers, such as chapter titles in longer works, and often includes second-level or section titles within the chapters as well, and occasionally even third-level titles. The depth of detail in tables of contents depends on the length of the work, with longer works having less. The table of contents usually appears after the title...

Wednesday, May 16, 2012

DISTINCT Optimization

DISTINCT combined with ORDER BY needs a temporary table in many cases. Because DISTINCT may use GROUP BY, you should be aware of how MySQL works with columns in ORDER BY or HAVING clauses that are not part of the selected columns. See Section 11.15.3, “GROUP BY and HAVING with Hidden Columns”. In most cases, a DISTINCT clause can be considered as a special case of GROUP BY. For example, the following two queries are equivalent: ...

Tuesday, May 15, 2012

PHP Cookies

Read the Indonesian Version  What is a Cookie? A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values. How to Create a Cookie? The setcookie() function is used to set a cookie. Note: The setcookie() function must appear BEFORE the <html> tag. Syntax setcookie(name, value, expire, path, domain); Example 1 In the...

Monday, May 14, 2012

Create Trigger Syntax

Read the Indonesian Version  Syntax CREATE [DEFINER = { user | CURRENT_USER }] TRIGGER trigger_name trigger_time trigger_event ON tbl_name FOR EACH ROW trigger_body This statement creates a new trigger. A trigger is a named database object that is associated with a table, and that activates when a particular event occurs for the table. The trigger becomes associated with the table named tbl_name, which must refer to a permanent table. You cannot associate a trigger with a TEMPORARY table...

Sunday, May 13, 2012

Install MySQL Workbench on Ubuntu 12.04

Read the Inodesian Version Currently there is no pre-built .deb file or repo available to install MySQL Workbench on Ubuntu 12.04.  One will probably appear soon after official release of 12.04 but at the moment it is still in beta so there are a few extra steps to get it working. NOTE: Once Ubuntu 12.04 moves out of beta there will probably be a better way of doing this so please check the official MySQL Workbench download page and the official 12.04 repos before attempting this. First of all you will need to download...

Saturday, May 12, 2012

PHP Sessions

Read the Indonesian Version  PHP Sessions A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application. PHP Session Variables When you are working with an application, you open it, do some changes and then you close it. This is much like a Session. The computer knows who you are. It knows when you start the application and when you end. But on the internet there is one problem: the...

Friday, May 11, 2012

Login two user account using firefox

When we have several different accounts of email, twitter, facebook and etc. And We wanna login at the same time with firefox. We must create a new user profile in mozila firefox. There are two ways to do it Using the manual method with RUN Do like this. Click Start Menu => Select Run or use the shortcut "CTRL + R" Type "firefox.exe -p -no-remote" And then click "OK", so it will open new dialog box "Firefox -Choose User Profile". Next click Create Profile, follow the steps to finish. ...

Thursday, May 10, 2012

Set Post Align Justify Automatically

In the standard template of blogger. Post that we'll make automatic align left, to make posts align Justify we have to set it every time we make a new post. It's quite complicated because it takes time. Well to make a post on your blog automatic align justify, simply by adding a CSS trick in the HTML template of your blog. Follow the tips. First let me tell, themes that I use is a standard blogger themes, then Find the code below. .post-body { line-height: 1.4; position: relative; } and then add the following code. text-align: justify; so...

Wednesday, May 9, 2012

Upgrade IDMcc Add Ons for Mozila Firefox

Read The Indonesian Version Latest update of Mozilla Firefox has many additional features, but this update makes some addons not support. For example, Internet Download Manager (IDM CC) is an extension that allows the IDM to auto capture streaming video when the play button is clicked or audio streaming when the play button is clicked. To re-enable this feature on the new version of mozilla firefox. IDM CC is needed upgrade to the latest version. At least that's what I did after reading the article in Largest Indonesian Community (Kaskus),...