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
ls | sed 's/\.[^.]*$//' |
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
# sublime package list | |
Better CoffeeScript | |
DocBlockr | |
ERB Snippets | |
EasyMotion | |
Inc-Dec-Value | |
Select Quoted | |
Text Pastry | |
auto-save |
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
Show hidden characters
[ | |
// ------------------------------------------------------------------------- | |
// Auto-complete behaviour for ), ], '', "" | |
// Bind to <tab> to step over the auto-completed character(s) | |
// ------------------------------------------------------------------------- | |
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, | |
"context": | |
[ | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]'\"]", "match_all": true }, |
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
alias subl="sublime" | |
# git alias | |
alias gs='git status' | |
alias ga='git add -A' | |
alias gb='git branch' | |
alias gc='git commit -m ' | |
alias gl='git log' | |
alias gp='git push' | |
alias go='git checkout ' |
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
# Change PS1 to only display \w full path | |
# Comment this to go back to default | |
PS1='\w\$ ' | |
# Show date before any prompt | |
# PROMPT_COMMAND="date +%k:%m:%S" | |
# enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" |
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
[ | |
// ------------------------------------------------------------------------- | |
// Auto-complete behaviour for ), ], '', "" | |
// Bind to <tab> to step over the auto-completed character(s) | |
// ------------------------------------------------------------------------- | |
{ "keys": ["tab"], "command": "move", "args": {"by": "characters", "forward": true}, | |
"context": | |
[ | |
{ "key": "following_text", "operator": "regex_contains", "operand": "^[)\\]'\"]", "match_all": true }, |
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
# Chinese (China) translations for Devise(3.2.2) | |
# by Kenrick-Zhou (https://github.com/Kenrick-Zhou) | |
# https://gist.github.com/Kenrick-Zhou/7909822 | |
zh-CN: | |
devise: | |
confirmations: | |
confirmed: "您的帐号已经确认,您现在已登录。" | |
send_instructions: "几分钟后,您将收到确认帐号的电子邮件。" | |
send_paranoid_instructions: "如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件。" |
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
# Chinese (China) translations for Devise(3.2.2) | |
# by Kenrick-Zhou (https://github.com/Kenrick-Zhou) | |
# https://gist.github.com/Kenrick-Zhou/7909822 | |
zh-CN: | |
devise: | |
confirmations: | |
confirmed: "您的帐号已经确认,您现在已登录。" | |
send_instructions: "几分钟后,您将收到确认帐号的电子邮件。" | |
send_paranoid_instructions: "如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件。" |
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
1. Position does not cascade | |
2. Static: | |
- Default | |
- Does not have a z-index | |
3. Relative: | |
- Relative to default(static) | |
- Has a z-index value | |
- Limit scope of absolutely positioned child element | |
4. Absolute: | |
- Relative to a parent(which is relative or absolute positioned) |
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
https://jsfiddle.net/LfgnLz91/ | |
<div class="wrapper wrapper-icon-right icon-check-right"> | |
<input type="text" > | |
</div> | |
.wrapper { | |
width: 100%; | |
box-sizing: border-box; |