Skip to content

Instantly share code, notes, and snippets.

View lizheming's full-sized avatar
:octocat:

Austin Lee lizheming

:octocat:
View GitHub Profile
@lizheming
lizheming / svg-allowed-tags.json
Created June 29, 2019 08:09
SVG allowed tags
[
"br",
"div",
"span",
"font",
"b",
"a",
"altglyph",
"altglyphdef",
"altglyphitem",
@lizheming
lizheming / docker-compose.yml
Last active January 22, 2019 08:01
Firekylin docker
version: '2'
services:
db:
image: mysql:5
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_USER=firekylin
- MYSQL_PASSWORD=firekylin
- MYSQL_DATABASE=firekylin
@lizheming
lizheming / sign.php
Created November 16, 2012 05:25
虾米自动签到php
<?php
set_time_limit(0);
/*输入账号密码*/
$name = '';
$password = '';
//获取登陆cookie
$curl_post = 'email='.$name.'&password='.$password.'&done=/&submit=登 录';
$cookie_file = dirname(__FILE__).'/cookie.txt';
$curl = curl_init();
@lizheming
lizheming / cloudSettings
Last active December 31, 2018 18:07
Visual Studio Code Sync Settings Gist
{"lastUpload":"2018-12-31T14:37:58.916Z","extensionVersion":"v3.2.4"}
@lizheming
lizheming / users.json
Last active January 28, 2018 06:26
firekylin users json
[
"http://www.gyblog.cn",
"http://www.welefen.com",
"https://h5jun.com",
"http://www.75team.com",
"http://blog.imnerd.org",
"http://aztack.wang",
"http://imhxl.com",
"https://meicj.com",
"https://gmiam.com",
@lizheming
lizheming / gl.html
Created July 6, 2017 08:40
Detect iPhone Mode
<!-- https://developer.apple.com/library/content/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/HardwareGPUInformation/HardwareGPUInformation.html -->
<!doctype html>
<html>
<body>
<canvas id="glcanvas" width="0" height="0"></canvas>
<script type="text/JavaScript">
var performance = window.performance || window.mozPerformance || window.msPerformance || window.webkitPerformance || {};
var canvas;
canvas = document.getElementById("glcanvas");
<style id="jsbin-css">
#long {
opacity: 0;
animation-name: show;
animation-delay: .5s;
animation-duration: .5s;
animation-fill-mode: forwards;
animation-iteration-count: 1;
animation-timing-function: ease;
}
@lizheming
lizheming / xiami.php
Last active February 6, 2017 18:15
虾米自动签到
<?php
set_time_limit(0);
/*输入账号密码*/
$name = '';
$password = '';
//获取登陆cookie
$curl_post = 'email='.$name.'&password='.$password.'&done=/&submit=登 录';
$cookie_file = dirname(__FILE__).'/cookie.txt';
$curl = curl_init();
@lizheming
lizheming / srun.php
Created October 25, 2012 15:44
Srun login and logout by php
<?php
/*
*Creat At 2012/10/25 23:29
*Author: Austin
*URL: http://imnerd.org
*Mail: i@imnerd.org
*Description: Srun Authorize Login & Logout By PHP
*/
//网关登陆:http://abc.com/srun.php?do=login
@lizheming
lizheming / srun.login.curl.sh
Created March 8, 2013 00:58
srun login by curl
curl -d 'username={username}&password={password}&mac={macaddress}&n=99&type=3' http://202.204.105.195/cgi-bi
n/do_login