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
# coding=utf-8 | |
ceil_data = u'否' | |
row_data_list = [] | |
row_data_list.append( "'" + str(ceil_data) + "'" ) |
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 | |
function send_mail() { | |
$url = 'http://sendcloud.sohu.com/webapi/mail.send.json'; | |
//不同于登录SendCloud站点的帐号,您需要登录后台创建发信子帐号,使用子帐号和密码才可以进行邮件的发送。 | |
$param = array('api_user' => 'ety001_test_NfyMuy', | |
'api_key' => 'uAurAI3tVzbId2Kq', | |
'from' => '[email protected]', | |
'fromname' => 'SendCloud测试邮件', | |
'to' => '[email protected]', | |
'subject' => '来自SendCloud的第一封邮件!', |
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
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
python get-pip.py |
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 | |
/** | |
* author ety001 | |
* desc 处理富文本为APP可显示的形式 | |
* return str | |
*/ | |
function i_remove_space_and_htmltag($str) | |
{ | |
$str = preg_replace('/(<\/[\w]+>)/', "\r\n", $str); | |
$str = str_replace('<br>', "\r\n", $str); |
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 | |
/******************************************************** | |
* @author Kyler You <QQ:2444756311> | |
* @link http://mp.weixin.qq.com/wiki/home/index.html | |
* @version 2.0.1 | |
* @uses $wxApi = new WxApi(); | |
* @package 微信API接口 陆续会继续进行更新 | |
********************************************************/ | |
class WxApi { |
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
/* | |
----------------------------------------------------- | |
Stylesheet Guide | |
----------------------------------------------------- | |
1. Default stylesheets | |
2. General classes | |
3. Basic Elements | |
3.1 Typography | |
3.2 Buttons |
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
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<!-- ldsn --> | |
<ins class="adsbygoogle" | |
style="display:block" | |
data-ad-client="ca-pub-7536831447654223" | |
data-ad-slot="2809102979" | |
data-ad-format="auto"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</script> |
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
function __wget() { | |
: ${DEBUG:=0} | |
local URL=$1 | |
local tag="Connection: close" | |
local mark=0 | |
if [ -z "${URL}" ]; then | |
printf "Usage: %s \"URL\" [e.g.: %s http://www.google.com/]" \ | |
"${FUNCNAME[0]}" "${FUNCNAME[0]}" | |
return 1; |
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 | |
namespace Data\Util; | |
class Num | |
{ | |
static function uppercasemoney($money) | |
{ | |
//数字从右到左的顺序取出并转换为汉字,存入$all | |
$money = number_format($money, 2, '.', ''); | |
$cnums=array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"); |
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
{ | |
"server":"0.0.0.0", | |
"server_port":8888, | |
"local_port":1080, | |
"password":"woqimm", | |
"method": "aes-256-cfb", | |
"timeout":600 | |
} |