Install Package Control for easy package management.
- Open the console with
Ctrl+`
- Paste in the following:
Install Package Control for easy package management.
Ctrl+`
#!/usr/bin/env bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
export PATH | |
#================================================= | |
# System Required: CentOS 6+/Debian 6+/Ubuntu 14.04+ | |
# Description: Install the ShadowsocksR server | |
# Version: 2.0.38 | |
# Author: Toyo | |
# Blog: https://doub.io/ss-jc42/ |
/** | |
* 修复微信编码问题 | |
*/ | |
// MIME types to work on | |
const TARGET_MIME_TYPE = [ | |
/^text\/[\w-.]+/i, | |
/^application\/json/i, | |
/^application\/(x-)?javascript/i, | |
/^application\/(xhtml+)?xml/i, |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"
Thx to crxviewer for the magic download URL.
# Official framework image. Look for the different tagged releases at: | |
# https://hub.docker.com/r/library/node/tags/ | |
image: node:6 | |
before_script: | |
- npm install | |
# This folder is cached between builds | |
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache | |
cache: |
// 去除.tpl 中的注释 | |
var removeComments = require('./fis-remove-html-comments.js'); | |
fis.config.set('modules.parser.tpl', [removeComments]); |