KeyBoardToolBar
import UIKit
class ViewController: UIViewController, UITextFieldDelegate {
@IBOutlet weak var textField: UITextField!
import UIKit
class ViewController: UIViewController, UITextFieldDelegate {
@IBOutlet weak var textField: UITextField!
/** | |
* This is ported from Rangy's selection save and restore module and has no dependencies. | |
* Copyright 2019, Tim Down | |
* Licensed under the MIT license. | |
* | |
* Documentation: https://github.com/timdown/rangy/wiki/Selection-Save-Restore-Module | |
* Use "rangeSelectionSaveRestore" instead of "rangy" | |
*/ | |
var rangeSelectionSaveRestore = (function() { | |
var markerTextChar = "\ufeff"; |
on: | |
push: | |
branches: | |
- master | |
name: Build and Release Apps | |
jobs: | |
build: | |
name: Build Apps | |
runs-on: macos-latest |
#import "PINRemoteImageManager.h" | |
@interface RemoteImageManager : PINRemoteImageManager | |
+ (instancetype)sharedImageManager; | |
typedef void (^PINRemoteImageManagerImagePercentageProgressBlock)(float percent); | |
- (NSUUID *)downloadImageWithURL:(NSURL *)url | |
options:(PINRemoteImageManagerDownloadOptions)options |
<script src="http://cdnjs.cloudflare.com/ajax/libs/processing.js/1.4.1/processing-api.min.js"></script><html> | |
<!-- | |
Created using jsbin.com | |
Source can be edited via http://jsbin.com/pdfjs-helloworld-v2/8598/edit | |
--> | |
<body> | |
<canvas id="the-canvas" style="border:1px solid black"></canvas> | |
<input id='pdf' type='file'/> | |
<!-- Use latest PDF.js build from Github --> |
// From: http://www.bdunagan.com/2009/11/28/iphone-tip-no-nshost/ | |
// MIT license | |
// Remember to add CFNetwork.framework to your project using Add=>Existing Frameworks. | |
#import "BDHost.h" | |
#import <CFNetwork/CFNetwork.h> | |
#import <netinet/in.h> | |
#import <netdb.h> | |
#import <ifaddrs.h> |
// countries, states and subdivisions were generated relying on next documents: | |
// http://www.iso.org/iso/country_names_and_code_elements | |
// http://www.unece.org/cefact/locode/welcome.html | |
var countriesAndStates = [ | |
{"Country":"AD","State":"Canillo"}, | |
{"Country":"AD","State":"Encamp"}, | |
{"Country":"AD","State":"La Massana"}, | |
{"Country":"AD","State":"Ordino"}, | |
{"Country":"AD","State":"Sant Julià de Lòria"}, |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
// erkanyildiz | |
// 20161026-1808+0900 | |
// | |
// FontAwesome.h | |
#ifndef FontAwesome_h | |
#define FontAwesome_h | |
extern const struct FontAwesome | |
{ |