Symfony Vagrant Box

I have just started learning Symfony Framework for PHP and the first thing that I did is to create a simple vagrant box with just PHP and mysql. Just copy the files below in a folder and run vagrant up. create your projects in the ~/projects folder. Make sure to use the composer create-project symfony/framework-standard-edition […]

Laravel 5 Released

Laravel 5 is now officially released! You can check out the new features here Laravel is a free, open source PHP web application framework, designed for the development of model–view–controller (MVC) web applications. Laravel is released under the MIT license, with its source code hosted on GitHub.

How to store passwords

A lot can go wrong just by naively storing passwords. Imagine if someone got in your system and stole your database including your email address and passwords. You have to admit, a lot of people are using the same passwords for their accounts so if passwords are stored as plain text, they could then hack your […]

HipHop Virtual Machine PHP Info

You may have noticed that phpinfo(); does not work in HHVM. Try the code below.

Fixing Xcode 6 property auto synthesize issue

After updating OS X to Yosemite, Xcode 6 immediately became available. After updating, my perfectly working apps are now crashing. Let’s try fixing Xcode 6 property. The crash points to a warning, “Auto property synthesis will not synthesize property ‘description’ because it is ‘read-write’ but it will be synthesized ‘read-only’ via another property”. It turns out, you […]

Laravel with a WordPress Blog

Laravel is very good framework in creating PHP apps. It’s fast and has a lot of cool features such as queuing, DB migrations, DB seeding, artisan command line. Also, Laravel’s dependency is managed by Composer, so you’ll need to worry less about compatibility. On the other hand, WordPress is also a very good CMS for a blog […]

Site transfer command line

In computing, a shell is a way for the user to access an operating system’s service. Generally, the either use a graphical or command-line user interface (GUI/CLI). Since web servers are basically just computers, there are ways to move your website using the command line. Server’s CLI is accessed using Secure Shell (SSH), it’s a […]

When to use and not to use WordPress

When to use and not to use WordPress

WordPress is a popular CMS. It has grown from a simple blogging engine into a very versatile platform. WordPress is so popular because it makes the development of simple websites extremely fast. And as you continue to use it, you gain experience and finish the next project relatively faster. For the unknowing, WP is basically […]

Proposing to your girlfriend in Facebook

Proposing to your girlfriend in Facebook

In this video, a guy proposed to his girlfriend by doing a phishing kind of thing to his GF to make her think that she is in Facebook where in fact she is somewhere else where the guy already set up a surprise. The method used is similar to my previous post, but this time […]