新安装了archlinux,记录下自己美化系统的历程以及一些好用的软件,需要的包基本可以在aur中找到(可以安装yaourt),详细的安装使用方法可参考arch wiki 桌面环境:xfce4 主题:numix-solarized 图标:numix-circle xfwm主题:num...
分类:
系统相关 时间:
2014-07-18 19:03:25
阅读次数:
681
Another recursion-style problem.1. Each count of sub-solution with a certain root should contribute to final count2. With a certain root, the num of l...
分类:
其他好文 时间:
2014-07-18 18:18:01
阅读次数:
187
作者:iamlasong
1、接口说明
通过互联网访问,接口调用为HTTP请求的方式,每一次由用户发起的HTTP请求,需要设置验证信息,具体方法是,在HTTP Header部分增加version及authenticate属性,属性值在联调测试之前由总部提供。
接口调用地址:http:// IP:Port/invoke/path/{mail_num}
接口调用方式:HTTP GET方...
分类:
其他好文 时间:
2014-07-18 18:13:53
阅读次数:
367
一: 声明控件。
TextView hasnumTV;
TextView hasnum;// 用来显示剩余字数
int num = 50;// 限制的最大字数
二: 主要的方法:
hasnumTV = (TextView) findViewById(R.id.tv_num);
...
分类:
移动开发 时间:
2014-07-18 18:13:21
阅读次数:
284
1.不要直接调用mallocvoid *malloc(unsigned int num_bytes);malloc函数的工作机制malloc函数的实质体现在,它有一个将可用的内存块连接为一个长长的列表的所谓空闲链表。调用malloc函数时,它沿连接表寻找一个大到足以满足用户请求所需要的内存块。然后,...
分类:
其他好文 时间:
2014-07-18 15:04:11
阅读次数:
162
#include using namespace std;int num[]={3,5,7,9,10,12,15,20,25,30};//10个数int main(){ int x; while(cin>>x) { int L,R,mid; L=0;R=...
分类:
其他好文 时间:
2014-07-18 14:24:25
阅读次数:
314
今天执行脚本的时候遇到错误,如下图:root@ApFree:/usr/sbin# ./conntrack_num_graph.sh ./conntrack_num_graph.sh: line 9: syntax error: unexpected "then" (expecting "}")roo...
分类:
其他好文 时间:
2014-07-18 12:04:31
阅读次数:
554
1#include2#include3chars[85],r[85];4intf[85],a[3],num[3],len;5inttransfer(intc,intk)6{7inti,t=0;8i=c;9while(t!=k)10{11i++;12if(i>len-1)13i=0;14if(f[i]...
分类:
其他好文 时间:
2014-07-18 10:39:31
阅读次数:
253
1.lpush num 0 1 2 3 4 5 6 7 8 9 10 依次从左边推入0 - 102.rpush num 0 1 2 3 4 5 6 7 8 9 10 依次从右边推入0 - 103.lrnage num 0 -1 显示num列表中所有的数据 结果:10 9 8 7 6 5 4 3...
分类:
其他好文 时间:
2014-07-18 10:25:55
阅读次数:
152
仍然是贴代码using UnityEngine;using System.Collections;public class DateControl : MonoBehaviour { public static string Name; public static int Num; ...
分类:
其他好文 时间:
2014-07-18 10:23:34
阅读次数:
162