| Command | Description |
|---|---|
| ⌘⇧P | Command palette |
| ⌘KB | Show/hide sidebar |
| ⌃0 | Focus on sidebar |
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
| ############################################################################### | |
| # EMPEZANDO ################################################################### | |
| ############################################################################### | |
| # Configurar email y nombre | |
| git config --global user.name "John Doe" | |
| git config --global user.email "foobarbaz@gmail.com" | |
| # Crear un nuevo repositorio | |
| git init |
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
| /*================================================== | |
| = Bootstrap 3 Media Queries = | |
| ==================================================*/ | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
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
| /** | |
| * Conditional Media Query Mixin. | |
| * Usage: @include media(xs) { ... }, @include media(sm) { ... }, ... | |
| * | |
| * Other elegant and nice solutions: | |
| * http://css-tricks.com/approaches-media-queries-sass | |
| * | |
| * The best solution to get total control of the conditions: | |
| * https://github.com/eduardoboucas/include-media | |
| * http://davidwalsh.name/sass-media-query |
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
| #!/bin/bash | |
| # Generates an 8 bit color table (256 colors) for reference, | |
| # using the ANSI CSI+SGR \033[48;5;${val}m for background and | |
| # \033[38;5;${val}m for text (see "ANSI Code" on Wikipedia) | |
| # | |
| # Reference: http://web.archive.org/web/20131009193526/http://bitmote.com/index.php?post/2012/11/19/Using-ANSI-Color-Codes-to-Colorize-Your-Bash-Prompt-on-Linux | |
| echo -en "\n + " | |
| for i in {0..35}; do |
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
| /** | |
| * Inheriting box-sizing Probably Slightly Better Best-Practice. | |
| * This will give you the same result, and make it easier to change the box-sizing in plugins or other components that leverage other behavior. | |
| * | |
| * Reference: http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ | |
| */ | |
| html { | |
| box-sizing: border-box; | |
| } |
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
| /** | |
| * Disable text selection highlighting. | |
| * | |
| * Reference: http://stackoverflow.com/questions/826782/css-rule-to-disable-text-selection-highlighting | |
| */ | |
| .no-select { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| -khtml-user-select: none; | |
| -moz-user-select: none; |
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
| # References: | |
| # https://help.github.com/articles/generating-ssh-keys/ | |
| # https://help.github.com/articles/working-with-ssh-key-passphrases/ | |
| ############################################################################### | |
| # 1. Check for SSH keys | |
| ############################################################################### | |
| # List the files in your .ssh directory, if they exist | |
| ls -al ~/.ssh |
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
| .aspect-ratio { | |
| display: block; | |
| height: 0; /* we have padding-bottom instead height (content + padding - bottom) */ | |
| padding-bottom: 56.25%; /* 16:9 ratio -> (9 ÷ 16) × 100 = 56.25 */ | |
| overflow: hidden; | |
| } |
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
| <!doctype html> | |
| <!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> | |
| <!--[if IE 7 ]> <html class="ie7"> <![endif]--> | |
| <!--[if IE 8 ]> <html class="ie8"> <![endif]--> | |
| <!--[if IE 9 ]> <html class="ie9"> <![endif]--> | |
| <!--[if (gt IE 9)|!(IE)]><!--> <html class=""> <!--<![endif]--> | |
| <head> |