Skip to content

Instantly share code, notes, and snippets.

View yyclaw's full-sized avatar
🔞

神仙Claw yyclaw

🔞
  • Ant International
  • Hangzhou, China
View GitHub Profile
_oo0oo_
o8888888o
88" . "88
(| -_- |)
0\ = /0
___/`---'\___
.' \\| |-- '.
/ \\||| : |||-- \
/ _||||| -:- |||||- \
| | \\\ - --/ | |
# Symbols:
# ☀ ✹ ☄ ♆ ♀ ♁ ♐ ♇ ♈ ♉ ♚ ♛ ♜ ♝ ♞ ♟ ♠ ♣ ⚢ ⚲ ⚳ ⚴ ⚥ ⚤ ⚦ ⚒ ⚑ ⚐ ♺ ♻ ♼ ☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷
# ✡ ✔ ✖ ✚ ✱ ✤ ✦ ❤ ➜ ➟ ➼ ✂ ✎ ✐ ⨀ ⨁ ⨂ ⨍ ⨎ ⨏ ⨷ ⩚ ⩛ ⩡ ⩱ ⩲ ⩵ ⩶ ⨠
# ⬅ ⬆ ⬇ ⬈ ⬉ ⬊ ⬋ ⬒ ⬓ ⬔ ⬕ ⬖ ⬗ ⬘ ⬙ ⬟ ⬤ 〒 ǀ ǁ ǂ ĭ Ť Ŧ     
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[cyan]%}git:(%{$fg[magenta]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[cyan]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[cyan]%})"
@yyclaw
yyclaw / SassMeister-input.scss
Last active March 15, 2017 05:06
Generated by SassMeister.com.
@import 'base.sass/+';
$z-layers: (
'goku': 9001,
'shoryuken': 8000,
'modal': (
'base': 500,
'close': 100,
'header': 50,
'footer': 10
@import 'base.sass/+';
// Specify supports
$browser-supports: parse-rules('last 5 versions');
.fn-clear {
@include clearfix;
}
.fn-left {
#!/bin/bash
cd /usr/local/lib
sudo rm -rf node node_modules
cd /usr/local/bin/
sudo rm -f node npm
cd $HOME
sudo rm -rf .npm
function doubleInteger(i) {
// i will be an integer. Double it and return it.
return i * 2
}
@yyclaw
yyclaw / .jshintrc
Last active December 21, 2015 01:29
{
// 2 空格缩进
"indent": 2,
"smarttabs": true,
// 变量在使用前必须先声明,废弃的变量要及时清理掉
"latedef": "nofunc",
"undef": true,
"unused": true,
@yyclaw
yyclaw / cmd-define-js.sublime-snippet
Created June 29, 2013 05:21
Snippets for Sublime Text
<snippet>
<content><![CDATA[define(function(require, exports, module) {
$0
})]]></content>
<tabTrigger>def</tabTrigger>
<scope>source.js</scope>
<description>define(factory)</description>
</snippet>
@yyclaw
yyclaw / highlight.scss
Created February 22, 2013 05:32
Highlight styles in GitHub
pre, code {
font-family: Consolas, 'Liberation Mono', Courier, monospace;
}
.highlight {
pre {
padding: 6px 10px;
border: 1px solid #ccc;
border-radius: 3px;
background-color: #f8f8f8;
overflow: auto;