This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Trello Only see Subscribed | |
// @name:zh-CN Trello 只看关注 | |
// @namespace http://www.qs5.org/?trello_only_see | |
// @version 0.1 | |
// @description Add watch-only features to Trello kanbans | |
// @description:zh-CN 给 Trello 看板添加只看关注功能 | |
// @author ImDong | |
// @match https://trello.com/b/* | |
// @grant GM_getValue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Git Hook Shell | |
eventType=$1; | |
projectPath=$2; | |
echo "---- Shell Run ----" | |
echo "Shell # cd ${projectPath}" | |
cd ${projectPath} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* cURL网页抓取 | |
* | |
* @param string $_Get_Url 被访问Url | |
* @param string $_Method 访问方式 POST or GET | |
* @param string $_Form_Data POST 数据 | |
* @param string $_Cookie Cookies | |
* @param array $_Headers 头信息 | |
* @param array $_Proxy 代理地址 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 定义文件名 | |
$imgSrc = './1.jpg'; | |
// 获取图片尺寸信息 | |
$imgSize = getimagesize($imgSrc); | |
// 创建图片对象 | |
$imgObj = imagecreatefromjpeg($imgSrc); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 名称:cURL网页抓取 | |
* 版本:v0.3 | |
* 作者:吣碎De人(http://www.qs5.org) | |
* 最后更新时间:2013年2月4日 | |
* 获取更新:http://www.qs5.org/ | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* 文件缓存系统 | |
* | |
* 普通Cache缓存类,适用于大量零碎小数据缓存。大文件缓存不适用。 | |
* | |
* 特点:缓存文件分目录储存,防止单个目录下文件过多导致IO效率变低。 | |
* 可以控制子目录数,文件数始终在一个可以预见的数量范围之内。 | |
* | |
* 说明: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 可登陆用户列表,按照规则一行一条,用户名必须小写 密码(区分大小写)为md5加密后的结果(不区分大小写) | |
UserAuth::$controlPrefix = 'UserAuth_'; | |
UserAuth::$adminUserList = array( | |
'admin' => 'e10adc3949ba59abbe56e057f20f883e' // 密码 123456 | |
); | |
UserAuth::Check(); // 只有调用此函数才能 对页面登录信息进行验证 | |
class UserAuth { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-03-31T10:12:47.141Z","extensionVersion":"v3.4.3"} |
NewerOlder