THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| // MultiExporter.jsx | |
| // Version 0.1 | |
| // Version 0.2 Adds PNG and EPS exports | |
| // Version 0.3 Adds support for exporting at different resolutions | |
| // Version 0.4 Adds support for SVG, changed EPS behaviour to minimise output filesize | |
| // Version 0.5 Fixed cropping issues | |
| // Version 0.6 Added inner padding mode to prevent circular bounds clipping | |
| // | |
| // Copyright 2013 Tom Byrne | |
| // |
alternatively use: http://geoff.greer.fm/lscolors/
The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.
The color designators are as follows:
a black
The pre-commit file listed here is setup to scan files for invalid keywords prior to commit to avoid debug or logging information making its way into production files. Right now it is setup to scan only .js and .coffee files for the following keywords:
KEYWORDS_REGEX="console\.(debug|info|log|warn)\(|alert\(|debugger"
EXTENSIONS_REGEX="(.js$|.coffee$)"| sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; |
| require 'openssl' | |
| class String | |
| CIPHER_NAME = 'aes-256-cbc'.freeze | |
| PBKDF_ITER = 200_000 | |
| KEY_LEN = 32 # 256 bits | |
| SALT_CONST = "fixed-global-salt-v1".freeze | |
| IV_SALT_CONST = "fixed-iv-salt-v1".freeze | |
| def encrypt(password) |
| license: gpl-3.0 |
| bid() { | |
| local shortname location | |
| # combine all args as regex | |
| # (and remove ".app" from the end if it exists due to autocomplete) | |
| shortname=$(echo "${@%%.app}"|sed 's/ /.*/g') | |
| # if the file is a full match in apps folder, roll with it | |
| if [ -d "/Applications/$shortname.app" ]; then | |
| location="/Applications/$shortname.app" | |
| else # otherwise, start searching |
| xmllint --format http://xmlsoft.org/html/libxml-xpathInternals.html | perl -nle '/Function: xmlXPath(\w+)Function</ && print lcfirst $1' | |
| boolean | |
| ceiling | |
| concat | |
| contains | |
| count | |
| false | |
| floor | |
| id |
| menuCommandString,UI MenuString zh_CN | |
| ------------------------------------- | |
| new,新建 | |
| newFromTemplate,从模板新建 | |
| open,打开 | |
| saveacopy,存储副本 | |
| Adobe AI Save For Web,存储为 Web 所用格式(W) | |
| Adobe AI Save Selected Slices,存储选中的切片 | |
| revert,恢复 | |
| AI Place,置入(L) |