Skip to content

Instantly share code, notes, and snippets.

View WJWang's full-sized avatar

William Wang(Wei) WJWang

View GitHub Profile
https://mariadb.com/kb/en/mariadb/configuring-mariadb-for-remote-client-access/
{
"BluetoothSharingPermission": {
"frameworkName": "BluetoothSharingPermission",
"classes": {
"CBCentralManager": {
"className": "CBCentralManager",
"methodNames": [
"initWithDelegate_queue_",
"initWithDelegate_queue_options_",
"connectPeripheral_options_",
[
"FigCoreMotionDelegate",
"TNPdfExporter",
"AASetupAssistantCreateRequest",
"HKGraphView",
"IDSAppleRegistrationKeychainReader",
"RUIHeaderView",
"CUIPSDLayerEffects",
"SearchUIVerticalResultView",
"BSXPCConnectionListenerManager",
@WJWang
WJWang / TaiwanStreetName
Created March 28, 2016 10:39 — forked from davidou123/TaiwanStreetName
這是一份台灣街道的資料 內容格式為[排序序號][郵遞區號三碼][縣市][鄉鎮市][路名] 資料來源來自於綠奶茶blog整理(http://milkmidi.blogspot.tw/2012/03/blog-post.html) ------------------------------------------------- 而他的資料來源是從中華郵政api撈出來的 http://www.post.gov.tw/post/internet/f_searchzone/streetNameData.jsp (直接點是無效的, 請用任意程式用 POST傳值) city:臺北市 cityarea:信義區 就會得到該區的街道XML
This file has been truncated, but you can view the full file.
-- phpMyAdmin SQL Dump
-- version 2.10.3
-- http://www.phpmyadmin.net
--
-- 主機: localhost
-- 建立日期: Mar 12, 2013, 03:16 PM
-- 伺服器版本: 5.0.51
-- PHP 版本: 5.2.6
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
var express = require('express');
var router = express.Router();
var GeneralErrors = require('../errors/General');
var AuthErrors = require('../errors/Auth');
var uid = require('uid');
var debug = require('debug')('Route:Media');
var Media = require('../models/Media');
var Event = require('../models/Event');
@WJWang
WJWang / nginx.conf
Last active November 28, 2016 15:59
nginx.conf
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
events {
worker_connections 1024;
}
@WJWang
WJWang / reject.md
Created December 12, 2016 12:44
ios reject
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
}
},
"plugins": [
"react",
@WJWang
WJWang / .vimrc
Last active March 14, 2017 03:55
set ai
set cursorcolumn
set cursorline
set encoding=utf8
set foldmethod=syntax
set foldlevel=20
set guifont=<FONT_NAME>:h<FONT_SIZE>
set guifont=Droid\ Sans\ Mono\ for\ Powerline\ Plus\ Nerd\ File\ Types:h11
set hls "hightlight search
set nu
@WJWang
WJWang / CatchAllOptionsRequestsProvider.php
Created March 3, 2017 03:50 — forked from danharper/CatchAllOptionsRequestsProvider.php
Lumen with CORS and OPTIONS requests
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
/**
* If the incoming request is an OPTIONS request
* we will register a handler for the requested route
*/
class CatchAllOptionsRequestsProvider extends ServiceProvider {