主要需要注意的几个问题: 1.导入图片方式最好用文件导入 代码:
在ViewController.m文件中 2.UILable常用属性 @property(nonatomic,copy) NSString *text;
//设置文本内容 @...
分类:
移动开发 时间:
2014-04-29 22:28:37
阅读次数:
616
费老劲看了parameter estimation for text
analysis,这两天一定把这个gibbs sampling for the
uninitiated看完><先收两个看起来不错的笔记:http://www.crescentmoon.info/?p=504http://www.x...
分类:
其他好文 时间:
2014-04-29 22:07:06
阅读次数:
467
4月29日 上网搜集有关jsp文件上传于下载的资料4月30日 观看视频教程5月1日
设计文件的上传功能,可以上传.doc、.txt pdf rip等文件5月2日 设置file类表单5月3日 连接数据库,实现上传文件到服务器5月4日
设计文件的下载功能5月5日 注册servlet5月6日 实现下载功能...
分类:
其他好文 时间:
2014-04-29 21:55:47
阅读次数:
518
题意:给你一个数组,问你交换最多K个数以后,最大子串和为多少;解题思路:枚举这个数组最大字串和的起点和终点,然后优先队列交换这段里面的小数去换外面的大数,即可求出答案!解题代码:
1 // File Name: c.cpp 2 // Author: darkdream 3 // Created Ti...
分类:
其他好文 时间:
2014-04-29 21:44:33
阅读次数:
605
我使用crontab同步一个文件夹时,发现一个问题,我在crontab中设置的1分钟运行一次.但当那个文件夹的内容改变时。1分钟不一定能同步完,但这时第二个rsync进行又起来了。这个就产生一个问题,二个rsync一起处理相同的文件,这样会出问题。如下1
* * * * /usr/bin/rsync...
分类:
其他好文 时间:
2014-04-29 21:28:07
阅读次数:
560
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Threading.Tasks;namespace 计算字符{ class
Program { ...
分类:
其他好文 时间:
2014-04-29 20:45:02
阅读次数:
446
After having installed Ubuntu OS, you should
update config file for root account. The commands are listed as follow:vi
/etc/lightdm/lightdm.conf #open...
分类:
其他好文 时间:
2014-04-29 19:21:56
阅读次数:
555
ahk 预加载声音:path = "C:\Windows\Media\Windows
Recycle.wav"command := "open " path " alias
AHK_PlayMe"DllCall("Winmm\mciSendString","str",command,"ptr",0,...
分类:
其他好文 时间:
2014-04-29 19:18:50
阅读次数:
424
扩展知识:EditText的android:hint设置EditText为空时输入框内的提示信息。android:gravity android:gravity属性是对该view
内容的限定.比如一个button 上面的text. 你可以设置该text 在view的靠左,靠右等位置.以button为...
分类:
移动开发 时间:
2014-04-29 19:15:47
阅读次数:
492
{使用一般处理程序动态生成验证码}1.新建WebSite项目,添加一般处理程序命名为yzm.ashx,添加如下代码:
public void ProcessRequest(HttpContext context) {
//将context.Response.ContentType = "text/p...
分类:
Web程序 时间:
2014-04-29 18:33:35
阅读次数:
501