Skip to content

Instantly share code, notes, and snippets.

@bigscorpions
bigscorpions / .jsbeautifyrc
Created February 21, 2017 08:45 — forked from wzup/.jsbeautifyrc
.jsbeautifyrc file example
{
// The plugin looks for a .jsbeautifyrc file in the same directory as the
// source file you're prettifying (or any directory above if it doesn't exist,
// or in your home folder if everything else fails) and uses those options
// along the default ones.
// Details: https://github.com/victorporof/Sublime-HTMLPrettify#using-your-own-jsbeautifyrc-options
// Documentation: https://github.com/einars/js-beautify/
"html": {
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg", "dust"],

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
@bigscorpions
bigscorpions / frontendDevlopmentBookmarks.md
Last active August 29, 2015 08:37 — forked from dypsilon/frontendDevlopmentBookmarks.md
A badass list of frontend development resources I collected over time.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# unzip-gbk.py
import os
import sys
import zipfile
print u"正在处理压缩文件 %s" % sys.argv[1].decode('utf-8')
print
## ArchLinux on MacBook Retina 13"
### Info
#### Resources
- [cgdisk Walktrough](http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html)
- [ArchLinux Installation Guide](https://wiki.archlinux.org/index.php/Installation_Guide)
- [ArchLinux MacBook Retina](https://wiki.archlinux.org/index.php/MacBookPro_Retina)
- [Puppet for MacBook Retina](https://github.com/jantman/puppet-archlinux-macbookretina)