defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
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
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
@font-face { | |
font-family: 'font-name'; | |
src: url('../font/font-name.svg?#font-name') format('svg'); | |
} | |
} |
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
<!-- non-retina iPhone pre iOS 7 --> | |
<link rel="apple-touch-icon" href="icon57.png" sizes="57x57"> | |
<!-- non-retina iPad pre iOS 7 --> | |
<link rel="apple-touch-icon" href="icon72.png" sizes="72x72"> | |
<!-- non-retina iPad iOS 7 --> | |
<link rel="apple-touch-icon" href="icon76.png" sizes="76x76"> | |
<!-- retina iPhone pre iOS 7 --> | |
<link rel="apple-touch-icon" href="icon114.png" sizes="114x114"> | |
<!-- retina iPhone iOS 7 --> | |
<link rel="apple-touch-icon" href="icon120.png" sizes="120x120"> |
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
// Fonts mixin | |
font-url(file) | |
return '../fonts/' + file | |
webfont(family, file, hack-chrome-windows = false, weight = 'normal') | |
@font-face | |
font-family family | |
src url(font-url(file + '.eot')) | |
src url(font-url(file + '.eot?#iefix')) format('embedded-opentype'), | |
url(font-url(file + '.woff')) format('woff'), |
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
# Make your gitHub project. | |
mkdir project | |
cd project/ | |
git init | |
echo "# Project README file" > README.markdown | |
git add . | |
git commit -m "Project README added" | |
git remote add origin [email protected]:johndoe/project.git | |
git push origin master | |
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
.owl-wrapper-outer { | |
-webkit-transform-style: preserve-3d; | |
} |
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
.element-with-problem { | |
-webkit-backface-visibility: hidden; | |
-webkit-transform: translateZ(0) scale(1.0, 1.0); | |
} |
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
<snippet> | |
<content><![CDATA[ | |
# Useful `.gitignore` templates: | |
# - https://github.com/github/gitignore | |
# OSX taken from: https://github.com/github/gitignore/blob/master/Global/OSX.gitignore | |
# ---------------------------------------------------------------------------------------------- | |
._* | |
.AppleDouble |
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
git clone --depth 1 git://github.com/example-user/example-repo.git |
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
// Example: https://www.meetup.com/floripajs/events/265094805/attendees | |
document.querySelector('.attendees-list').querySelectorAll('li')[Math.floor(Math.random() * document.querySelector('.attendees-list').querySelectorAll('li').length) + 1].querySelector('h4').textContent |
OlderNewer