This file contains 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
描边和字体大小的关系 | |
普通黑体: | |
13号大小: 普通细黑体 0.1 个阴影宽度就可以了 45 角度旋转一下 | |
大粗体问题 : | |
13号大小: 0.2 字体大小 阴影宽度 角度增加一些 减少锯齿 每30角度 颜色 5 5 5 使用更深的阴影颜色可以 减少颜色外漏 |
This file contains 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
#coding:utf8 | |
f = open('nk.txt').readlines() | |
words = [] | |
for l in f: | |
words.append(l[:-1]) | |
#print l[:-1] | |
#words = [ | |
#'fuck', | |
#'干你妹啊', | |
#] |
This file contains 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
# -*- coding: utf-8 -*- | |
import os | |
import Image | |
import sys | |
import ImageOps | |
import MySQLdb | |
import codecs | |
#得到最小 2次幂值 | |
def getMin2(v): |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 | |
AF_DCMotor Motor1(1); |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <HMC5883L.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <HMC5883L.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <HMC5883L.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <HMC5883L.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 |
This file contains 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
#include <NewPing.h> | |
#include <AFMotor.h> | |
#include <Wire.h> | |
#include <SoftwareSerial.h> | |
#include <HMC5883L.h> | |
#define TRIGGER_PIN 14 | |
#define ECHO_PIN 15 | |
#define MAX_DISTANCE 200 |
This file contains 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/env bash | |
if [[ ! ( # any of the following are not true | |
# 1st arg is an existing regular file | |
-f "$1" && | |
# ...and it has a .ipa extension | |
"${1##*.}" == "ipa" && | |
# 2nd arg is an existing regular file | |
-f "$2" && | |
# ...and it has an .mobileprovision extension |
OlderNewer