Skip to content

Instantly share code, notes, and snippets.

View gybin02's full-sized avatar
🎯
Focusing

Tony gybin02

🎯
Focusing
View GitHub Profile
@gybin02
gybin02 / mvn.gradle
Created July 19, 2018 05:15
gradle 打包到Maven
apply plugin: 'maven'
//apply plugin: 'com.github.dcendents.android-maven'
repositories {
mavenCentral()
}
//for project dependency
project.group = GROUP_ID
project.version = COMPONENT_VERSION
task deploy {
#!/usr/bin/env python2
# lrdcq
# usage python2 unwxapkg.py filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0
@gybin02
gybin02 / htaccsss
Created April 18, 2017 10:26
htaccess wordpress openshift
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.bp-china.com$ [NC]
RewriteRule ^(.*)$ http://www.bp-china.com$1 [L,R=301]
</IfModule>
@gybin02
gybin02 / wp_remove_function
Last active April 18, 2018 09:21
wordpress 后台 界面 修改
//根据需要,将下面代码添加到当前主题functions.php模板文件中:
//by zxb remove wordpress info
// 彻底关闭自动更新
add_filter('automatic_updater_disabled', '__return_true');
// 关闭更新检查定时作业
@gybin02
gybin02 / baidu.batchsaver.js
Created January 17, 2017 04:19
百度云盘转存, 2017 01,已经无效;
/**
* 贪灵Gollum for Baiduyun, Ver.3.4.5
* 立即执行函数:百度云盘批量转存用户分享。
*
* 【特点】
* - 可保持或无视原分享者的目录结构。
* - 支持差分转存。
* - 自动分解转存,可突破单次转存总文件数5000的限制。
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。
* - 支持专辑转存。