Python trick - copy file among computers in LAN network

The conventional way of file transfer between PCs, is via thumb drive.

Some time the file size are too large and not able to copy to FAT thumb drive.

Read More

How to add more hosts to phpMyAdmin

If want to add in more hosts in phpMyAdmin, just edit the file

Replace the following content

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;

Read More

How I personalize my Linux config

I begin touching Linux back in 2011. I still remember, I learning vim, command line, etc.

The first thing my mentor told me to do was, clone his dotfiles.
If you first time heard about this term, I’m pretty sure that you’re new to Unix world.

Read More

Laravel event multi listeners not working

The Laravel Event feature is pretty useful, just like Trigger in DBMS;

Read More

Ubuntu server not support chinese character

I’m using Amazon EC2, Ubuntu 16.04.

I noticed this problem when I try to generate a pdf file from php, the filename was not the right chinese character.

Read More

Guest post: Some Facts About Amazon

Today’s largest online retailer used to be originally known as ‘Earth’s Largest Bookstore’. They were actually sued for that statement by Barnes & Noble, because the claim was supposedly ‘fake’. The two companies later decided to settle off court.

Read More

Angular 4 download file from server via http

When want to download a file from server, usually just provide a <a href... will do. But what if the file only allow authorised user to access? Means you have to download first, in this case will have to use http

Read More

CefSharp listen to JavaScript event

CefSharp is a Chromium browser embedded to an application.

In my case, I’m using WinForms (CefSharp.WinForms v57.0.0).

Read More

PayPal Rest API with Laravel 5 and Angular

Previously I wrote a post regarding to Integrate PayPal SDK into Laravel 4. And I believe now Laravel 5 is quite different from Laravel 4. Also, PayPal API also updated now.

Read More

Allow Vagrant to access from other computers in LAN network

I’m using Laravel Homestead. By default, the config is set to private network with IP

Read More