This file contains hidden or 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
| { | |
| "caret_extra_width": 2, | |
| "color_scheme": "Packages/Colorsublime - Themes/IR_Black.tmTheme", | |
| "draw_white_space": "all", | |
| "enable_tab_scrolling": false, | |
| "folder_exclude_patterns": | |
| [ | |
| ".svn", | |
| ".git", | |
| ".hg", |
This file contains hidden or 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
| # OS X .bashrc | |
| # requires brew install bash-completion | |
| if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| . `brew --prefix`/etc/bash_completion | |
| fi | |
| GIT_PS1_SHOWDIRTYSTATE=true | |
| export PS1='\[\e[1;91m\]\W\[\033[38;5;93m\]$(__git_ps1) \[\e[97m\]\$\[\e[0m\] ' |
This file contains hidden or 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
| export PACKAGE_DIRS="$HOME/work/meteor-shared" | |
| # PS1='\[\e[1;91m\]\u@\h \w \$\[\e[0m\] ' | |
| PS1='\[\e[1;91m\]\W \[\e[97m\]\$\[\e[0m\] ' |
This file contains hidden or 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
| autocmd! | |
| syntax on | |
| :colorscheme inkpot | |
| set number | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set softtabstop=2 |
This file contains hidden or 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
| function parse_git_deleted { | |
| [[ $(git status --ignore-submodules 2> /dev/null | grep deleted:) != "" ]] && echo "-" | |
| } | |
| function parse_git_added { | |
| [[ $(git status --ignore-submodules 2> /dev/null | grep "Untracked files:") != "" ]] && echo '+' | |
| } | |
| function parse_git_modified { | |
| [[ $(git status --ignore-submodules 2> /dev/null | grep modified:) != "" ]] && echo "*" | |
| } |
This file contains hidden or 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
| export CLICOLOR=1 | |
| export LSCOLORS=GxFxCxDxBxegedabagaced | |
| export LANG=pt_BR.UTF-8 | |
| # shortcuts | |
| alias gs="git status" | |
| alias gd="git diff" | |
| alias gc="git commit -a" | |
| alias search="git grep" |
This file contains hidden or 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
| class DartBtn { | |
| ButtonElement addButton(id, text, btnClass, container) { | |
| var button = new ButtonElement(); | |
| button..id = id | |
| ..text = text | |
| ..classes.add(btnClass); | |
| querySelector(container).children.add(button); | |
| return button; | |
| } | |
| } |
This file contains hidden or 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
| var mongoose = require('mongoose') | |
| , Schema = mongoose.Schema; | |
| // models | |
| var Category = require('./category') | |
| , Colors = require('./color') | |
| , Print = require('./print') | |
| , BaseTissue = require('./base_tissue'); | |
| var productSchema = new Schema({ |
This file contains hidden or 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
| var mongoose = require('mongoose') | |
| , Schema = mongoose.Schema; | |
| var categorySchema = new Schema({ | |
| name: String | |
| }); | |
| module.exports = mongoose.model('Category', categorySchema); |
This file contains hidden or 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
| <div class="example"> | |
| <div class="form-group has-warning"> | |
| <label class="control-label" for="inputWarning">Input with warning</label> | |
| <input type="text" class="form-control radius" id="inputWarning"> | |
| </div> | |
| <div class="form-group has-error"> | |
| <label class="control-label" for="inputError">Input with error</label> | |
| <input type="text" class="form-control radius" id="inputError"> | |
| </div> |
NewerOlder