先晒我的桌面。
一直就很喜欢cairo-dock,在我的ubuntu一直用cairo-dock,今天闲来无事,也在公司这里装了一个,不过!公司电脑的屏幕真心比例不协调,看的我很郁闷~、
接下来入正题了。
在fedora下安装也是非常简单的。
sudo yum install rpmfusion-*
sudo yum install cairo-dock
then,你就可以自己折...
分类:
其他好文 时间:
2014-06-19 12:13:22
阅读次数:
298
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never diffe...
分类:
其他好文 时间:
2014-06-19 11:23:05
阅读次数:
204
1.adb--- 截取屏幕的命令 :adb shell screencap -p | sed 's/\r$//' > outputs.png
2.jni ---命令 :$NDK/ndk-build
3. adb 启动程序:adb shell am start -n 包名/程序Activity类的类名(main)
adb 安装程序: adb install + 路径
...
分类:
移动开发 时间:
2014-06-19 10:17:59
阅读次数:
263
新安装了Debian5,成功安装了oracle11g.记录过程如下。1、升级一下系统#apt-get update#apt-get
upgrade2、安装需要的一些组件:#apt-get install gcc make binutils lesstif2 libc6 libc6-dev
rpm l...
分类:
数据库 时间:
2014-06-16 00:15:41
阅读次数:
448
1,安装必须包apt-get install gcc g++ make binutils
libc6 libc6-dev libstdc++6 libstdc++5 rpm gawk alien ksh lesstif2 libaio1
linux-headers elfutils libaio-d...
分类:
数据库 时间:
2014-06-16 00:11:03
阅读次数:
346
这一题不会做啊……我觉得真要比赛的话我可能会随机上几万次,然后再用LCA求距离,更新最优值,等到快超时的时候输出答案……题解请看2007年陈瑜希论文代码: 1
const maxn=400100; 2 type node=record 3 w,go,next:longint; 4 ...
分类:
其他好文 时间:
2014-06-13 18:19:27
阅读次数:
205
今天想为了是编程简易点就尝试了装了下samba看了很多的帖子,最终找到了一条适合我的道路来实现这个功能。我的系统是ubuntu
12.04首先,先安装apt-get install samba
这个软件在指定地点创建share文件(文件名自己写,代号A)将配子文件备份一遍是永恒不变的真理(以防改错,...
分类:
其他好文 时间:
2014-06-13 17:14:46
阅读次数:
186
#include #include int map[51][51][51];int
v[51][51][51];int a,b,c,t11;struct node{ int x,y,z,ans;}q[200001];int
jx[6]={0,0,0,0,-1,1};int jy[6]={0,0...
分类:
其他好文 时间:
2014-06-13 17:10:39
阅读次数:
157
这个比较简单,用栈、递归、倒转链表都可以实现,不再过多解释。代码使用递归实现 1
#include 2 #include 3 #include 4 typedef struct Node 5 { 6 int data; 7 Node*
next; 8 }Node, *List;...
分类:
其他好文 时间:
2014-06-13 15:25:59
阅读次数:
194
安装需要使用Mac下自带ruby的gem命令来安装要查看ruby的版本,打开终端,输入ruby
-v即可看到首先去GitHub上下载CocoaPods终端输入命令:sudo gem install
cocoapods按提示输入电脑密码初次安装提示了一个错误:ERROR: Error installi...
分类:
其他好文 时间:
2014-06-13 14:55:16
阅读次数:
431