This is a Chinese version of https://gist.github.com/1207002/86f48cd3b3b72c85e6293926cf7c730de03b2f08 from lucasfais
| ⌘T | 前往文件 |
| ⌘⌃P | 前往项目 |
| ⌘R | 前往 method |
| ⌘⇧P | 命令提示 |
This is a Chinese version of https://gist.github.com/1207002/86f48cd3b3b72c85e6293926cf7c730de03b2f08 from lucasfais
| ⌘T | 前往文件 |
| ⌘⌃P | 前往项目 |
| ⌘R | 前往 method |
| ⌘⇧P | 命令提示 |
| {"frames": { | |
| {% for sprite in spritesAndAliases %} | |
| "{{ sprite.name }}": | |
| { | |
| "frame": {"x":{{ sprite.textureRectX }},"y":{{ sprite.textureRectY }},"w":{{ sprite.textureRectWidth }},"h":{{ sprite.textureRectHeight }}}, | |
| "rotated": {% if sprite.isRotated %}true{% else %}false{% /if %}, | |
| "trimmed": {% if sprite.isTrimmed %}true{% else %}false{% /if %}, | |
| "spriteSourceSize": {"x":0,"y":0,"w":{{ sprite.sourceSizeWidth }},"h":{{ sprite.sourceSizeHeight }}}, | |
| "sourceSize": {"w":{{ sprite.sourceSizeWidth }},"h":{{ sprite.sourceSizeHeight }}}, | |
| "spriteColorRect": {"x":{{ sprite.sourceColorRectX }},"y":{{ sprite.sourceColorRectY }},"w":{{ sprite.sourceColorRectWidth }},"h":{{ sprite.sourceColorRectHeight }}}, |
| #define DEBUG_CONSOLE | |
| #define DEBUG_LEVEL_LOG | |
| #define DEBUG_LEVEL_WARN | |
| #define DEBUG_LEVEL_ERROR | |
| #if (UNITY_EDITOR || DEVELOPMENT_BUILD) | |
| #define DEBUG | |
| #endif | |
| #if (UNITY_IOS || UNITY_ANDROID) |
| // You can switch to a regular Update() loop | |
| // if you comment out this line. (makes debugging easier) | |
| #define COROUTINE | |
| // | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Text; | |
| using UnityEngine; | |
| using Debug = UnityEngine.Debug; |
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| import sys | |
| import pexpect | |
| class OpenQQShell: | |
| def __init__(self, app_user, jumper_ip, jumper_port, token, passwd, cvm_ip): | |
| self.p = self.get_shell(app_user, jumper_ip, jumper_port, token, passwd, cvm_ip) | |
| #!/usr/bin/env python | |
| ''' | |
| Sample code for Apple Push Notification Service in Python | |
| Author: Jacky Tsoi <[email protected]> | |
| Date: December 15, 2011 | |
| ''' | |
| import ssl | |
| import json |
| wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt | |
| sudo mv add-apt-repository.sh.txt /usr/sbin/add-apt-repository | |
| sudo chmod o+x /usr/sbin/add-apt-repository | |
| sudo chown root:root /usr/sbin/add-apt-repository | |
| sudo add-apt-repository ppa:webupd8team/sublime-text-2 |