关于新浪微博开放平台有很多问题,网上文档写的不是很清楚,授权机制把我给难住了
不清楚怎么回事一直报没有权限 EMAIL给开发人员也没回应偶然尝试到一个方法 States返回了成功 如下代码:1.在head 引用2.Javascript 中
这里的User_id 填写你自己的Userid 如果不知道....
分类:
Windows程序 时间:
2014-06-29 13:37:42
阅读次数:
1173
电路图:升级:sudo apt-get updatesudo apt-get
upgrade加载驱动:sudo modprobe w1-gpio sudo modprobe w1-therm查看:lsmod 查看w1模块是否载入cat
/sys/bus/w1/devices/28-*/w1_slav...
分类:
其他好文 时间:
2014-06-29 12:06:30
阅读次数:
217
题目
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
方法
和有序数组的思想基本一样,将链表进行二分。
TreeNode getBST(ListNode head, int len) {
i...
分类:
其他好文 时间:
2014-06-20 09:46:33
阅读次数:
267
yum配置与使用(很详细)yum的配置一般有两种方式,一种是直接配置/etc目录下的yum.conf文件,另外一种是在/etc/yum.repos.d目录下增加.repo文件。一、yum的配置文件$cat/etc/yum.conf[main]cachedir=/var/cache/yum#yum下载...
分类:
其他好文 时间:
2014-06-11 23:11:34
阅读次数:
376
ssh
narnia3@narnia.labs.overthewire.org密码:OOXX(上一关拿到的密码)cat narnia3.c#include
#include #include #include #include #include #include int main(int argc....
分类:
其他好文 时间:
2014-06-11 09:59:03
阅读次数:
347
备份原文件:sudo cp /etc/network/interfaces
/etc/network/interfaces.bk编辑:sudo nano /etc/network/interfaces修改为以下内容:auto
loiface lo inet loopbackiface eth0 in...
分类:
其他好文 时间:
2014-06-11 07:59:30
阅读次数:
211
#上层makefile调用执行make命令,执行的应该是第一个目标allHEAD =
head.oSYSTEM = ../tools/zSystem#LD = gcc#TEST = -DTEST_DRIVERzOBJECTS = $(HEAD)
inflate.o unzip.o misc.oCFL...
分类:
其他好文 时间:
2014-06-08 07:38:47
阅读次数:
245
Given a linked list, remove thenthnode from the
end of list and return its head.For example, Given linked list:
1->2->3->4->5, and n = 2. After re...
分类:
其他好文 时间:
2014-06-07 16:54:26
阅读次数:
221
atitit.404错误的排查流程总结
#----------jsp head errorPage=""
del zeu ok le.
#------resin 服务器配置问题。俩个应用配置到了同样的的文件夹..
paip.404err two app cfg one same dir
/ cant access
/app1 only can acces...
分类:
其他好文 时间:
2014-06-07 12:16:37
阅读次数:
267
XMLHttpRequest对象可以在不向服务器提交整个页面的情况下,实现局部更新网页。当页面全部加载完毕后,客户端通过该对象向服务器请求数据,服务器端接受数据并处理后,向客户端反馈数据。
XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求...
分类:
其他好文 时间:
2014-06-07 11:25:42
阅读次数:
181