自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (8)
  • 收藏
  • 关注

原创 OS X 下命令行拷贝当前路径

<br />pwd | pbcopy

2011-01-26 09:45:00 294

原创 ssh登录自动输密码

<br />#!/usr/bin/expect -f #auto ssh login set timeout 30 set host ssh.host.name set login username set passwd password set params "-gfND 7070" spawn ssh $params $login@$host expect "password:" send "$passwd/n" interact   <br /> 

2011-01-05 01:49:00 425

原创 论坛的通知机制

类似论坛的项目需要在贴子更新时通知所有订阅些贴子更新的用户贴子有回复或者其它关联对象的变更均算作一次更新实现方法为了防止同类的通知发送两次,每一类个通知都有一个notification_key,如果评论帖子为"Post-:id-comment"其它操作为"Post-:id-operation_name"class NotificationCenter class user.id, :key => Notification.key_of(obj)) end def post(noti

2011-01-05 00:46:00 353

原创 SnowLeopard Emacs 23.2.2 全屏

<br />在https://github.com/typester/emacs/downloads下载两个补丁<br />到emacs 源代码目录下执行<br />patch -p1 < feature-fullscreen.patch patch -p1 < fix-shiftmodifier-with-ime.patch<br />打好补丁后 编译安装Emacs<br />./configure --with-ns && make && make install && sudo cp -r next

2010-12-15 16:46:00 505

原创 php 5.3.4 Mac OS X 10.6.5 配置

<br />先用mac port安装了libjpeg libpng libfreetype libxpm libiconv<br />mysql 位于 /usr/local/mysql<br /> <br />安装gd之前又把libjpeg libpng libfreetype用源码编译装到了/usr/local<br />gd的configure选项:<br /> <br />MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch x86_64 -g -Os -pipe -

2010-12-15 13:39:00 1047

原创 .emacs

setq make-backup-files nil)

2009-12-24 11:59:00 230

原创 .bash_profile

export SVN_EDITOR=/usr/bin/emacsexport SVN_RESPOS=svn://server/keji/iPhone export CLICOLOR=1export LSCOLORS=gxfxaxdxcxegedabagacadif [ -d /usr/local/mysql/bin ]; then    PATH=$PATH:/usr/

2009-12-24 11:58:00 269

转载 How to Retrieve Remote MAC Address Programmatically

Cited From: http://zachwaugh.com/2009/03/programmatically-retrieving-ip-address-of-iphone/#include #include - (NSString *)getIPAddress{  NSString *address = @”error”;  struct ifaddrs *inte

2009-12-07 14:06:00 426

原创 关于在Linux上启动J2ME及其emulator失败的解决办法

http://tech.techweb.com.cn/archiver/tid-239384.html

2008-06-05 21:54:00 319

Concurrent Programming in Mac OS X and iOS with Grand Central Dispatch

To Steven Paul Jobs: From Mac OS’s very first incarnation, to the present one, wherein the legacy of NeXTSTEP still lives, his relationship with Apple is forever entrenched in OS X (and iOS). People focus on his effect on Apple as a company. No less of an effect, though hidden to the naked eye, is on its architecture. I resisted the pixie dust for 25 years, but he finally made me love Mac OS... Just as soon as I got my shell prompt.

2018-04-23

Mac OS® X and iOS Internals

EVEN MORE THAN TEN YEARS AFTER ITS INCEPTION, there is a dearth of books discussing the architec- ture of OS X, and virtually none about iOS. While there is plentiful documentation on Objective-C, the frameworks, and Cocoa APIs of OS X, it often stops short of the system-call level and implemen- tation specifics. There is some documentation on the kernel (mostly by Apple), but it, too, focuses on building drivers (with I/O Kit), and shows only the more elegant parts, and virtually nothing on the Mach core that is foundation of XNU. XNU is open source, granted, but with over a million lines of source (and comments) with some dating as far back to 1987, it’s not exactly a fun read.

2018-04-11

Postfix: The Definitive Guide

详细介绍 Postfix 邮件系统,英文版 O'Reilly出版社出版

2009-07-12

单片机简易入门 以8051为例

以51为例,一步一步教你掌握单片机开发,适合初学者

2009-05-19

LaTeX 符号详解

全面讲解 LaTeX 中的各种符号 英文版 作者:Scott Pakin <[email protected]>

2009-05-09

SQL 循序渐进教程

SQL 循序渐进教程,可以使初学者快速入门,

2009-05-04

From C++ to Objective-C

通过与C++的对比,结合代码来讲述Objective-C,初学者必备的Objective-C资料

2009-04-29

Teach Yourself Visual C++ in 21 Days.pdf

teach_your_self_visual_c_plus_plus_6_in_21days.pdf 21天自学vc++6 英文pdf 清晰

2008-02-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除