码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
简单音乐播放器
今天复习了下导航器,把播放器美化了下// ViewController.m// 播放器//// Created by apple on 14-7-18.// Copyright (c) 2014年 apple. All rights reserved.//#import "ViewContr...
分类:其他好文   时间:2014-07-22 22:52:14    阅读次数:229
ssc
接了一个ssc的小项目,却因为对方的不作答而半途而废。我写了一天的代码算是废了。主程序 xx.appendChild(obj); Alert.show(xx.toXMLString()); ...
分类:其他好文   时间:2014-07-22 22:52:13    阅读次数:354
dstat mysql5-conn
在/usr/shared/dstat目录下dstat_mysql5_conn.py中的部分源代码c = self.db.cursor()c.execute("""show global variables like 'max_connections';""")max = c.fetchone()c....
分类:数据库   时间:2014-07-22 22:51:36    阅读次数:252
Android的PopupWindow的使用
首先,想说一下,个人觉得PopupWindow用起来比AlertDialog简单,易用,相对AlertDialog更适合初学者的使用使用PopupWindow创建对话框风格的窗口只要如下两步:一、调用PopupWindow的构造器创建PopupWindow对象二、调用PopupWindow的show...
分类:移动开发   时间:2014-07-22 22:50:34    阅读次数:189
HNU 12817 Shipura(表达式求值)
题目链接:http://acm.hnu.cn/online/?action=problem&type=show&id=12817解题报告:定义两种运算符号,一种是>>,就是右移,另一种是S,S = (X^2) % (1e9+7);跟其它表达式求值一样,用两个栈,一个存操作数,另一个存操作符,有一个问...
分类:其他好文   时间:2014-07-22 22:50:14    阅读次数:261
hdu 1556 Color the ball
基础  树状数组 每输入一组数,就对染色次数进行修改; #include #include #include using namespace std; int s[100005],a; int low(int i) { return i&(-i); } void show(int q,int w) { while(q>0) { s[q]+=w;...
分类:其他好文   时间:2014-07-22 22:49:35    阅读次数:188
[UVALive 6663 Count the Regions] (dfs + 离散化)
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4675 题目大意: 在一个平面上有 n (1 解题思路: 由于n很小,可以对整个图进行压缩,只要不改变每条边的相对位置,对答案没有影响。 可以将这些矩形的坐标离...
分类:其他好文   时间:2014-07-19 23:22:29    阅读次数:400
[转发]Dumps of system information with Apple computers
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:移动开发   时间:2014-07-19 23:12:35    阅读次数:867
matlab练习程序(旋转、径向模糊)
还记得过去写过径向模糊,不过当时效果似乎不好。这次效果还可以,程序中用的算法是:1.求当前处理点和图像中心点之间的距离r与角度ang;2.通过对r的修改得到径向模糊。3.通过对ang的修改得到旋转模糊。一看代码就能全部明白,不仔细解释了。原图如下:处理后效果:matlab代码如下:clear all...
分类:其他好文   时间:2014-07-19 23:04:19    阅读次数:259
msyql无法远程登录
error1:ERROR 1045 (28000): Access denied for user 'root'@'xyt.local' (using password: YES)grant all on mysql.* to 'root'@'192.168.11.172' identified b...
分类:其他好文   时间:2014-07-19 22:38:47    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!