Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Create more bug.

Mao Wang isecret

😎
Create more bug.
View GitHub Profile
View 📊 Weekly development breakdown
Java 🕓 2 hrs 11 mins █████████████████▊░░░ 84.9%
XML 🕓 11 mins █▌░░░░░░░░░░░░░░░░░░░ 7.3%
Properties 🕓 9 mins █▎░░░░░░░░░░░░░░░░░░░ 6.4%
Markdown 🕓 2 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.4%
@isecret
isecret / conversionExpression.php
Last active Dec 14, 2018
WordPress conversion expression for Laravel
View conversionExpression.php
.
.
.
public function handle()
{
$em = [
"/weixiao",
"/nanguo",
"/qiudale",
"/penxue",
@isecret
isecret / gist:e02684d6f94e02a0dc6d7e3f45a518bd
Created Oct 11, 2018
MySQL 查询数据库中包含某一字段的所有表名
View gist:e02684d6f94e02a0dc6d7e3f45a518bd
select table_name from information_schema.columns where column_name='查询字段名' and table_schema='库名'
@isecret
isecret / nginx-for-thinkphp5.md
Created Oct 16, 2017
ThinkPHP5 Nginx Pathinfo 配置
View nginx-for-thinkphp5.md
location / {
   if (!-e $request_filename) {
        rewrite  ^(.*)$    /index.php?s=/$1  last;
        break;
    }
}

location ~ [^/]\.php(/|$) {
    // 省略代码...