I hereby claim:
- I am jewei on github.
- I am jewei (https://keybase.io/jewei) on keybase.
- I have a public key ASC2ykLyNwPS-jO8LiLFD2bbKN-k6XcdFZaGtLkJ0GgZFwo
To claim this, I am signing this object:
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/188.0.0/prettify.js" type="text/javascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/188.0.0/lang-css.js" type="text/javascript"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/188.0.0/lang-sql.js" type="text/javascript"></script> | |
<script type="text/javascript">prettyPrint()</script> |
<?php | |
/** | |
* An helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.0.14 on 2015-03-23. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
#!/bin/bash | |
# Written by Jewei Mak <jewei.mak@gmail.com> for Digital Ocean Ghost (one-click-install) to the latest version. | |
# Stop Ghost. | |
service ghost stop | |
# Goto working dir. | |
cd /var/www/ghost |
To recursively give directories read&execute privileges: | |
find /path/to/base/dir -type d -exec chmod 755 {} + | |
To recursively give files read privileges: | |
find /path/to/base/dir -type f -exec chmod 644 {} + |
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Auth\AuthController; | |
use Illuminate\Auth\CreatesUserProviders; | |
class LoginController extends AuthController | |
{ | |
use CreatesUserProviders; | |
protected $app; | |
protected $provider; |
# /usr/local/etc/my.cnf | |
[mysqld] | |
sql_mode=ONLY_FULL_GROUP_BY,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
// Set timezone. | |
sudo dpkg-reconfigure tzdata | |
// Update. | |
sudo apt update | |
// Language fix. | |
sudo apt install -y language-pack-en-base | |
export LC_ALL=en_US.UTF-8 |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0"?> | |
<psalm | |
totallyTyped="true" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="https://getpsalm.org/schema/config" | |
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | |
> | |
<projectFiles> | |
<directory name="app" /> | |
</projectFiles> |