Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
username = pksunkara | |
[init] | |
defaultBranch = master | |
[core] | |
editor = nvim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta |
@mixin font-stack-brand { | |
font-family: 'Gotham Rounded A', 'Gotham Rounded B', "proxima-nova-soft", sans-serif; | |
} | |
@mixin font-stack-headers { | |
font-family: 'Whitney Cond A', 'Whitney Cond B', "ronnia-condensed", sans-serif; | |
font-weight: 700; | |
font-style: normal; | |
} | |
@mixin font-stack-body { | |
font-family: 'Whitney SSm A', 'Whitney SSm B', "ff-meta-web-pro", sans-serif; |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
Visit the new improved script here! Smooth scroll to top of page (Improved!)
If you need a plain JavaScript function to add a smooth scrolling back to the top of the page, you can use this script.
<body>
tag. Like this: <body id="top">
onclick
function to the link. Like this: <a href="#top" onclick="scrollToTop(); return false">Back to Top ↑</a>
var penthouse = require('penthouse'); | |
var fs = require('fs'); | |
var cleanCSS = require('clean-css'); | |
gulp.task('penthouse', ['styles'], function () { | |
penthouse({ | |
url: ['http://chadwicks.dev'], | |
css: 'assets/css/application.css', | |
width: 480, | |
height: 800 |
Branch A has commits (X,Y) that also need to be in Branch B. The cherry-pick operations should be done in the same chronological order that the commits appear in Branch A.
cherry-pick
does support a range of commits, but if you have merge commits in that range, it gets really complicated
git checkout branch-B
git cherry-pick X
git cherry-pick Y
var defaultTitle = document.title; | |
// subscribe to visibility change events | |
document.addEventListener('visibilitychange', function () { | |
// fires when user switches tabs, apps, goes to homescreen, etc. | |
if (document.visibilityState === 'hidden') { | |
document.title = 'Baby, Come Back!' | |
} | |
// fires when app transitions from prerender, user returns to the app / tab. | |
if (document.visibilityState === 'visible') { |
// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |
'use strict'; | |
// Требует node.js и пакета mkdirp | |
// Пакет mkdirp: https://www.npmjs.com/package/mkdirp#install — установить глобально или прописать установку в package.json, в секции devDependencies | |
// Использование: | |
// - поместить этот файл в корень проекта | |
// - исправить пути к генерируемым папкам и файлам, если блоки проекта лежат не в ./src/blocks/ | |
// - в терминале, будучи в корневой папке проекта, выполнить node createBlock.js [имя блока] [доп. расширения через пробел] | |
const fs = require('fs'); // будем работать с файловой системой |