Skip to content

Instantly share code, notes, and snippets.

(function() {
var files = ['assets/site/css/non-critical.css', 'assets/site/img/icons.svg'];
function getExtension(src) {
return src.split('.').pop();
}
function injectContent(content, type) {
if (type === 'css') {
<script type="text/javascript">
(function () {
"use strict";
// once cached, the css file is stored on the client forever unless
// the URL below is changed. Any change will invalidate the cache
var css_href = './index_files/web-fonts.css';
// a simple event handler wrapper
function on(el, ev, callback) {
if (el.addEventListener) {
el.addEventListener(ev, callback, false);
#get root access
$su -
$ cd /tmp
#Remove old Ruby
$ yum remove ruby
# Install dependencies
$ yum groupinstall "Development Tools"
$ yum install zlib zlib-devel