Monthly Archives: January 2019

Laravel Socialite and Google

Google announced their plan to shutdown Google+ by March 2019. Along with the Google+ platform, the Google+ API will be depreciated too.

On Laravel Socialite, it used to use Google+ to authenticate, but it no longer uses Google+ platform.

If you are using Socialite 4.x, your project in the Google Cloud Platform no longer needs to enable Google+ API since the default scope is already selected for authentication needs.

That’s all you need to use Google OAuth with Laravel Socialite

Contributing on GitHub


After you forked a project and merged back to the original, you can simply delete the forked project.

If you are like me, I always forgot to delete the forked project. When I need to contribute again, I need to bring my forked project up to date with the original source.

There are two ways to do.

  1. Deleted the forked project and fork again.
  2. Bring the forked project up to date with the original.

The #1 is easy.

The #2 is also easy with command line.

In order to bring the forked project up to date, do the following:

  1. git checkout master
  2. git pull ssh:// master
  3. git pull origin master

The above steps are assume no conflict. If there is, you need to take care of it. A more detail instruction can be see from GitHub Help.

How I Work (2019)


I have external two monitors and I kept the laptop open, but I think I can survive with two monitors. The main monitor usually use for the text editor, terminal, and browser. The monitor is display vertically to view documentation or issues. The laptop screen sometimes has Trello, but I think most of the time it has nothing on it.

I recently replaced the magic mouse with a magic trackpad. It was a no brainer to use the magic trackpad if you are on a mac.


My work has graciously upgraded my machine with a mac last year. It’s a 13-inch MacBook Pro with i5 and 8G ram. It’s powerful enough to do my work. The alternative machine is a Dell XPS 13. Ever since I got the mac, I only turn it on once a month or whenever work is necessary.


Sublime Text with Colorsublime GitHub Light theme and Roboto Mono font. The mono file icon is from Braver. It works perfectly for me.

(We should never tell another programmer on what text editor, theme, or font to use. )


The default I switch from bash to zsh a month ago and I never look back. So, my .dotfiles repo seems pretty useless now, except for the vim setup part. The plugins I use are aws, git, laravel5, tmux, and z. I have the tmux autostart flag turns on so each time I launch a terminal, tmux is already launched.


I use Homestead and if I need something extra, I use docker.


Muji Weekly Planner

I use Muji’s Weekly planner. It’s a perfect notebook for me because it’s a weekly planner and the note is squared.


I use Spotify. I was a Google Music user, but the YouTube Music thing got me turned away from it. It’s so sad.

In Spotify, I use their curated focus playlists, it’s helpful. Otherwise, I listen to the musics from Hong Kong and Taiwan.


  • GMail
  • Google Calendar
  • Google Drive / Google Drive File Stream
  • SequelPro
  • Spectacle
  • Spotlight
  • Trello