duplicates = multiple editions
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
A Classical Introduction to Modern Number Theory,Kenneth IrelandMichael Rosen
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
// | |
// PSPDFThreadSafeMutableDictionary.m | |
// | |
// Copyright (c) 2013 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// | |
// 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 |
package main | |
import ( | |
"database/sql" | |
"fmt" | |
"runtime" | |
"strconv" | |
"time" | |
_ "github.com/go-sql-driver/mysql" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#import <Foundation/Foundation.h> | |
#import "sqlite3.h" | |
typedef int64_t timestamp; | |
NSUInteger randomNumberInRange(NSUInteger start, NSUInteger end); | |
// Create a sample date using the ISO-8601 format. | |
// 2013-04-23T16:29:05Z | |
NSString* generateSampleDate(); |
很好用的 chrome 代理插件 | |
https://chrome.google.com/webstore/detail/proxy-switchysharp/dpplabbmogkhghncfbfdeeokoefdjegm |
定义一个全局的常量以便在 Objective-C
的项目中使用。可以通过创建一个头文件,比如 Constants.h
,然后在头文件声明如下:
FOUNDATION_EXPORT NSString *const MyFirstConstant;
FOUNDATION_EXPORT NSString *const MySecondConstant;
然后在你的执行文件中 Constants.m
中:
NSString *const MyFirstConstant = @"FirstConstant";
NSString *const MySecondConstant = @"SecondConstant";
sh <(curl https://j.mp/spf13-vim3 -L) | |
echo "let g:spf13_bundle_groups=['general', 'neocomplete', 'programming', 'ruby', 'python', 'go', 'javascript', 'html', 'misc', 'writing' ]" >> ~/.vimrc.before.local | |
vim +BundleInstall! +qall | |
使用 tagbar 插件: | |
-- 首先安装:brew install ctags | |
-- go get -u github.com/jstemmer/gotags | |
-- gotags 安装完之后,需要将编译后的 gotags 路径加入到 PATH 路径下,比如在 $GOPATH/bin 下 | |
-- 加入如下内容到 .vimrc.before.local 中: |
package main | |
import ( | |
"fmt" | |
"github.com/cznic/kv" | |
"io" | |
"os" | |
) | |
func getBuf(n int) []byte { |