##Mac show hidden files
defaults write com.apple.finder AppleShowAllFiles YES
change git text editor
git config --global core.editor "nano"
/* | |
article: http://blog.grahamlicence.co.uk/post/Styling-input-placeholder-CSS-to-differ-from-input.aspx | |
Note, when adding these styles they must be implemented seperately as the following not work in either browsers | |
*/ | |
/* Chrome */ | |
input::-webkit-input-placeholder { | |
font-style: italic; | |
} |
/* mixin for retina background images */ | |
@mixin background-image-retina($file, $type, $width, $height) { | |
width: $width+px; | |
height: $height+px; | |
background-image: image-url($file + '.' + $type); | |
background-repeat: no-repeat; | |
background-position: 0% 50%; | |
text-indent: -9999px; | |
overflow: hidden; | |
text-align: left; |
/*** | |
BASE STYLESHEET | |
The purpose of this style sheet is to provide a complete reset of styles and provide a few basic classes. | |
This stylesheet should be included on all pages (even if they drift from a standard template) and, as such, | |
does not contain any styles for the branding or layout. Branding and layout styles can be found in Generic.css. | |
@Authors |
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" } | |
] |
iframe { | |
max-width: 100%; | |
} |
{ | |
"font_size": 9, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"translate_tabs_to_spaces": true, | |
"tab_size": 4 | |
} |
##Mac show hidden files
defaults write com.apple.finder AppleShowAllFiles YES
change git text editor
git config --global core.editor "nano"
.steps {
margin-bottom: 0.5em;
margin-top: 1em;
border-top: solid 1px $drkyellow;
text-align: center;
ul {
list-style: none;
padding: 0.5em;
margin: -1.5em 0 0;
var btn = document.querySelectorAll('button')[0], | |
animatedElement = document.querySelectorAll('.animated-element')[0], | |
animationEndEvent = null; // use this to check for support and trigger fallback | |
// feature detect which vendor prefix is used | |
(function getAnimationEventName () { | |
var testEl = document.createElement('div'), | |
transEndEventNames = { | |
'WebkitAnimation': 'webkitAnimationEnd', | |
'MozAnimation': 'animationend', |
<p class="footnote">Experiment by Graham licence. <a href="https://gist.github.com/grahamlicence/a4a5b2d21e4dfa2a9792" class="github">Fork me on GitHub</a></p> |