This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 括号里表示一开始输入几个0 | |
| 0:0(0) | |
| 1:1(1) | |
| 2:2(2) | |
| 3:3(3) | |
| 4:4(4) | |
| 5:5(5) | |
| 6:6(6) | |
| 7:9(3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tell application "Messages" | |
| repeat 10 times | |
| send "hello" to buddy "对方邮件" of service "E:自己账号" | |
| end repeat | |
| end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // NSURL+ZXURL.h | |
| // ZXTools | |
| // | |
| // Created by zhangxi on 13-6-21. | |
| // Copyright (c) 2013年 张玺. All rights reserved. | |
| // | |
| /* | |
| demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/python | |
| import os | |
| import urllib | |
| import shutil | |
| url = 'https://raw.github.com/zhangxigithub/ZXTools/master/ZXTools.podspec' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| need : shenzhen | |
| https://github.com/nomad/shenzhen | |
| Installation: | |
| $ gem install shenzhen | |
| */ | |
| $dir = "/Applications/MAMP/htdocs/mad/project/MADClient"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSMutableDictionary *result = [NSMutableDictionary dictionary]; | |
| NSFileManager *manager = [NSFileManager defaultManager]; | |
| NSString *root = @"/Users/zhangxi_imac/Desktop/未命名文件夹 2/Frameworks"; | |
| NSArray *dirs = [manager contentsOfDirectoryAtPath:root error:nil]; | |
| for(NSString *dir in dirs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require("http"), | |
| url = require("url"), | |
| path = require("path"), | |
| fs = require("fs"); | |
| http.createServer(function (req, res) { | |
| var pathname=__dirname+url.parse(req.url).pathname; | |
| if (path.extname(pathname)=="") { | |
| pathname+="/"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data:text/html;charset=UTF-8, | |
| <html> | |
| <head> | |
| <meta content="yes" name="apple-mobile-web-app-capable" /> | |
| <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> | |
| <title>莱州市</title> | |
| </head> | |
| <body bgcolor="#ffffff"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // ZXRemoteNotification.h | |
| // ZXPush | |
| // | |
| // Created by 张玺 on 12-8-13. | |
| // Copyright (c) 2012年 张玺. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Cocoa | |
| class Human:NSCopying | |
| { | |
| var name = ".." | |
| var spouse:Human? | |
| func copy() -> AnyObject! { |
OlderNewer