This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
| <title>Fake auto play html audio in iOS Safari the right way</title> | |
| </head> | |
| <body> | |
| <h1>在 iOS Safari 中假装自动播放 HTML5 audio(音乐) 的正确方式</h1> | |
| <p>核心原理: 通过一个用户交互事件来主动 play 一下 audio</p> |
| /* | |
| * rem.js | |
| * v0.1.1 | |
| * fixed 2015-3-12 | |
| */ | |
| (function (win){ | |
| var doc = win.document, | |
| html = doc.documentElement, | |
| option = html.getAttribute('data-use-rem'); | |
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
| #! /usr/bin/env python | |
| # coding: utf-8 | |
| ''' | |
| auto switch keyboard between different applications | |
| if you want to change the app list, modify the var 'ignore_list' | |
| ''' | |
| from AppKit import NSWorkspace, NSWorkspaceDidActivateApplicationNotification, NSWorkspaceApplicationKey |
| Open iTerm2 over full-screen'd apps (HACK) | |
| ------------------------------------------ | |
| READ: https://gitlab.com/gnachman/iterm2/issues/1570 | |
| defaults write /Applications/iTerm.app/Contents/Info LSUIElement true | |
| /** | |
| * Created by cycold on 5/11/16. | |
| */ | |
| const path = require('path') | |
| const webpack = require('webpack') | |
| //https://github.com/webpack/extract-text-webpack-plugin | |
| const ExtractTextPlugin = require("extract-text-webpack-plugin") | |
| // https://github.com/ampedandwired/html-webpack-plugin |
| { | |
| "name": "vue-demo", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "debug-details": "webpack -d --display-chunks --display-reasons --display-error-details --display-modules --config webpack.dev.config.js", | |
| "debug-build": "rimraf dist && webpack -d --progress --display-error-details --config webpack.dev.config.js", | |
| "dev": "webpack-dev-server --inline --hot --config webpack.dev.config.js", | |
| "build": "rimraf dist && webpack --progress --hide-modules --config webpack.prod.config.js" |