Skip to content

Instantly share code, notes, and snippets.

View gybin02's full-sized avatar
🎯
Focusing

Tony gybin02

🎯
Focusing
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Golf Puttin - Privacy Policy</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; max-width: 800px; margin: 0 auto; padding: 40px 20px; color: #333; }
h1 { border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 28px; }
h2 { margin-top: 30px; font-size: 20px; color: #111; }
p { color: #555; }
@gybin02
gybin02 / support.html
Created May 31, 2026 09:03
Duck President Support
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Support — Duck President</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1.25rem; line-height: 1.6; color: #222; }
h1, h2 { line-height: 1.25; }
a { color: #0a5; }
@gybin02
gybin02 / privacy.html
Created May 31, 2026 09:03
Duck President Privacy Policy
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Privacy Policy — Duck President</title>
<style>
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1.25rem; line-height: 1.6; color: #222; }
h1, h2 { line-height: 1.25; }
a { color: #0a5; }
@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的限制。
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。
* - 支持专辑转存。