HTML 5 - Easier and faster

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara -

Ubuntu - One of Linux Distribution

Ubuntu is a Linux distribution operating system software, meaning that it runs using Linux applications, kernels and libraries. Ubuntu is developed and sponsored by Canonical, Ltd., a South African company that is founded and funded by Mark Shuttleworth.

JavaScript Introduction

Ryan Paulin When dealing with website development, there is lots of scripting language that you can choose from depending on how you want to develop your website. You can use AJAX, HTML, CSS.

Acquainted with CSS ( What is CSS ? )

CSS stands for Cascading Style Sheets. If you read in the dictionary, cascading is similiar with waterfall. But in this case, it means the flow from one code to another code that are interconected. So it can be concluded, CSS is a collection of codes that are consecutive and interlinked to set the format / display an HTML page.

What is Linux ?

Linux – the operating system for a GNU (pronounced Gnew) generation. It has been dubbed the alternative to Microsoft, the solution to all life’s problems and many other things that may or may not be true. But what is Linux, and should you care?

Selasa, 09 Agustus 2011

How to download a YouTube video from Ubuntu 10.04 and 11.04

Oke guys, maybe this is a short post. Many people around there has already know how to download a Youtube video from their Linux Operating System. I use Ubuntu distribution, and at the beginning i really stuck how to download Youtube video.

First, when i use ubuntu, i install 10.04 version, i use MiniTube to download it. For you, that still use Ubuntu 10.04 version, follow this step :
  1. Open your terminal, Applications – Accessories – Terminal, and typed this :
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install minitube
  2. After the installation finished, open your MiniTube, Applications – Sound & Video – Minitube
  3. When the Minitube window appeared, search the video you want to download.
    For this sample, i try to search "Bon Jovi" video :
  4. And then, the list of your search result will appeared. Just clik on the video you want to download.
  5. To download that video, click on the arrow in toolbar, and than download process will start automatically. Please wait till finished.
For your information, the video you have been download formated as mp4. So, don't be affraid to watch a bad resolution video. And also, you can set the resolutin when you watch the video online. As a video downloader, MiniTube has resume facillity. So, you can start and stop whenever you want.

Now, what different in Ubuntu 11.04 ?

Yeah, let me tell you a little. When i upgrade my system to 11.04 version, and i start to download the video using MiniTube it doesn't work anymore. Then, i use the mozilla add-on to download it. Below is the step :
  1. Choose Tools – Add-ons – Get Add-ons – now type downloadhelper on the search box.
  2. After the result appeared, choose the Download Helper and then klik instal.
  3. When, the installation is finish, restart your mozilla browser.
  4. Now, open the Youtube site, and search for the video you want to download.
  5. Beside the address bar, there will a new toolbar. Klik it, and then choose the video format as you want and download will start immediately.
Okay, i think that is it. Enjoy downloading the YouTube video. Any question ? Leave it to the comment box, and i will help you everything i can. :D

Sabtu, 06 Agustus 2011

7 Useful Commands For Ubuntu Linux Newbies

First off, let me say that I am not one of those terminal loving Linux fans. I think it is cool and all, but I tend to save the command line for things that either require doing a massive batch job, or when I need to do something really specific.
Other than that, I stick to the Gnome GUI, and work within the parameters that various menus offer me. That works for 99% of what I need done.
However, I have found a very few commands that I need on a reasonably regular basis. Since I tend to be somewhat command line averse, I figure I'll throw them out there, for those of you who are new Ubuntu (or other type of Linux users).
Without further adieu, here they are, in order of usefulness to me:
1. ps -A : This will show you a list of all running processes, along with displaying a process id number. This command is helpful, because it is necessary when you run command #2.
2. kill -9 [insert process id number] : This tells the program associated with the process id number to die instantly. For instance, if Amarok was running with a process id number of 8077, and it was hung, or not responding, you would open up a terminal and type: kill -9 8077 . That means "Don't ask me any questions, don't ask if I want to save my work. Close immediately. Do not pass Go, do not collect $200."
3. locate : locate is a very powerful search. Basically, open up a terminal, and issue the command: locate , along with any part of a filename you want to find. locate will give you a reading where any part of that text string appears, along with giving you the exact location of the file(s) in question.
4. lspci and lsusb : Okay, so there are really 8 commands, but these two are two sides of the same coing,so I am throwing them both in together, as a kind of bonus.
lscpi , when issued, gives back a list of everything connected to the PCI bus, along with your graphics card, and some other fun stuff.
If you are having driver issues, many times, the first thing that a help forum will ask you to do, is give them what lspci prints out. lsusb does the same thing, but gives you a rundown of your USB devices. While it may seem rather redundant, especially since you can already see what is connected to your pc, I assure you, it is not. Many times, the manufacturer of the PC, will use one of the built in USB hubs to attach the webcam, a card reader, or some other piece of built-in hardware.
5. pstree : Ever accidentally kill off a process, not knowing that it was being used by a program you wanted to keep up and running? pstree can solve many of these problems. Issuing the pstree command, shows all your processes in a "treed" hierarchy, meaning you can see what process goes with what program. A must-have.
6. ifconfig : While ifconfig will let you actually configure a device, most of the time, you will be typing it to get basic feedback on your networking devices. It is especially helpful when troubleshooting your wireless ethernet. Issue the command, and it gives you back your current ip address, MAC address, and a ton of other useful information. Good stuff.
7. chown : chown , or "change ownership", allows you to do exactly that, for any given file, at any given time. For instance, if you have a public computer, and you don't want just anyone to be able to access your file (diary.txt), then you would issue the command: chown root diary.txt (assuming permissions to view or edit are only available to the owner of the file) . This would give control of the file over to root, and require a password to view.
The only exception would be if you are running your PC, under the root user, in which case, you have far greater problems than someone reading your diary.
There are many other useful Linux commands that you will learn. Hopefully, these make your day a little easier, and your time using Linux more productive.
Enjoy...I have to go now...One more thing...
The fear of the Lord is the beginning of wisdom. No one who puts their in Him, need ever be ashamed.

11 Crucial Things an Ubuntu Newbie Should Know

As I was sitting here, preparing to write this article, my mind wandered back to the day I accidentally wiped out a Windows installation with a Gutsy Gibbon CD. I thought I was in trouble. I had just knocked out my work documents, including various templates I made, along with scanner support, and my Adobe 8.0 suite.
It was at that moment I decided to make a go of it with Linux as my sole operating system. After nearly 2 years of tweaking, making mistakes, fixing those mistakes, and then making even more mistakes, I finally feel qualified to give you advice.
In light of this experience, I now present "11 Crucial Things An Ubuntu Newbie Should Know".
1. ps -A: One of the reasons I hated Windows so much was the task manager. When a program would hang, you'd have to open task manager, tell it to kill the program, and wait 5 minutes for the system to kill the application, All the while, it would bog down the processor, hog memory, and be an overall nuisance. 50% of the time, you would have to restart the computer to get the process to clear.
Not so in Ubuntu/Linux. All you have to kill a program is open the terminal, and type "ps -A". This will pull up a list of all the processes currently running, with the name of the program, along with a 4-5 digit number next to it. Then, type "kill -9 PN" (PN should be substituted with the actual Process Number), and hit enter. This will kill the app, no questions asked. It will not ask you any questions, or give you any excuses. That program is now dead, until the time you decide to resurrect it. This will not work with things like Apache, or other process daemons. If you're not sure, just try to kill it. If it doesn't die, then it is probably a daemon. You will have to find the actual documentation to stop the daemon.
Bonus tip: In Ubuntu (Gutsy and later), the command to stop Apache is: sudo /etc/init.d/apache2 stop To restart: sudo /etc/init.d/apache2 start
2. gksudo nautilus: Nautilus is the GUI-based file browser for Gnome, which is the default window manager for Ubuntu. If you are not used to the command line, this command will save you hours when it comes to file operations. Well, it will only save you hours for things that have to be done as root. Things like special system configuration, and other things where you need upgraded privileges will be much faster when you use this command.
Just open the terminal, type "gksudo nautilus", enter your password, and magically you can do anything you want. For faster access, right click the Desktop, select "create launcher", enter "gksudo nautilus" as the command. You can now click the shortcut on your Desktop , rather than opening the terminal and entering a command each time you need access to Nautilus.
3. dmesg: If you have managed to really mess something up, or are having trouble getting things to work, you may need someone with greater experience to take a look. Typing "dmesg" in your terminal window will call up all the messages from your system kernel. Copy and paste this into a text document, attach it to an email, and let a true expert get a look at what is going on with your hardware.
4. Ubuntu's package manager, Synaptic, is a GUI front-end for Aptitude. What you don't know is that Synaptic is set to run in what could be called "safe-mode". It will not go get the latest and greatest versions of the software you are running. It will get the last (often 6 months older) version of the software you want to run. You can upgrades faster by enabling optional software repositories.
To do this, open Synaptic (System > Administration > Synaptic Package Manager), then select Settings > Repositories. Once you are in the repositories window, select the "Updates" tab. The Ubuntu "security" and "recommended updates" repository have already been selected. To get the newer stuff, you need to check "backports" and "proposed" software. Apply, and reload. This should get most of your software up to date, along with the kernel.
5. The kernel: While having the latest and greatest stable kernel can improve system performance, it can also break little fixes you have made along the way. An example: I had gone through the painstaking process of editing some configuration files to get my webcam to work. The last kernel update overwrote the changes I had made, and in the process, disabled my webcam. This can get irritating, but eventually a kernel release might fix an issue on its own, so I guess it is an ok, if not completely lossless tradeoff.
6. Upgrading to the newest version of Ubuntu: Don't do it right away. Always give a new version at least two months in regular use before you decide to upgrade. I have tried to upgrade for 3 releases now, in the first two weeks of availability for the upgrade. Each time, there has been a major failure, mostly in the area of graphics and sound. If your release is stable, there is no reason to upgrade right away, other than a few minor changes in speed and stability. You forfeit these if you upgrade on the first day of a new release. You have been warned.
Got Help?:
7. You can Google it: If you haven't googled it, do not trounce into a forum and ask the question. People are nice, but they really can't stand laziness. If you have searched, and can't find it, it may be a more advanced question that really needs more expert analysis.
Here's the search formula that reaps the best rewards for me: [manufacturer] [model] [problem] [ubuntu distribution]...(e.g. sony vaio webcam installation hardy). You can vary this formula a little bit, as sometimes it takes a few searches to get the hang of it. The one thing that you should not change is having your version of the distribution in the search. The reason is that fixes, and places where applications install can be different depending on the version you are using. This will ensure that you receive the best solution possible.
8. The Forums: Most of the time, Googling the problem will send you to the Ubuntu forums. Get a user name, log in, and be respectful. Be sure you try everything they tell you to before griping that it won't work. The help and advice is free, and usually very helpful in nature.
9. Launchpad: This is a bug reporting service that Ubuntu users use to get bugs and various other problems fixed. You can reach the project at . Once you get there, click on report a bug, and follow the instructions. Be sure the problem has not been reported already, as they will ask. Provide as much information about the incident as possible. They will keep you posted on the progress as far as the problem being resolved, and assign a priority rating based on the severity of the problem. I've had to use it 2 or 3 times. Even the minor problems have been resolved in 2-3 weeks.
10. Don't Be Afraid To Break It
This is the most important rule. This ain't your Granny's china. Stuff will break, you will be the one to break it. You will also be the one fixing it, along with your friend Google. Be patient, be persistent, and walk away for a bit if the solution just won't come. Vindication will come, and when the fix is done properly, or you changed a variable that caused performance to increase, there will a mountaintop rush. Chances are, your significant other won't care, but that won't matter. Feel free to prance around in your boxers, and act like you just won the Nobel Prize.
11. Everything in Windows can be replaced with Open Source software: Really, it can. It takes a little time to find it, but when you do, a whole new world will open up. You'll start to see how things work better than you expected. Things will play that would not on Windows, you'll be able to open every attachment you ever wanted to. Productivity will increase, thereby giving you more time to make your system work faster, and work on your own open source program.
I can't include everything I've learned over the past two years here. There are some other articles that I have written on software packages, and the pros and cons of each. Just google my name and iSnare to get a full list of what I have written on the subject. In conclusion, have fun with Ubuntu, share your knowledge with others, and fear God. Seriously.
That's all the advice I have for you.

jQGrid with JSON Tutorial

Hello friends, we meet again. This time we will learn together about jqGrid. What is jqGrid? This is sort of a collection of code that was formed to facilitate, and beautify the appearance of data. That's in my opinion. :)

jqGrid itself is formed of Javascript, which means to use it. javascript must be active in your browser. If not, then we can never see the beauty jqGrid. :)

Okay, before starting it, first we must download the package of jqGrid. Take it easy, jqGrid provided free of charge. So don't be afraid for asked to pay latter. Please download here. Once downloaded, extract and rename the folder to jqgrid.

Follow this step :
  1. Create a new folder in xampp / htdocs and name it "jqgrid", then copy the downloaded earlier jqgrid into it.
  2. Create a new database, and name db_jqgrid. Then create a table "book" with fields:

  3. Once finished creating the database, now create a new file and name it index.php
    Inside it, typed the code below :
  4. After that, create a new file and rename it to book.php. This file, will take data from database.
    Typed code below :
  5. Finally, open your browser and be sure the javascript is enable.
    And then type in url : http://localhost/coba
  6. And, look how wonderfull jQGrid is it. :)
Oke guys, how about this post? I hope this post will help you. Anymway, some of my friends ask me how to integrated jQGrid with CodeIgniter framework?

In my oppinion, not much different from this post. But, we must write the code with CodeIgniter rules. Allright then, we will discuss about integrating jQGrid in CodeIgniter in my next post.

See you later guys, and Happy Coding all :)

Linux vs Windows ( Which one to pick ? )

Choosing the appropriate operating system is based on the server`s function. Linux is powerful and has a versatile operating system while Windows is well-known for its easy to use operating system and versatility. Deciding the right server was certainly a trial as a decade ago, Microsoft`s Windows NT and Novell`s NetWare4 were prominently in use, but today NetWare has totally disappeared and the Linux version is found to be a good choice. Both Windows and Linux come in server and desktop editions.

Maintenance and security are one of the significant areas to comprehend the actual differences between the operating systems. Linux are commonly referred to as distributions, also known as `distros`, and are released around the same time frame using the same kernel version (operating system). Linux needs careful consideration of hardware drivers as the hardware newly released should be appropriate and this includes the motherboard as well. Linux installation should be done by people who have proper knowledge to run the operating system and its applications. Linux is stable and more secure than Windows.

On the other hand, Windows offers easy installation and runs even in default modes, besides it includes a series of drivers regardless of the hardware type and has the extensive variety of software. However it suffers with frequent security problems demanding critical patches involving rebooting. Moreover it is expensive right from the purchase price to the applications, besides ongoing maintenance is a must to keep it updated and stable.

The comparison of Linux vs. Window includes other considerations such as the price, specialized options and support. Linux has server oriented versions available with vendors and some are offered with 24/7 paid support. There are less expensive distribution versions obtainable at Mepis, Centos and Xandros and others, which are offered at a very low cost to get started, while Debian, Slackware, Mint, Mandriva, Fedora of Red Hat and Ubuntu are all free versions.

On the other side Microsoft Windows server is regular with 32 and 64 bit versions with specialized options such that it is ideal for small as well as medium sized businesses. However, the biggest hit is that Windows is buoyed up by a multi billion dollar company and is compatible with the majority of software, besides it is very easy in using and understanding that even an average user can make the best of it. Windows pricing varies dramatically based on the numbers purchased and on the yearly maintenance agreement or the licensing plan.
The significant difference in Linux version does not speak about the software quality or the drivers` availability, but the support offered. Depending upon the Linux distribution package, the user may get a quick and 24/7 paid support, and this should well suit any corporate environment. Purchasing the operating system and hardware together ensures the support for installed hardware, else it may be required researching to ensure the motherboard, network adapter, chipset and others are supported by the Linux version. The other non-Linux options include OpenSolaris and many variants of Berkley Software distribution.


Twitter Delicious Facebook Digg Stumbleupon Favorites More