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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$breakpoints: ( | |
small: 640px, | |
large: 1024px | |
); |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$breakpoints: (phone: 640px, | |
tablet: 768px, | |
desktop: 1024px) !default; | |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$breakpoints: (phone: 640px, | |
tablet: 768px, | |
desktop: 1024px) !default; | |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
$breakpoints: (phone: 640px, | |
tablet: 768px, | |
desktop: 1024px) !default; | |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@function create-media-query($min-width: null, $max-width: null, $retina: false, $dpr: 1.5, $media: 'only-screen') { | |
$query: $media + ' '; | |
@if $min-width { | |
$query: $query + ' and (min-width: ' + $min-width + ')'; |
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
@function create-media-query($max-width: '', $min-width: '', $responsive: false, $dpr: 1.5, $media: 'only-screen') { | |
$query: '@media ' + $media + ' '; | |
@if $min-width { | |
$query: $query + ' and (min-width: ' + $min-width + ')'; |
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
CDHISTORY=() | |
function add_pwd_to_history() { | |
if [[ ${#CDHISTORY[@]} -gt 9 ]]; then | |
# remove the first element | |
CDHISTORY=("${CDHISTORY[@]:1}"); | |
fi | |
CDHISTORY=("${CDHISTORY[@]}" "$PWD") | |
} |
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
# Atom Cheatsheet (Linux version). | |
# Project Key Bindings. | |
- 'ctrl-shift-p': open the command palette. | |
- 'ctrl-p' or 'ctrl-t': open the fuzzy finder to find a file. | |
- 'ctrl-b': look for a file that is already open. | |
- 'ctrl-shift-b': search the list of files modified and untracked in your project repository. | |
- 'ctrl-0': open and focus the the tree view. |
NewerOlder