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
//:# Playground - TrueType Font Analysis | |
import Cocoa | |
import XCPlayground | |
var char: Character = "书" | |
var font = CTFontCreateWithName("Weibei SC", 100, nil) | |
func findGlyph(str: String, font: CTFont) -> CGGlyph { |
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
from __future__ import division | |
import copy | |
import math | |
import pyPdf | |
import sys,os | |
# import pyPdf.generic.RectangleObject as rr | |
def split_pages(src, dst): | |
src_f = file(src, 'r+b') |
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 url = ""; | |
var PUZZLE_DIFFICULTY_x = 4; | |
var PUZZLE_DIFFICULTY_y = 4; | |
var PUZZLE_HOVER_TINT = '#009900'; | |
var _canvas; | |
var _stage; | |
var _img; |
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
# IPsec in Cent OS7 | |
https://github.com/travislee8964/L2TP-VPN-installation-script-for-CentOS-7 | |
# Shadowsocks auto install |
NewerOlder