码迷,mamicode.com
首页 >  
搜索关键字:save your cat    ( 40251个结果
php给图片加文字
在图片上加文字是论坛,博客,新闻网站上最喜欢用的功能,防止盗图。这里看看代码是如何实现的。首先还是upload_image.php这个文件,注意这里的caption文本框中输入的内容最终会写到图片上面 Here is your pic! ...
分类:Web程序   时间:2014-05-20 01:48:11    阅读次数:687
Android–SDcard文件读取和保存
背景 一些东西可以存在自己定义的文件里面,这个文件可以在手机中,可以在SD卡中,在这里就主要介绍一下在SD卡中的存储和读取吧~代码 public class save { public static void savefile2card(Context context,String usern...
分类:移动开发   时间:2014-05-19 22:36:15    阅读次数:456
Leetcode | First Missing Positive
Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sho...
分类:其他好文   时间:2014-05-16 02:58:54    阅读次数:249
Topics
TopicsIntroduction (starting with old devices)How to handle a new FirmwareHow to set up your Mac and Device for Vuln Research/Exploit DevelopmentHow t...
分类:其他好文   时间:2014-05-16 00:20:17    阅读次数:410
Extending your SharePoint 2007 site with Microsoft ASP.NET AJAX 3.5
After ASP.NET 3.5 has been installed you need to modify the web.config file of your MOSS web site with a few Ajax specific entries. Typically, the web...
分类:Web程序   时间:2014-05-15 21:16:22    阅读次数:528
mFC 橡皮线
一般都用GDI实现:void CXiangpijinView::OnMouseMove(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default CVi...
分类:其他好文   时间:2014-05-15 21:04:55    阅读次数:330
删除空行
sed -i ‘/^$/d’ filename在Linux下,用户如果想删除文件中的空行,一般使用“grep”,这里给出另外的几种方式: 1.使用“cat”命令,示例如下:#cat filename|tr -s ‘\n’ 2.使用“sed”命令,示例如下:#sed ‘/^$/d’ filename ...
分类:其他好文   时间:2014-05-15 21:03:37    阅读次数:212
ERROR: function @ Ordinal 1883 missing !!! Please Check your SYSGEN variable !!!
ERROR:function@Ordinalxxxmissing今天新定制了一个OS,测试以前的应用程序,程序无法运行,查看串口信息有如下错误提示:ERROR:function@Ordinal1883missing!!!PleaseCheckyourSYSGENvariable!!!这通常是系统缺少某个组件导致的。查看\WINCE600\PUBLIC\COMMON\OAK\LIB\ARMV4I\..
分类:其他好文   时间:2014-05-15 19:08:38    阅读次数:259
删除大量小文件
FreeBSD删除文件缓存,在负载方面FreeBSD比CentOS好很多很多。#!/bin/sh if[!-s/tmp/dir.dat];then find/home/www/web/cache-typed>/tmp/dir.dat fi mkdir/var/tmpdir DIRS=`cat/tmp/dir.dat` foriin$DIRS do load=$(top-n1|awk-F‘[.]+‘‘/averages/{print$6}‘) #rsync--delet..
分类:其他好文   时间:2014-05-15 18:51:06    阅读次数:314
ftrace 使用方法
1. 追蹤Kernel function (以schedule()示範)先至/sys/kernel/debug/tracing# cat available_tracers確定有無 函式追蹤器(function)blk mmiotrace function_graph wakeup_rt wakeu...
分类:其他好文   时间:2014-05-15 17:50:00    阅读次数:339
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!