Skip to content

Instantly share code, notes, and snippets.

Avatar
🐵

Austin Lee lizheming

🐵
View GitHub Profile
View svg-allowed-tags.json
[
"br",
"div",
"span",
"font",
"b",
"a",
"altglyph",
"altglyphdef",
"altglyphitem",
View docker-compose.yml
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 Nov 16, 2012
虾米自动签到php
View sign.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 Dec 31, 2018
Visual Studio Code Sync Settings Gist
View cloudSettings
{"lastUpload":"2018-12-31T14:37:58.916Z","extensionVersion":"v3.2.4"}
@lizheming
lizheming / users.json
Last active Jan 28, 2018
firekylin users json
View 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 Jul 6, 2017
Detect iPhone Mode
View gl.html
<!-- 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");
View index.html
<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 Feb 6, 2017
虾米自动签到
View xiami.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 / srun.php
Created Oct 25, 2012
Srun login and logout by php
View srun.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
View srun.login.curl.sh
curl -d 'username={username}&password={password}&mac={macaddress}&n=99&type=3' http://202.204.105.195/cgi-bi
n/do_login
You can’t perform that action at this time.