Skip to content

Instantly share code, notes, and snippets.

View yanguanglan's full-sized avatar

Yanguang Lan yanguanglan

View GitHub Profile
@yanguanglan
yanguanglan / mysql_data.php
Last active July 27, 2016 08:53 — forked from lifesign/mysql_data.php
mysql 生成数据字典
<?php
/**
* 生成mysql数据字典
*/
// 配置数据库
$database = array();
$database['DB_HOST'] = '127.0.0.1';
$database['DB_NAME'] = 'test';
$database['DB_USER'] = 'testuser';
$database['DB_PWD'] = '123456';
@yanguanglan
yanguanglan / ubuntu-php5-fpm-phalcon.md
Created June 30, 2016 08:44 — forked from brandonsimpson/ubuntu-php5-fpm-phalcon.md
Ubuntu 14.04 (Trusty) php5-fpm PhalconPHP install

Ubuntu 14.04 (Trusty) php5-fpm PhalconPHP install

Optional - add repo for php 5.6.8

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
/*!
* jQuery TextChange Plugin
* http://www.zurb.com/playground/jquery-text-change-custom-event
*
* Copyright 2010, ZURB
* Released under the MIT License
*/
(function ($) {
$.event.special.textchange = {
// vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
// Author: Binux<i@binux.me>
// http://binux.me
// Created on 2013-01-21 20:18:42
jQuery.ajax({
url: 'http://pyproxy.duapp.com/http://httpbin.duapp.com/cookies/set?userid=21',
cache: true,
dataType: 'script',
success: function() {