urllib : urllib.urlopen('http://mimvp.com').read() urllib2: urllib2.urlopen('http://mimvp.com').read...('http://mimvp.com/delete') # DELETE请求requests.head('http://mimvp.com/get') # HEAD...('http://mimvp.com', params={'love': 'mimvp'}) # GET参数实例requests.post('http://mimvp.com', data={'love.../demo2.php# # 米扑代理购买:# http://proxy.mimvp.com# # mimvp.com# 2016-09-16 import requestsimport sslimport...socks, socket # 需要引入socks.py文件,请到米扑代理下载 mimvp_url = "http://proxy.mimvp.com/exist.php"mimvp_url2
/bin/bash # mimvp.com 2016.05.10 ## Linux 系统随机数 + 范围上限值后, 再取余 function mimvp_random_bignum() { min=$1...)echo−e"(mimvp\_random\_bignum 40000000 50000000) echo -e "(mimvp_random_bignum4000000050000000.../bin/bash # mimvp.com 2016.05.10 ## Linux 时间戳随机数 function mimvp_randnum_date() { min=$1 max=2mid=2 mid...)echo−e"(mimvp\_randnum\_date 40000000 50000000) echo -e "(mimvp_randnum_date4000000050000000.../bin/bash # mimvp.com 2016.05.10 ## Linux 随机文件 function mimvp_randnum_file() { min=$1 max=2mid=2 mid=
# 显示详细的请求(包含请求和返回头200)http -v mimvp.com # 只显示Headerhttp -h mimvp.comhttp --head mimvp.comhttp --header...mimvp.comhttp --headers mimvp.com # 只显示Bodyhttp -b mimvp.comhttp --body mimvp.com # 下载文件http -d mimvp.com... # 模拟提交表单http -f POST mimvp.com username='mimvp-user' # 请求删除的方法http DELETE mimvp.com # 传递JSON数据请求(默认就是...JSON数据请求)http PUT mimvp.com username='mimvp-user' password='mimvp-pwd' # 如果JSON数据存在不是字符串则用:=分隔,例如http...3)表单请求登录 请求: http --form POST proxy.mimvp.com username='mimvp-user' password='mimvp-pwd' 4)设置代理请求 请求:
server { listen 80; server_name proxy.mimvp.com; # 域名可以有多个,用空格隔开 root www/mimvp_proxy... proxy.mimvp.com.crt; ssl_certificate_key proxy.mimvp.com.key; ssl_session_cache shared...## 全部请求强制跳转到国内服务器 https://proxy.mimvp.com } location ~ \.php$ { proxy_pass https://proxy.mimvp.com...查看效果 http://proxy.mimvp.com // 强制跳转到 https://proxy.mimvp.com https://proxy.mimvp.com // 对外显示的唯一域名网址... // 强制跳转到 https://proxy.mimvp.com 小结 1.
查看 HTTP Header 响应头信息,可参见米扑博客:curl 查看 HTTP Header 响应头信息 1、curl -I 查看HTTP 响应头信息 curl -I https://proxy.mimvp.com...proxy=in_hp&sort=&page=5" 2)post 请求 curl -d 'post_data=i_love_mimvp.com' https://proxy.mimvp.com/ip.php...或 curl -H "Content-Type:application/json" -X POST -d '{"post_data":"i_live_mimvp.com"}' 'https://proxy.mimvp.com..."https://proxy.mimvp.com/demo/" wget是另外一个类似于curl,可以用来获取URL的命令行工具。...curl -L -b headers https://proxy.mimvp.com/ip.php
# mail -v -s "subject_title" yanggang@mimvp.com < /etc/passwd yanggang@mimvp.com......12:05:19 +0800 >>> EHLO mimvp.com 250-mimvp-sz2.com Hello localhost [127.0.0.1], pleased to meet you...Sender ok >>> RCPT To: >>> DATA 550 5.1.1 ......Sender ok >>> RCPT To: >>> DATA 250 2.1.5 ......~]# curl ip.cn 当前 IP:47.106.126.18 来自:广东省深圳市 阿里云 [root@mimvp-sz2 ~]# [root@mimvp-sz2 ~]
) ---- 1 ---- Array ( [0] => foo [1] => mimvp ) ---- 2 ---- Array ( [0] => foo [1] => mimvp ) ---...- 3 ---- Array ( [0] => foo [1] => mimvp ) ---- 4 ---- Array ( [0] => foo [1] => mimvp ) ---- 5 ---...=> foo [1] => mimvp ) ---- 10 ---- Array ( [0] => mimvp ) ---- 11 ---- Array ( [0] => mimvp ) ----...12 ---- Array ( [0] => mimvp ) ---- 13 ---- Array ( [0] => mimvp ) ---- 14 ---- Array ( [0] => mimvp...] => mimvp ) ---- 18 ---- Array ( [0] => mimvp ) ---- 19 ---- Array ( [0] => mimvp )
-x用来判断文件是否可执行 3、用作判断的全局变量 例:http://mimvp.com:88/test1/test2/test.php $host:mimvp.com $server_port:88...mimvp.com www.mimvp.com; root /home/web; if($host !...:mimvp.com 域名解析配置: * 表示所有二级域名,例如: abc.mimvp.com, blog.mimvp.com, www.mimvp.com @ 表示根域名,例如: mimvp.com...www 也是二级域名,同 abc.mimvp.com, blog.mimvp.com 类似 mimvp.com 域名解析 ?...实例请见米扑科技,三个域名,都统一指向 mimvp.com http://mimvp.com http://mimvp.net http://ithomer.net
米扑博客最新写了一篇博客《Apache 强制 HTTP 全部跳转到 HTTPS》,分享出来 更多经典技术博客,请见我的米扑博客:https://blog.mimvp.com .htaccess 在每一层独立服务根目录下都存在...,例如: 全部网站根目录为 /var/www/html/.htaccess 米扑博客根目录位 /var/www/html/mimvp-wordpress/.htaccess 米扑论坛根目录位 .../var/www/html/mimvp-discuz/.htaccess 米扑学习根目录位 /var/www/html/mimvp-study/.htaccess HTTP 80 强制转 HTTPS...配置有多个网站,如米扑博客(/var/www/htmp/mimvp-blog/)、米扑论坛(/var/www/htmp/mimvp-forum/)、米扑学习(/var/www/htmp/mimvp-study...米扑博客效果,全部自动跳转到 https : https://blog.mimvp.com https://blog.mimvp.com/about/
-t yanggang@mimvp.com -s smtp.exmail.qq.com -u "邮件标题" -o message-charset=utf-8 -xu robot@mimvp.com -...xp mimvp-password -m "邮件正文内容" 结果错误,信息如下: # /usr/local/bin/sendEmail -f robot@mimvp.com -t yanggang@mimvp.com...-s smtp.exmail.qq.com -u "邮件标题" -o message-charset=utf-8 -xu robot@mimvp.com -xp mimvp-password -m "...-t yanggang@mimvp.com -s smtp.exmail.qq.com -u "邮件标题" -o message-charset=utf-8 -xu robot@mimvp.com -...xp mimvp-password -m "邮件正文内容" -o tls=no # /usr/local/bin/sendEmail -f robot@mimvp.com -t yanggang@mimvp.com
](http://mimvp.com) 官网 http://mimvp.com 米扑代理--------官网...http://mimvp.com](http://mimvp.com) 官网 http://mimvp.com</a...[mimvp-logo.png](./mimvp-logo.png) 方式2) All Right © [mimvp.com](http://mimvp.com) :blush:
mode: "fixed_servers", rules: { singleProxy: { scheme: "http", host: "mimvp_proxy_host...", port: parseInt(mimvp_proxy_port) }, bypassList: ["mimvp.com"] } }; chrome.proxy.settings.set...", password: "mimvp_password" } }; } chrome.webRequest.onAuthRequired.addListener...", port: parseInt(mimvp_proxy_port) }, bypassList: ["mimvp.com"] } }; chrome.proxy.settings.set...", password: "mimvp_password" } }; } chrome.webRequest.onAuthRequired.addListener
/usr/bin/env python # -*- coding:utf-8 -*- # # author: mimvp.com # 2015.10.05 ...' password = "mimvp-password" receiver = 'yanggang@mimvp.com' content = 'hello...mimvp.com' msg = MIMEText(content) msg['Subject'] = 'email-subject' msg['From...' password = "mimvp-password" receiver = 'yanggang@mimvp.com' content = 'hello...' recevier = 'yanggang@mimvp.com' subject = 'sendmail-subject' html_content = 'hello mimvp.com
# 我的米扑科技网站的三个合法域名 server_name mimvp.com mimvp.net ithomer.net; # mimvp.net 域名,全部重定向 mimvp.comif...~* "mimvp.com" ) { rewrite ^(.*) http://mimvp.com permanent;} # mimvp.com只允许mimvp.com, domain.mimvp.com..., money.mimvp.com 三个域名访问 # 其它泛域名全部重定向到 mimvp.com,例如 curlproxy.mimvp.com 重定向到 mimvp.comif ( $host !...: 官方网站为 mimvp.com mimvp.com 正确指向的官方网站 mimvp.net 重定向指向官方网站 ithomer.net 重定向指向官方网站 mimgu.com...陌生域名重定向指向官方网站 domain.mimvp.com 正确指向米扑域名 money.mimvp.com 正确指向米扑财富 curlproxy.mimvp.com 重定向指向官方网站
设置密码时,需要使用到两个插件: # 插件1: modify_headers-0.7.1.1-fx.xpi # 下载地址:https://github.com/mimvp/mimvp-proxy-demo...# # 方式2: close_proxy_authentication-1.1.xpi # 下载地址:https://github.com/mimvp/mimvp-proxy-demo #...['ip'] + ":" + str(mimvp_proxy['port_https']), 'sslProxy' : mimvp_proxy['ip'...] + ":" + str(mimvp_proxy['port_https']), 'socksProxy' : mimvp_proxy['ip'] + "...:" + str(mimvp_proxy['port_socks']), 'ftpProxy' : mimvp_proxy['ip'] + ":" +
米扑代理示例(mimvp-proxy-demo) 米扑代理示例(mimvp-proxy-demo)聚合了多种编程语言使用代理IP,由北京米扑科技有限公司(mimvp.com)原创分享。...= "http://proxy.mimvp.com/exist.php"; $mimvp_url2 = "https://proxy.mimvp.com/exist.php"; // curl proxy_curl...= "http://proxy.mimvp.com/exist.php" mimvp_url2 = "https://proxy.mimvp.com/exist.php" # 全局取消ssl证书验证...//github.com/mimvp/mimvp-proxy-demo/tree/master/Python2/socks.py 2....http://mimvp.com
/sitemap-mimvp.xml', 'https://blog.mimvp.com/sitemap_baidu.xml', 'https://blog.mimvp.com.../sitemap.html', 'https://blog.mimvp.com/sitemap.xml', 'https://blog.mimvp.com/index.php...', 'https://blog.mimvp.com/', 'https://blog.mimvp.com/skill', 'https://blog.mimvp.com.../color', 'https://blog.mimvp.com/music', 'https://blog.mimvp.com/fund', 'https...://blog.mimvp.com/donate', 'https://blog.mimvp.com/about', ); $urls = array(); $url
php/** * mimvp.com * 2017.06.22 */ header("Content-type: text/html; charset=utf-8");$xml = new XMLWriter...> 输出mimvp.xml文件内容: 1234567891011 <?xml version="1.0" encoding="UTF-8"?...新建mimvp.xml 文件: touch mimvp.xml 2....授权mimvp.xml 文件: chmod 766 mimvp.xml 读取 xml test_xml_read.php 1234567891011121314151617181920212223242526272829303132...> 输出结果: 01 米扑代理 02 米扑财富 源代码及应用 请见米扑科技的Github: https://github.com/mimvp/sitemap-php
", port: parseInt(mimvp_proxy_port) }, bypassList: ["mimvp.com"] ...: mimvp_proxy['ip'] + ":" + str(mimvp_proxy['port_https']), '...socksProxy' : mimvp_proxy['ip'] + ":" + str(mimvp_proxy['port_socks']), ...'ftpProxy' : mimvp_proxy['ip'] + ":" + str(mimvp_proxy['port_https']), .../demo2.php (Selenium Python) 更多的代理示例,请见米扑代理的官方github: https://github.com/mimvp/mimvp-proxy-demo 本文中,
sitemap-php 是一个轻量级、简单快速生成网站地图的开源项目,由北京米扑科技有限公司(mimvp.com)开发分享。...(In benchmarks, 1.000.000 url was generating in 8 seconds) 示例: sitemap.xml : http://mimvp.com/sitemap.xml...sitemap.html : http://mimvp.com/sitemap.html How to use Sitemap 封装了生成sitemap.xml的属性和方法的类,使用非常简单,示例代码...: function testSitemap() { $sitemap = new Sitemap("http://mimvp.com"); $sitemap->addItem('/', '1.0..."); 也可以修改初始化的域名为 $sitemap->setDomain('http://blog.mimvp.com'); 设置保存路径 sitemap.xml默认保存在当前目录下,也可设置文件夹目录
领取专属 10元无门槛券
手把手带您无忧上云