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
Should it be there at all | |
1. Is this field absolutely necessary? | |
Description | |
2. Is the label above it? (Not inside, not below) | |
3. Is the field marked as required (*) or optional? | |
4. Have you removed any placeholder from inside the field? | |
Visibility | |
5. Is the field big enough so that most possible field values are visible? |
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
$font-size: 16px; | |
$line-height: 1.4; | |
$lines-to-show: 3; | |
h2 { | |
display: block; /* Fallback for non-webkit */ | |
display: -webkit-box; | |
max-width: 400px; | |
height: $font-size*$line-height*$lines-to-show; /* Fallback for non-webkit */ | |
margin: 0 auto; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
{ | |
// XYZ FTP | |
"type": "ftp", | |
// Settings | |
"connect_timeout": 5, | |
"save_before_upload": true, | |
"upload_on_save": true, | |
"sync_down_on_open": false, | |
"sync_skip_deletes": false, |
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
// Gulp environment | |
// https://github.com/gulpjs/gulp-util#noop | |
// should start gulp with desired environment | |
// gulp --type production | |
.pipe(gutil.env.type === 'production' ? uglify() : gutil.noop()) |
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
// Mixins | |
// http://css-tricks.com/media-queries-sass-3-2-and-codekit/ | |
@mixin breakpoint($point) { | |
@if $point == lg { | |
@media (min-width: 1200px) { @content; } | |
} | |
@else if $point == md { | |
@media (min-width: 992px) { @content; } | |
} | |
@else if $point == sm { |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Bootstrap 101 Template</title> | |
<meta name="description" content="" /> | |
<meta name="keywords" content="" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<!-- CSS --> |
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
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
killall Dock |
NewerOlder