Skip to content

Instantly share code, notes, and snippets.

View wuliupo's full-sized avatar
🎯
Focusing: Jenkins, Vue, React

Pauli wuliupo

🎯
Focusing: Jenkins, Vue, React
View GitHub Profile
@wuliupo
wuliupo / meow.htm
Created February 10, 2017 02:05
es6 Generator
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Simple ES6 Generator Example</title>
<style>
body{margin:1em auto;max-width:800px;background-color:white;font-size:28px;font-family:serif;}
blockquote{position:relative;padding:15px 15px;margin:2em 0px 1em;border:10px solid #5A8F00;min-height:4.5em;line-height:4em;text-align:center;color:#333;background:#FFF none repeat scroll 0% 0%;border-radius:20px;}
blockquote::before,blockquote::after{display:block;content:"";position:absolute;z-index:10;bottom:-40px;left:50px;height:30px;border-style:solid;border-width:0px 10px 10px 0px;border-color:#5A8F00;background:transparent none repeat scroll 0% 0%;}
blockquote::before{width:50px;border-bottom-right-radius:80px 50px;}
@wuliupo
wuliupo / phpexplorer.php
Last active March 16, 2017 06:02
php explorer
<?php
//************************************************************************//
//* PHP Explorer 0.7 Codename: "mustard" *//
//* Author: Marcelo L. Mottalli <[email protected]> *//
//* Homepage: http://phpexplorer.sourceforge.net/ *//
//************************************************************************//
//////////////////////////////// USEFUL VARIABLES /////////////////////////////
$associations = array(
@wuliupo
wuliupo / weinxin.php
Created May 5, 2017 05:18
WeixinController base in ThinkPHP
<?php
namespace Home\Controller;
use Common\Controller\CommonController;
class WeixinController extends CommonController{
private $appid;
private $appsecret;
public function _initialize(){
//第1步 appid, appsecret
$this->checkConfig('appid');
$this->checkConfig('appsecret');
@wuliupo
wuliupo / guaguaka.htm
Created May 6, 2017 16:50
刮刮卡事件
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>刮刮卡</title>
<style type="text/css">
h1 {
text-align: center;
}
@wuliupo
wuliupo / weixin.php
Created June 30, 2017 02:31
微信公众平台开发接口PHP SDK完整版
<?php
/*
方倍工作室 http://www.fangbei.org/
CopyRight 2015 All Rights Reserved
http://www.cnblogs.com/txw1958/p/weixin-php-sdk.html
*/
define("TOKEN", "weixin");
$wechatObj = new wechatCallbackapiTest();
@wuliupo
wuliupo / second-hand-housing.html
Created August 5, 2017 06:39
二手房购买心得
<!DOCTYPE html>
<html>
<head>
<title>二手房买卖</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
body { font-family: 'Droid Serif'; }
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;