Category: Coding

  • How to install Laravel 5 in Windows with XAMPP

    How to install Laravel 5 in Windows with XAMPP

    This short tutorial is based on my own installation of Laravel 5 on XAMPP that is running on Windows 7.

    In this Laravel 5 tutorial, you will need:

    There have been major changes in the following: New Folder Structure, Contracts, Route Cache, Route Middleware, Controller Method Injection, Authentication Scaffolding, Event Objects, Commands / Queueing, Database Queue, Laravel Scheduler, Tinker / Psysh, DotEnv, Laravel Elixir, Laravel Socialite, Flysystem Integration, Form Requests, Simple Controller Request Validation, New Generators, Configuration Cache, Symfony VarDumper.

    To learn more about the Laravel 5.0 update, read about it here.
    (more…)

  • SSH: Basic usage of Shell Screen

    SSH: Basic usage of Shell Screen

    If you are often running scripts in SSH, especially ones that have a long execution time, you might have experienced termination of your script before it actually finishes its task(s). Maybe you closed the terminal window by accident, or you lost Internet connection for a moment.

    What you can do is run your script persistently with the help of Shell Screen.
    (more…)

  • Facebook App Development tips, guides, and possible solution to issues

    In July 2013, I began learning about developing apps that run in Facebook. For a web developer especially one who works in a marketing agency, learning about Facebook app development is important nowadays because numerous amounts of campaigns are ran on Facebook.

    At first Facebook app development confused me, but after some exposure to it and some help from colleagues who have been doing it for years, I got the feel of it.

    Following are some blog entries on my Code Playground that are related to Facebook app development. (more…)

  • SMTP: Test emails from local computer during development stage using smtp4dev

    Web developers need to work on their website locally once in a while. I use XAMPP in my computer to work on my web projects locally.

    I’m about to begin working on a project which sends emails when users register for an account. From the live site, I downloaded it to my computer so I could do updates. I tested the registration form and it failed because email could not be sent. I would usually use phpmailer, but that’s a bit time-consuming to configure, so I wondered if my colleague who worked on it before used a simpler solution. Lucky me, she did find a simpler way to test the emails sent/received on her computer during development.
    (more…)

  • Free PDF Download: AJAX for Dummies

    Learn AJAX (Asynchronous JavaScript and XML) using the Ajax for Dummies ebook.

    (more…)

  • Java: Strings

    First off, if you are in need of a good Java programming reference book, I suggest that you try Head First Java.

    In this blog entry, basics in Strings in Java programming will be briefly discussed.

    Assumption: You have already set up your Java development kit on your computer. (Environmental Variables, paths, etc…)
    (more…)

  • Flash Game – Clannad – Dango Daikazoku Adventure

    Flash Game – Clannad – Dango Daikazoku Adventure

    As a homework in our Flash class, we were asked to design and code a Flash game with two levels. I decided to base my theme on “Dango Daikazoku” from the visual novel (PC game) and anime Clannad.

    I always found the dangos cute that I had fun making this game. 🙂 I’m letting you guys play it. Although the game is not that good because it was rushed, especially the second level.

    Note: There are times you might not be able to control the character, please just click on the Flash screen to regain control. This happens when you lose focus on the Flash screen.
    (more…)

  • Free PDF Download: Adobe Flash ActionScript 3.0 Programming

    This manual provides a foundation for developing applications in Adobe® ActionScript® 3.0. To best understand the ideas and techniques described, you should already be familiar with general programming concepts such as data types, variables, loops, and functions. You should also understand basic object-oriented programming concepts such as classes and inheritance. Prior knowledge of ActionScript 1.0 or ActionScript 2.0 is helpful but not necessary.

    -chapter 1

    Here is a free download of a programming manual for Flash AS3 from Adobe.

    (more…)

  • PDF Download: ActionScript 3.0 Game Programming University by Gary Rosenzweig

    ActionScript 3.0 Game Programming University E-Book
    ActionScript 3.0 Game Programming University E-Book

    Trying to learn game programming in Adobe Flash? Want to learn game programming using AS3? Try this e-book that I’m going to share with you. It covers Adobe Flash CS3 Professional, so it’s perfect if you use Flash CS3.

    (more…)

  • Wrapping text in table cells and DIV tags

    I’ve been doing research on how to wrap texts. First solution I found was giving the CSS property word-wrap the value break-word:

    word-wrap: break-word

    But this didn’t work in Firefox.
    (more…)