Skip to content

Instantly share code, notes, and snippets.

View bestony's full-sized avatar
🎯
Focusing

白宦成 bestony

🎯
Focusing
View GitHub Profile
@bestony
bestony / cla.md
Created November 7, 2023 11:21
CLA for Linux.cn Pragmatic Guide

Contributor License Agreement for Pragmatic Guide

Thank you for your interest in the Pragmatic Guide project. In order to clarify the intellectual property license granted with contributions of software from any person or entity (the "Contributor"), Linux.CN would like to have a Contributor License Agreement on file that has been signed by the Contributor, indicating agreement to the license terms below. this license is for your protection as a Contributor of software to Pragmatic Guide and does not change your right to use your own contributions for any other purpose.

If you have not already done so, please complete this Agreement and send a copy by email mail to Pragmatic Guide Team, bestony@linux.com. Please read this document carefully before signing and keep the original for your records.

Full Name: __________________________________________________________

Email: __________________________________________________________

@bestony
bestony / CLA.md
Created October 8, 2023 11:19
CLA.md

Contributor License Agreement

The following terms are used throughout this agreement:

  • You - the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity that controls or is controlled by the legal entity, or is under common control with it.
  • Project - is an umbrella term that refers to any and all IOMED Medical Solution S.L. open source projects.
  • Contribution - any type of work that is submitted to a Project, including any modifications or additions to existing work.
  • Submitted - conveyed to a Project via a pull request, commit, issue, or any form of electronic, written, or verbal communication with IOMED Medical Solution S.L., contributors or maintainers.

1. Grant of Copyright License.

@bestony
bestony / wx-upload.py
Created March 5, 2020 02:38
云开发上传
# Install the Python Requests library:
# `pip install requests`
import requests
def send_request():
# 上传文件
# POST https://cos.ap-shanghai.myqcloud.com/7263-rcn-1258788140/testfile

% xxxx

@bestony
bestony / .vimrc
Last active April 30, 2018 13:57
my vim rc
set nocompatible
set t_CO=256
syntax on " 语法高亮
set number "显示行号
set linespace=16 "行高16
set cursorline "显示所在行
filetype indent on "文件自动识别
set noerrorbells "不咚咚响
set vb t_vb= " 不咚咚响
set scrolljump=5 "跳转
@bestony
bestony / markdown-here.css
Created August 10, 2017 10:27
Markdown-here
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;
@bestony
bestony / wxpy_group.py
Created April 29, 2017 13:47 — forked from youfou/ad_urls.json
响应好友请求 / 自动聊天 / 限制频率 / 邀请入群 / 远程群管理 / 新人欢迎消息 / 关键词问答 / 发心跳 / 远程命令 / 远程执行代码
#!/usr/bin/env python3
# coding: utf-8
"""
wxpy 机器人正在使用的所有代码
可能需要安装开发分支的 wxpy
pip3 install -U git+https://github.com/youfou/wxpy.git@develop
@bestony
bestony / getRadio.js
Created October 21, 2016 13:39
获取Radio的值
function getRadioValue(RadioName){
var obj;
obj=document.getElementsByName(RadioName);
if(obj!=null){
var i;
for(i=0;i<obj.length;i++){
if(obj[i].checked){
return obj[i].value;
}
}
@bestony
bestony / ctrl.user.js
Created September 2, 2016 13:29
阿里云云栖论坛 Ctrl+ Enter 快速回复
// ==UserScript==
// @name 阿里云 云栖社区 快速回复
// @namespace http://www.ixiqin.com/
// @version 0.1
// @description Ctrl + Enter 快速回复
// @author 西秦公子
// @match https://yq.aliyun.com/*
// @grant none
// ==/UserScript==
@bestony
bestony / newwindow
Created June 26, 2016 02:43
阿里云云栖社区不能新页面打开链接,回答问题时比较麻烦。可以加这个脚本,实习新页面打开!
// ==UserScript==
// @name 阿里云问答社区自动新页面打开
// @namespace http://www.ixiqin.com/
// @version 0.1
// @description 阿里云问答新页面自动打开~
// @author 西秦公子
// @match https://yq.aliyun.com/*
// @grant none
// ==/UserScript==