index.htmlLoginadmincp.php $_GET['auth_username'], 'auth_password' => $_GET['auth_password'] ); $url = 'http://www.adtuu-server.com/login...
分类:
Web程序 时间:
2015-07-30 10:57:54
阅读次数:
167
$headers = array( "TYPE:xxxxooooo", "TOKEN:00000000");$data = array( 'data' => array('name' => 'test','AGE'=>22), 'registration_ids' => ar...
分类:
Web程序 时间:
2015-07-30 10:44:58
阅读次数:
138
我用curl/post方式发送一段数据给一个接口文件发现$_POST输出为Array(),没有获取到任意字符串,百度上找到方法1 function getRawData(){2 $put = array();3 parse_str(file_get_contents('php://input...
分类:
Web程序 时间:
2015-07-30 10:42:41
阅读次数:
223
#!/bin/bash
#批量查找ip地址所在地
whilereadi
do
sring=`curl-s"http://ip138.com/ips138.asp?ip=${i}&action=2"|iconv-fgb2312-tutf-8|grep‘1.‘|awk-F‘[<>]+‘‘{printsubstr($7,7)}‘|grep-v"^$"|sed-n‘4p‘`
echo$i$sring
done</etc/ip.txt
分类:
其他好文 时间:
2015-07-30 02:18:12
阅读次数:
616
这周末参加了UPYUN的移动沙龙,就提到了React Native,今天就写一篇教程。
首先要配置环境,如果没有就执行下面的工作。
1.安装Homebrew打开终端
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.安装node
brew in...
分类:
其他好文 时间:
2015-07-29 17:26:36
阅读次数:
208
Mac 安装 brew 及其使用方法:
安装brew:
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
卸载brew:
cd `brew --prefix`
rm -rf Cellar
brew pr...
分类:
系统相关 时间:
2015-07-29 14:09:15
阅读次数:
167
1.安装node.js
去官网下载的是安装包,但是性质和安装是使用sudo命令一样,后面会有问题,所以使用命令brew
install node安装;
这个是基于brewHome的,需要先安装brewHome;这个简单,一行ruby命令(因为mac自带ruby,所以不需要额外工作):ruby
-e "$(curl -fsSL
https://raw.githubus...
分类:
移动开发 时间:
2015-07-29 12:10:16
阅读次数:
151
// curl_test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include "curl.h"using namespace std;/** * 一旦curl接收到数据,就会调用此回调函数 * buffer:数据缓冲区指针 * siz...
分类:
Web程序 时间:
2015-07-29 11:50:27
阅读次数:
187
首先是安装Alcatraz插件,这就相当于一个篮子,里面装满了Xcode的插件,非常实用,安装起来也很简单。 通过在终端进行安装,输入如下命令 安装:curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/in...
分类:
其他好文 时间:
2015-07-29 11:46:12
阅读次数:
108
问题 [root@bd21?yum.repos.d]#?yum?makecache??????
Loaded?plugins:?fastestmirror
http://mirrors.163.com/centos/7/os/x86_64/repodata/repomd.xml:?[Errno?14]?curl#6?-?"Could?not?resol...
分类:
移动开发 时间:
2015-07-29 01:10:06
阅读次数:
282