How to set up a third party Wechat Official Account Service

Mar 1, 2016

1.Draw up your plan

What kind of services you’re planning to offer?The third party Wechat Official Account Service just like the service that 10086/10010 offer you via text messages.

php
wechat

Ubuntu Server snippets

Feb 23, 2016

Code highlighter with New syntax

bash

Using Laravel to set up a RESTful Service with Oauth2 Server

Feb 20, 2016

This tutorial is based on Laravel 5 token based Authentication (OAuth 2.0) & Dingo Wiki.They both have some bugs and I fixed them.

php

PHP pergmatch

Feb 5, 2016

Use regular expression to get a substring from a content.

<?php

$preg='/SOME TEXT A(.*?)SOME TEXT B/is';
preg_match($preg,$snoopy->results,$match);
$result = $match[1];
php

Auto update copyright year

Feb 3, 2016

Just in case.

document.write(new Date().getFullYear());
javascript