The Usefull Simple : Javascript

The usefull Code that help you to write big code, there is it:

1. Remove property from the Object

let’s say we have object like this

then, we want to save this data to db, but we don’t need “_inserted_by” property there. To do that we can do something like bellow.

that simple, but helpfull.

 

Read More

Super Simple Laravel 5.x Layout

Create folder structure like this

laravel-view-structure
Laravel View Structure

On the layouts folder create main layout named it master.blade.php, and copy paste this code

On partials folder create new file named it header-media.blade.php, and copy paste this code

On partials folder create new file named it footer.blade.php, and copy paste this code

On modules/user folder create 2 files named it form.blade.php and index.blade.php

open file form.blade.php then copy this code

open file index.blade.php then copy this code

from your controller call the view like this

Ok, That’s its! Pretty simple right? See you in next tutorials.

Read More

Just Tracing Laravel Cashier

Hahhahahahaha.. What’s the point in this post??? But it’s very usefull for me.. and for you?

For client side you just add this code.. simple huuh?

Okeeyyyy, let’s me see behind that code! Trace… trace… and trace.. (how i can make a clean code like this!)
(more…)

Read More

Setup Apache + PHP Per User Directory

Installing PHP 5.x

(more…)

Read More

Setup SSH Ubuntu on AWS (Windows Client)

Open your SFTP Client (im using WinSCP)

Login using ubuntu useraccount

Navigate your WinSCP into /tmp/

(more…)

Read More

Installing PHP 5.x On Ubuntu

Installing PHP 5.5… hahhaha that was easy huuuh!? but you can’t save everythings into your brain, trust me! (just kinding)… ok let’s go you can follow this easy step.

Method 1

Another Method (If You Have Any Trouble with Method 1)

Method 2

Read More