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
// source: http://codepen.io/troutacular/pen/LafsD | |
// include in your file http://web-app.usc.edu/fontello/fontello-variable-generator.js | |
( function() { | |
// set the main element to attach the output | |
var cont = document.querySelector('.footer'); | |
// get all elements with class .the-icons | |
var el = document.querySelectorAll('.the-icons'); | |
// loop through the all el returned | |
for (var i = 0, len = el.length; i < len; i++) { |
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
table { | |
/* remove if moving header */ | |
display: block; | |
overflow: auto; | |
/* end */ | |
margin: 0 0 1.5em; | |
width: 100%; | |
background-color: #fff; | |
border: 1px solid #000; | |
border-bottom: none; |
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
.wrapped-item { | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
text-overflow: ellipsis; | |
-ms-text-overflow: ellipsis; | |
white-space: nowrap; | |
overflow: hidden; | |
word-wrap: normal; | |
max-width: 100px; |
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.task('scripts_insert', ['vendor_scripts', 'site_scripts'], function () { | |
var transform = function(filepath, file, i, length) { | |
return '<script src="' + filepath + '" async></script>'; | |
}; | |
return gulp.src(paths.js.template) | |
.pipe(inject(gulp.src(paths.js.dest.lib + '/*.js', {read: false}), {addRootSlash: false, transform: transform})) | |
.pipe(gulp.dest(base_paths.templates)); |
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
/** | |
* TimeOuts | |
* ======== | |
* | |
* Use the functions below to handle mutliple timeouts | |
* | |
* New timeout | |
* timeOuts['ID'] = setTimeout(someFunction('values'), 250); | |
* | |
* Clear specific timeout |
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
# Option 1 | |
public/ | |
src/ | |
index.html | |
img/ | |
js/ | |
app.js | |
scss/ | |
dist/ |
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
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"1337 Color Scheme", | |
"ACF Snippets", | |
"Color Highlighter", |
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
orig: <iframe src="https://www.youtube.com/embed/%id%"?rel=1&autoplay=1&showinfo="0" frameborder="no"></iframe> | |
fix: <iframe src="https://www.youtube.com/embed/%id%?rel=1&autoplay=1&showinfo=0" frameborder="no"></iframe> |