Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

quericy quericy

🎯
Focusing
Block or report user

Report or block quericy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@quericy
quericy / BaiduPCS-appid-getter.py
Created Jan 7, 2019 — forked from pcmid/BaiduPCS-appid-getter.py
获取有效的百度app_id
View BaiduPCS-appid-getter.py
from __future__ import print_function
import requests
import threading
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
@quericy
quericy / bench.sh
Created Jan 1, 2018 — forked from TimothyYe/bench.sh
Bench test script
View bench.sh
#!/usr/bin/env bash
#
# Description: Auto test download & I/O speed script
#
# Copyright (C) 2015 - 2016 Teddysun <i@teddysun.com>
#
# Thanks: LookBack <admin@dwhd.org>
#
# URL: https://teddysun.com/444.html
#
@quericy
quericy / auto_update.sh
Last active May 11, 2019
Auto update tracker list of aria2 config in Mac OSX
View auto_update.sh
#!/bin/bash
DAEMON=/usr/local/Cellar/aria2/1.31.0/bin/aria2c
PID_NAME=aria2c
PID=$(ps ux | awk '/aria2c/ && !/awk/ {print $2}')
CONFIG_PATH='/path/to/aria2.conf'
TRACKER_URL='https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt'
#####
@quericy
quericy / duoshuo-migrate-to-disqus.php
Created May 21, 2017
将多说文章和评论数据迁移到disqus的处理脚本
View duoshuo-migrate-to-disqus.php
<?php
header('content-type:text/html; charset=utf-8');
ini_set('date.timezone', 'Asia/Shanghai');
/**
* 获取多说评论
* @var json
*/
$export = file_get_contents('./export.json');
@quericy
quericy / Laravel_validation.php
Last active Jul 1, 2019 — forked from linkdesu/Laravel_validation.php
Localization Validation Message For Chineses With Laravel 5
View Laravel_validation.php
<?php
/* Last Update : 20170208 ,Laravel 5.3 */
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
You can’t perform that action at this time.