Alibaba icon font

If you are looking for some open source icon, you can try Alibaba icon font

It’s rich and clean to use, and it’s free (if you want to donate feeling free).


Wink - Laravel base publishing platform

Such as @themsaid saying

Frank wants a personal blog. Karen wants to build the next TechCrunch. They both want a platform as simple to use as Medium and as easy to host as WordPress.

wink is focus on writing and blogging platform base on laravel, so you can easy to install to your project.

Read more
Laravel Pro tips: Part I

In this content, having a few useful tips for develop project with laravel.

Read more
Laravel Pro tips: Part ISlides

Homebrew MySQL 8.0 downgrade to MySQL 5.7

downgrade homebrew installed mysql 8.0 to mysql 5.7 or before.

For now, the homebrew install mysql version 8.0 or later by default, for some reason, I need to use mysql 5.7, but I got some problem, here is a solution.

In my case, firstly I install mysql 8.0, like this

$ brew install mysql // 8.0 is default.

And next I found this, so I unlink it and install 5.7

$ brew unlink mysql
$ brew install mysql@5.7

But I try anyway, restart or switch other command, the version still 8.0 and I got some error

$ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
$ ERROR! The server quit without updating PID file (/usr/local/var/mysql/Yish-MacBook-Pro.local.pid).

//mysqld
2018-08-21T06:20:00.845978Z 0 [ERROR] Cant't start server : Bind on unix socket: NO such file or directory 2018-08-21T06:20:00.845978Z 0 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql.sock ?

so I figure out some problem, homebrew will take .sock.lock to fetch file, following below doing:

  1. uninstall mysql and mysql@5.7 by homebrew
  2. negative to /tmp remove mysql.sock and mysql.sock.lock
  3. reinstall mysql@5.7
  4. service start

Notice

Following the description add path to .zshrc or .bash_profile.

It’ should be working, cheers.😋


Laravel Auto Page: blade auto generate route and link

This package will help you super faster to create page without set route and auto generate specific route.

Read more
Firestore with VueJS

應用架構設計

前一篇 QRCode Scanner with VueJS 大概講述了 QRCode Scan 的主要設計狀況,這篇文章將會繼續探討 firestore 在後面運作方式與設計以及 firestore 的操作和 deploy。

Read more
QRCode Scanner with VueJS

使用 web 技術製作 QRCode scanner

這次的活動我們採取了一個技術用於解決工作人員用手機的方式作兌換票券動作,去年活動中,由於 iOS 並不支持存取 Camera 的權限而使用 PC 去作兌換,但今年年初 apple 終於宣布支持 iOS Safari 11 now supports WebRTC | Streaming Video WebRTC server and SIP gateway for browsers and mobile apps ,因此終於可以拿手機的方式來兌換票券了。

Read more
Git submodule tips

git submodule is powerful to control repositories and easy to use, but how to add it to project?

Problem

For example, my hexo project want to add theme hexo-theme-melody with Netlify, somehow you don’t put all files in project, you need update it, use submodule to do it.

...
7:01:14 PM: Error checking out submodules: fatal: No url found for submodule path 'themes/melody' in .gitmodules
7:01:14 PM: Failing build: Failed to prepare repo
7:01:14 PM: failed during stage 'preparing repo': Error checking out submodules: fatal: No url found for submodule path 'themes/melody' in .gitmodules
...
Read more
Identify Route and URL with Laravel

When you want to Identified and active button in specific page or identify page, you have many ways to do this, but I want to more obviously, so what can we do?

Read more