Easy Origami Box
Here is another variation of the origami box. This easy origami box is similar to the masu or traditional box.
Easy Origami Box Step 1: Fold a Blintz Base. This is a commonly used base in origami so we’ve made a separate page of instructions for it.
![]()
Easy Origami Box Step 2: Open up the paper.
![]()
Easy Origami Box Step 3: Fold in the 4 corners as indicated below.
![]()
![]()
![]()
Share on Facebook
Origami Ninja Star – Origami Shuriken Folding Instructions
The ninja star is known as “Shuriken” in Japanese. This origami ninja star is a true classic! Kids around the world have spent countless hours playing with this origami masterpiece, whether pretending to be ninja warriors on a mission or having competitions to see whose origami ninja star will fly the farthest!
This origami ninja star is a modular origami. You make 4 of the same basic unit, then attach them without using any glue or tape.
Origami Ninja Star Step 1: Start with 2 pieces of square origami paper color sides down. You can use the same color if you want. I use 2 different colors so that it’s easier to see.
![]()
Origami Ninja Star Step 2: Fold them in half. This is called a book fold. Crease well and unfold.
![]()
![]()
Origami Ninja Star Step 3: Fold both halves of each paper to meet the center crease. This is called a cupboard fold.
![]()
Origami Ninja Star Step 4: OK, we will now fold each paper in half along the vertical axis.
Share on FacebookHistory of Origami
Paper was invented in China in the first century A.D. and brought to Japan by Buddhist monks in the sixth century A.D.
However, the written records for the period are limited, so it is unknown whether origami first started in China or Japan.
However, no one will dispute that Japan developed origami to a very high art form.
Most origami instructions were passed on by oral tradition.
The oldest known written document about Japanese origami, the Senbazuru Orikata (“How to Fold One Thousand Cranes”), surfaced in 1797.
The first works of original modern origami (in the 1950′s) are due to the master Yoshizawa Akira.
It is also known that the Arab world was making paper in the eight century, and the Moors brought paper folding to Spain in the twelfth century.
Paper folding or papiroflexia subsequently became very popular in Spain and South America.
Share on FacebookOrigami Frog
Start with a square piece of origami paper (green makes convincing frogs). Now make a square base.
![]()
![]()
Next insert your finger in one of the pockets in the square base.
Move the pocket around to the front, then flatten and crease it.
This classic origami move is known as the squash fold.
![]()
Origami Kusudama Flower Folding Instructions
Start with a square of origami paper, colored side down:
![]()
Make a valley fold along one diagonal:
![]()
Kloxo Installation Guide
Kloxo Installation Guide
1) A dedicated or virtual server running CentOS or Red Hat EL 5.x. CentOS 6.x is not currently supported.
2) At least 256 MB of RAM (enough to run Yum).
3) At least 2 GB of free disk space for Kloxo and related services.
4) If you partitioned your disks manually, make sure you have a large /tmp. Kloxo uses /tmp to create and store backups temporarily and the process will fail if there is not enough space.
You have to disable SELinux by editing /etc/sysconfig/selinux and changing the line to selinux=disabled. This will keep SELinux from being enabled on your server next boot.
Then you must run the following command as root to disable SELinux for the current session:
# su - root # setenforce 0
If you are unsure this procedure worked, you can run /usr/sbin/sestatus to check its status. Failure to correctly disable SELinux will render your Kloxo install useless and an OS reload may be required to properly reinstall it.
Also, make sure the ports 7778/tcp and 7777/tcp are open in your server firewall or you won’t be able to connect to Kloxo web panel when the install completes.
Kloxo installation consists of downloading kloxo-installer.sh from download.lxcenter.org and executing it as root. The script will present you with a few questions and sometimes ask for a password (enter your root password).
If you don’t have MySQL server already installed, you must run:
# su - root # yum install -y wget # wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh
To install as Master (Default Single Server):
# sh ./kloxo-installer.sh --type=master
To install as Slave:
# sh ./kloxo-installer.sh --type=slaveShare on Facebook
How to write Switch Case statement in PHP
Here we can today learn how we could write a switch case construct in php. You know this statement we called it as conditional structure. that means this switch is used to do something if conditions provided are satisfied. this is basically equal to the if – else if – else statement.
here is the syntax for the Switch statment;
switch($var)
{
case “1″:
echo”it is one”;
break;
case “2″:
echo”it is Two”;
break;
case “3″:
echo”it is Three”;
break;
default:
echo “defaul Value “;
break;
}
PHP – Getting notice Undefined index
This error appears because of your PHP error reporting settings. Usually, it appears when your variable is not properly set. There are two ways to handle this issue:
1. Check if $_POST['action'] is set before using it. For example:
if (!isset($_POST['action']))
{
//If not isset -> set with dumy value
$_POST['action'] = “undefine”;
}
2. Suppress Notice warnings
Notice warnings could be suppressed by changing the error_reporting variable in your PHP.ini. error_reporting could be set to show all errors except those for notices and coding standards warnings: error_reporting = E_ALL & ~E_NOTICE
The same is accomplished by adding the following line in your php page:
<?php error_reporting (E_ALL ^ E_NOTICE); ?>
Share on Facebook8 tips for the perfect title tag
What is a title tag?
The title tag determines the name of a web page. Title tags are mostly visible in Google and in the browser.
Google
The page title Google shows is a page’s title tag. The same goes for Bing.
Browser
The title tag appears in the browser title bar and the browser tabs. When you add a page to your favorites or when you share a page via social media, the title tag is what apppears as the page title.
Is the title tag important?
You bet it is. The title tag is one of the most important things to get right if you want to do well in Google. It’s not the only thing but if you neglect your title tags you’re making it very hard on yourself.
Share on FacebookUploading Files with PHP
<form enctype="multipart/form-data" action="upload.php" method="POST"> Please choose a file: <input name="uploaded" type="file" /><br /> <input type="submit" value="Upload" /> </form>
<?php $target = "upload/"; $target = $target . basename( $_FILES['uploaded']['name']) ; $ok=1; if(move_uploaded_file($_FILES['uploaded']['tmp_name'], $target)) { echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded"; } else { echo "Sorry, there was a problem uploading your file."; } ?>
This very small piece of code will upload files sent to it by your HTML form.
- The first line $target = “upload/”; is where we assign the folder that files will be uploaded to. As you can see in the second line, this folder is relative to the upload.php file. So for example, if your file was at www.yours.com/files/upload.php then it would upload files to www.yours.com/files/upload/yourfile.gif. Be sure you remember to create this folder!
- We are not using $ok=1; at the moment but we will later in the tutorial.
- We then move the uploaded file to where it belongs using move_uploaded_file (). This places it in the directory we specified at the beginning of our script. If this fails the user is given an error message, otherwise they are told that the file has been uploaded.

