请到http://shadowsocks.org/downloads 下载相关的工具,本服务需要这些软件的配合。
使用有任何问题都可以在Issues提出。
https://github.com/chuquus/chuqu.us/issues
希望能获得大家在连接速度和稳定性上的反馈,谢谢。
// | |
// NSObject+BlockObservation.h | |
// Version 1.0 | |
// | |
// Andy Matuschak | |
// andy@andymatuschak.org | |
// Public domain because I love you. Let me know how you use it. | |
// | |
#import <Cocoa/Cocoa.h> |
#include<pthread.h> | |
#include<stdio.h> | |
// a simple pthread example | |
// compile with -lpthreads | |
// create the function to be executed as a thread | |
void *thread(void *ptr) | |
{ | |
int type = (int) ptr; | |
fprintf(stderr,"Thread - %d\n",type); |
@interface AXMutableOrderedDictionary : NSMutableDictionary <NSMutableCopying> { | |
@private | |
NSMutableArray * _keys; | |
NSMutableDictionary * _dict; | |
} | |
+ (id)newWithCapacity:(NSUInteger)initialCapacity; | |
+ (id)newWithOrderedDictionary:(AXMutableOrderedDictionary *)otherDictionary; | |
+ (id)newWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; |
/* | |
author: jbenet | |
os x, compile with: gcc -o testo test.c | |
linux, compile with: gcc -o testo test.c -lrt | |
*/ | |
#include <time.h> | |
#include <sys/time.h> | |
#include <stdio.h> |
/* | |
File: Reachability.h | |
Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. | |
Version: 2.2 - ARCified | |
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. | |
("Apple") in consideration of your agreement to the following terms, and your | |
use, installation, modification or redistribution of this Apple software |
- (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex | |
{ | |
if (buttonIndex == 1) { | |
NSLog(@"Username:%@",[[alertView textFieldAtIndex:0] text]); | |
NSLog(@"Password:%@",[[alertView textFieldAtIndex:1] text]); | |
} | |
} |
# 中西文切換鍵的默認設置寫在 default.yaml 裏面 | |
# 以下的 default.custom.yaml 在全局範圍重定義該組快速鍵 | |
# | |
# 可用的按鍵有 Caps_Lock, Shift_L, Shift_R, Control_L, control_R | |
# Mac 系統上的鼠鬚管不能區分左、右,因此只有對 Shift_L, Control_L 的設定起作用 | |
# | |
# 已輸入編碼時按切換鍵,可以進一步設定輸入法中西文切換的形式。 | |
# 可選的臨時切換策略有三: | |
# inline_ascii 在輸入法的臨時西文編輯區內輸入字母、數字、符號、空格等,回車上屏後自動復位到中文 | |
# commit_text 已輸入的候選文字上屏並切換至西文輸入模式 |
# xcode-build-timestamp.sh | |
# @desc Set a timestamp as the build number when the project is compiled. | |
# @usage | |
# 1. Select: your Target in Xcode | |
# 2. Select: Build Phases Tab | |
# 3. Select: Add Build Phase -> Add Run Script | |
# 4. Paste code below in to new "Run Script" section | |
# 5. Drag the "Run Script" below "Target dependencies" | |
buildNumber=$(date +%Y%m%d%H%M) |
请到http://shadowsocks.org/downloads 下载相关的工具,本服务需要这些软件的配合。
使用有任何问题都可以在Issues提出。
https://github.com/chuquus/chuqu.us/issues
希望能获得大家在连接速度和稳定性上的反馈,谢谢。
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: