- 博客(60)
- 资源 (16)
- 收藏
- 关注
转载 gcc编译优化等级的区别
问:What is the difference between different optimization levels in GCC? Assuming I don't care to have any debug hooks, why wouldn't I just use the highest level of optimization available to me? doe
2012-04-26 14:13:14 1492
转载 因特尔SSE指令教程
Intel SSE Tutorial : An Introduction to the SSE Instruction SetTable of Contents+ Introduction, Prerequisites, and Summary+ SSE Introstructions+ Example 1: Adding Vectors+ Shuffling+
2012-04-26 14:07:56 2063
转载 在linux下使用汇编语言
Using Assembly Language in Linux.Last updated: Monday 8th January 2001Note: there is a turkish translation of this article.Contents:IntroductionIntel and AT&T SyntaxPrefixesD
2012-04-26 14:05:32 799
转载 使用已有的摄像头程序获取照片
Using Existing Camera AppsA quick way to enable taking pictures or videos in your application without a lot of extra code is to use anIntent to invoke an existing Android camera application. A cam
2012-04-25 09:54:06 940
转载 mac os x找回root的密码
Mac OS X recover lost root passwordFor the sake of security, recommendations say to have unique, complex passwords. Most people have a hard time remembering these and will eventually forget on
2012-04-23 22:52:49 1392
转载 Change your Mac Hostname via Terminal
For most people if you want to change your Mac computer name you just do it through the Sharing system preference, it’s quick and very easy. For those of us that are more geekishly inclined, we like
2012-04-23 21:12:06 2707
转载 php记录日志
$ss_log_level = 0; $ss_log_filename = /tmp/ss-log; $ss_log_levels = array( NONE => 0, ERROR => 1, INFO => 2, DEBUG => 3 ); //设置日志级别 function ss_log_set_le
2012-04-23 15:30:57 704
转载 vc++中设置栈的大小
c++的栈的大小是有限制的,多个局部变量累加确实也会增加内存占用,虽然局部变量是自动释放的。如果超出设置大小,程序直接崩溃。vc2005设置堆栈大小的方法:project->property->configuration properties->linker->system下的stack reserve size 和 heap reserve size设置。
2012-04-23 11:47:42 1660
转载 Segmentation fault (core dumped)
Segmentation fault (core dumped)问:I am relatively new on C, I am trying to run a simple program and I get this Error message: Segmentation fault (core dumped) I just want to print any va
2012-04-23 11:40:50 852
转载 哈希表
散列表(Hash table,也叫哈希表),是根据关键码值(Key value)而直接进行访问的数据结构。也就是说,它通过把关键码值映射到表中一个位置来访问记录,以加快查找的速度。这个映射函数叫做散列函数,存放记录的数组叫做散列表。基本概念 * 若结构中存在关键字和K相等的记录,则必定在f(K)的存储位置上。由此,不需比较便可直接取得所查记录。称这个对应关系f为散
2012-04-23 11:39:03 471
转载 在Linux下面去压缩文件或者目录。我们将学习zip, tar, tar.gz和tar.bz2等压缩格式的基本用法
在Linux下面去压缩文件或者目录。我们将学习zip, tar, tar.gz和tar.bz2等压缩格式的基本用法。zip格式已成为压缩文件的标准选择,而且它在windows上也能使用。经常用zip格式压缩那些需要共享给windows用户的文件。如果只是共享给linux用户或者Mac用户,偏向于选择tar.gz格式。ZIPzip可能是目前使用得最多的文档压缩格式。它最大的优点就
2012-04-21 19:21:02 707
转载 Linux系统中静态库和动态库的生成和使用
一、静态库的创建和使用:1、生成静态库 :库名 libmylib.a ar rcs libmylib.a mylib.o 2、将静态库copy到 /usr/lib/ 或/lib/ 目录下 cp libmylib.a /usr/lib/ 3、静态库的使用 比如测试文件为test.c gcc -0 test test.c -lmylib -l为选项, mylib为库名。
2012-04-21 18:05:18 522
转载 Linux命令之ar - 创建静态库.a文件
Linux命令之ar - 创建静态库.a文件 用途说明 创建静态库。a文件。用C/C++开发程序时经常用到,但我很少单独在命令行中使用ar命令,一般写在makefile中,有时也会在shell脚 本中用到。 用途说明 创建静态库。a文件。用C/C++开发程序时经常用到,但我很少单独在命令行中使用ar命令,一般写在makefile中,有时也会在shell脚 本中用到。关于Linux
2012-04-21 18:02:56 678
转载 Linux下链接静态库的顺序问题
Linux下链接静态库的顺序问题在链接静态库时,如果多个静态库之间 存在依赖关系,则有依赖关系的静态库之间存在链接顺序问题。这在使用静态库时需要注意,否则会报符号找不到的链接错误。 例如:lib2.a 依赖于 lib1.a,而最终可执行文件 test 依赖于 lib2.a,则链接选项应为:-llib2.a -llib1.a,而不能反过来,否则会报 lib1.a 中的某些
2012-04-21 17:38:12 1341
转载 怎么设置邮箱收发服务器
QQ邮箱:使用SSL的通用配置如下:**邮件服务器:pop.qq.com,使用SSL,端口号995发送邮件服务器:smtp.qq.com,使用SSL,端口号465或587账户名:您的QQ邮箱账户名(如果您是VIP帐号或Foxmail帐号,账户名需要填写完整的邮件地址)密码:您的QQ邮箱密码电子邮件地址:您的QQ邮箱的完整邮件地址QQ企业邮箱:使用SSL的通用
2012-04-21 15:16:20 5929
转载 ld cannot find an existing library
问:I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find specified libraries. The specific example here is ImageMagick, but I am having sim
2012-04-21 14:40:58 625
转载 使用opencv 2.2静态库时: undefined reference to `clock_gettime' 链接错误问题解决
当你编译程序时, 碰到下面的链接错误, timeval.c:(.text+0x6f): undefined reference to `clock_gettime' 则你只需要在你的Makefile文件里面添加 -lrt ,重新编译即可。
2012-04-21 12:37:34 1166
转载 对于 Package gstreamer-0.10.23 was not found in the pkg-config search path. 的问题的解决
看是手动安装还是以二进制包形式安装:把安装路径添加到 PKG_CONFIG_LIBDIR 即可。 原文:http://www.linuxquestions.org/questions/linux-newbie-8/package-gstreamer-0-10-23-was-not-found-in-the-pkg-config-search-path-776126/ Man
2012-04-19 09:07:38 1797
转载 gcc 头文件搜索路径
Include的header文件,连结数据库,系统定义,总共有下列来源指定gcc去那找。 当初在编译时指定的(在~gcc/gcc/collect2.c:locatelib() 写在specs内的 后来用-D -I -L指定的 gcc环境变量设定(编译的时候) ld.so的环境变量(这是run time的时候) 一、头文件 gcc 在编译时如何去寻找所需要的头文件 :
2012-04-19 09:06:16 542
转载 Java中的值传递和引用传递
在java中实质只存在一种传递方式:即值传递。 而引用传递是对C/C++而言的。结论: 对于基本类型,在方法体内对方法参数进行重新赋值,并不会改变原有变量的值。 对于引用类型,在方法体内对方法参数进行重新赋予引用,并不会改变原有变量所持有的引用。 方法体内对参数进行运算,不影响原有变量的值。 方法体内对参数所指向对象的属性进行运算,将改变原有变量所指向对象的属性值。
2012-04-17 17:55:55 439
转载 grep
grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgrep。编辑本段1. grep简介 egrep和fgrep的命令只跟grep
2012-04-17 16:42:31 486
转载 24时区,GMT,UTC,DST,CST时间详解
许多人都知道两地时间表简称为GMT或UTC,而世界时区表则通称为World Time,那么GMT与UTC的实质原意又是为何?世界时区又是怎么区分的?面盘上密密麻麻的英文单字代表着什么意义与作用呢?这些都是新手在接触两地时间表或世界时区表时,脑海中所不断浮现的种种疑问,以下将带您一探时区奥妙的究竟。世界时区及国际换日线示意图全球24个时区的划分 相
2012-04-17 16:33:51 2037
转载 GMT CST UTC 时间一览
GMT CST UTC 时间一览;2010-05-31 12:13GMT(Greenwich Mean Time,格林威治标准时间): 是指位于英国伦敦郊区的皇家格林尼治天文台的标准时间,因为本初子午线被定义在通过那里的经线。UTC(Universal Time/Temps Cordonné 世界标准时间)CST(Central Standard Time
2012-04-17 16:29:26 1205
转载 How to Upload Multiple files in one request along with other string parameters in android?
Hello everyone,I have shown two methods to upload files in android.In today’s tutorial I will show another simple method to upload files. With this method you can upload multiple files in one requ
2012-04-16 16:26:26 1260
转载 Uploading audio, video or image files from Android to server
源自:http://www.coderzheaven.com/2012/03/29/uploading-audio-video-or-image-files-from-android-to-server/Hello everyone,In one of the previous posts I have shown one method to upload an image in andr
2012-04-16 16:18:36 1024
转载 Android:How to upload .mp3 file and image to http server?
问:My code for uploading image to Server is :String userIdParameter = String.valueOf(userId); String fileName = "temporary_holder.jpg"; HttpURLConnection conn = null; DataOutput
2012-04-16 16:17:34 1593
转载 Android: Upload image or file using http POST multi-part
Hi,After spending whole day, I thought that I should post my experience.I’m trying to upload image to my server using Android 1.5 SDK.By using this method, you will be able to upload a fi
2012-04-16 16:00:24 3028
转载 Post multipart request with Android SDK
Based on this blog I came up with the following solution:http://blog.tacticalnuclearstrike.com/2010/01/using-multipartentity-in-android-applications/You will have to download additional libraries
2012-04-16 15:49:49 575
转载 Using MultipartEntity in Android applications
To be able to upload files from an Android application and use the Multipart content type you need to add some additional jar files to your application.The files needed are apache-mime4j, httpclie
2012-04-16 15:45:18 654
转载 android 拍照上传照片
源自:http://blog.csdn.net/yaoyeyzq/article/details/7254679 废话不多说,直接进入主题,想要在android中实现拍照最简单饿方法就是New 一个 Intent 设置Action为android.media.action.IMAGE_CAPTURE 然后使用startActivityForResult(intent,REQUE
2012-04-16 13:24:59 895
转载 HttpWatch
HttpWatch是强大的网页数据分析工具.集成在Internet Explorer工具栏.包括网页摘要.Cookies管理.缓存管理.消息头发送/接受.字符查询.POST 数据和目录管理功能.报告输出.HttpWatch 是一款能够收集并显示页页深层信息的软件。它不用代理服务器或一些复杂的网络监控工具,就能够在显示网页同时显示网页请求和回应的日志信息。甚至可以显示浏览器缓存和IE之间的交换信息。
2012-04-15 21:49:47 621
转载 最详细的Cydia使用教程------完全版。新补充Cydia1.1.1离线安装(升级)方法。
最详细的Cydia使用教程------完全版。新补充Cydia1.1.1离线安装(升级)方法。写在前面越狱后看到最多的问题是越狱后出问题,当然,最多的还是关于cydia的。看到这里关于Cydia的详细教程似乎还没有,今天无事就来做一个,如有错误请指出,我会及时修正^_^越狱后所有朋友应该怎么办,如何用Cydia添加源、安装deb软件,删除deb软件,以及越狱后Loader安
2012-04-14 12:38:46 4065
转载 iphone 4s iOS 5.0.1越狱
Step-By-Step Guide to Jailbreak iPhone 4S Using Absinthe For Windows [iOS 5.0.1 / iOS 5] Chronic Dev team has just released greenpois0n Absinthe to jailbreak iPhone 4S and iPad 2 for Windows.I
2012-04-14 11:29:17 1519 2
转载 如何备份iOS
iOS: How to back upProducts Affected iPad, iPhone, iPod touch iCloud and iTunes can back up most data on your iPhone, iPad, or iPod touch.Backed-up information include
2012-04-14 11:22:45 820
转载 轻量级web服务器nginx
Nginx ("engine x") 是一个高性能的 HTTP 和 反向代理 服务器,也是一个 IMAP/POP3/SMTP 代理服务器。 Nginx 是由 Igor Sysoev 为俄罗斯访问量第二的 Rambler.ru 站点开发的,第一个公开版本0.1.0发布于2004年10月4日。其将源代码以类BSD许可证的形式发布,因它的稳定性、丰富的功能集、示例配置文件和低系统资源的消耗而闻名。2
2012-04-13 15:27:49 1011
转载 lighttpd
Lighttpd是一个德国人领导的开源软件,其根本的目的是提供一个专门针对高性能网站,安全、快速、兼容性好并且灵活的web server环境。具有非常低的内存开销,cpu占用率低,效能好,以及丰富的模块等特点。lighttpd是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress),
2012-04-13 15:23:56 523
转载 How can i check if an app running in Android?
How can i check if an app running in Android? 问:I am an Android developer and I want to write an if statement in my application. In this statement I want to check if the default browser(browser
2012-04-12 18:25:17 562
转载 start an application from notification bar in android
问:I have an application, I want to show my app icon to the notification bar when my application is running and i also want when user will click on my app icon present in the notification bar my app
2012-04-12 18:23:34 485
TR069客户端 Android版本 源码 并含开发过程中收集的TR069协议开发资料集合
2021-08-17
2503 2593,MTK META工具最新版本
2018-11-13
OpenGL ES 2.0 Programming Guide[pdf和源代码]
2011-11-19
iPhone OpenGL ES 2D游戏范例-《Sir Lamorak’s Quest》
2011-09-24
learn iphone and ipad cocos2d game development
2011-08-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人