Ctrl+KB | toggle side bar |
Ctrl+Shift+P | command prompt |
Ctrl+` | python console |
Ctrl+N | new file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Markdown: Syntax | |
================ | |
* [Overview](#overview) | |
* [Philosophy](#philosophy) | |
* [Inline HTML](#html) | |
* [Automatic Escaping for Special Characters](#autoescape) | |
* [Block Elements](#block) | |
* [Paragraphs and Line Breaks](#p) | |
* [Headers](#header) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time-format %T | |
date-format %d/%b/%Y | |
log_format "%d:%t +%^" client=%h method=%m request="%r" request_length=%^ status=%s bytes_sent=%b body_bytes_sent=%^ referer=%R user_agent="%^" upstream_addr=%^ upstream_status=%^ request_time=%T upstream_response_time=%^ upstream_connect_time=%^ upstream_header_time=%^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to run this script in one step, copy/paste/execute the following: | |
# bash <(curl -s https://gist.githubusercontent.com/krry/9263570/raw/878797c4e54f9de71137699544567c6bd2d4f6c4/os-x-for-hackers) | |
#!/usr/bin/env bash | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront | |
sudo -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<feed | |
xmlns="http://www.w3.org/2005/Atom" | |
xml:lang="ja-JP"> | |
<author> | |
<name>Japboy</name> | |
</author> | |
<category/> | |
<contributor/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RVM home page: http://rvm.beginrescueend.com | |
Install RVM | |
------------ | |
See http://rvm.beginrescueend.com/rvm/install/ | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
Install rvm for all users |
#Vim Cheat Sheet
gqip
- Reformats paragraph to textwidthgq
- Reformats selection:Tab /=
- Equally spaces based on the = symbol (requires Tabular vim plugin):setf language
- Changes current language:set language=language
- Changes current language<C-a>
- Increments the number under the cursor<C-x>
- Decrements the number under the cursor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Markdown Syntax: | |
1.Phrase Emphasis 斜体与加粗 | |
*italic* **bold** | |
_italic_ __bold__ | |
2.Links 超链接 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) { | |
box-shadow: @x @y @blur @color; | |
-moz-box-shadow: @x @y @blur @color; | |
-webkit-box-shadow: @x @y @blur @color; | |
} | |
.inset-box-shadow(@x: 0, @y: 1px, @blur: 1px, @color: #000) { | |
box-shadow: inset @x @y @blur @color; | |
-moz-box-shadow: inset @x @y @blur @color; | |
-webkit-box-shadow: inset @x @y @blur @color; |
NewerOlder