Skip to content

Instantly share code, notes, and snippets.

@JeroenVdb
JeroenVdb / Front-end Conferences.md
Last active August 29, 2015 14:06
Front-end Conferences

Landyard Front-end: http://lanyrd.com/topics/front-end/

Conference Location 2014 2015 Topics Website
Fronteers Netherlands 8-10 Oktober Front-end https://fronteers.nl/congres
Coldfront Denmark 4 September Front-end http://coldfrontconf.com/
Front-Trends Poland 7-9 May 6-8 May Front-end http://front-trends.com/
WebPerfDays Netherlands 11 Oktober Web performance http://www.webperfdays.org/
WebPerfDays Spain 20 November Web performance http://www.webperfdays.org/
Velocity Spain 17-19 November Web Performance http://velocityconf.com/velocityeu2014
@JeroenVdb
JeroenVdb / gist:be9effdaf766863483d6
Last active August 29, 2015 14:06
ETags on Akamai
Date: 16/09/2014
File: http://static2.hln.be/static/photo/2014/17/13/0/20140909105316/media_xll_7096935.jpg
Remote address: 2.18.242.32:80
Response header:
HTTP/1.1 200 OK
Server: Apache
Last-Modified: Tue, 09 Sep 2014 08:53:13 GMT
ETag: "15acee4-5285-5029e10d29d13"
Accept-Ranges: bytes
@JeroenVdb
JeroenVdb / mailfriend.html
Created September 16, 2014 09:13
Mail a friend
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>$contentTitle</title>
<style>
p {
line-height: 20px;
}
function socialListeners() {
if (typeof FB !== 'undefined'){
FB.Event.subscribe('edge.create', function() {
dataLayer.push({
'event': 'Social interaction',
'eventAction': 'Social follow',
'eventLabel': 'Facebook'
});
}
);
@JeroenVdb
JeroenVdb / git-commands.md
Last active August 29, 2015 14:08
Git Bash common commands

Branch: create new

git checkout -b featurebranch

Branch: checkout remote one

git checkout featurebranch
@JeroenVdb
JeroenVdb / gist:f7b81728979c80ad82ad
Created November 21, 2014 10:44
sitespeed.io with masterfile and childfiles
info: OS: darwin 12.4.0 sitespeed:3.0.0-beta-4 phantomJs:1.9.8 java:java version "1.8.0_25"
info: Analyze 2 sites
info: Will analyze 3 pages
info: Running YSlow for http://www.demorgen.be/?adops=formats
info: Running YSlow for http://www.demorgen.be/binnenland/vakbondsprotest-hier-mag-u-maandag-grootste-hinder-verwachten-a2126787/?adops=formats
info: Running YSlow for http://www.demorgen.be/binnenland/?adops=formats
info: Done analyzing urls
info: Wrote file assets.html
info: Wrote file errors.html
info: Wrote file hotlist.html
{
"browserScaledImages": {
"warning": 1,
"error": 1
},
"cacheTime": {
"warning": 31449600, // 1 year
"error": 2592000 // 1 month
},
"criticalPathScore": {
http://www.volkskrant.nl/opinie/hoe-europas-elite-europa-verkwanselt~a3889478/?_vis_test_id=5&_vis_opt_random=0.012642487417906523&_vis_hash=9e312a796cffe6f3ccc7b1d46dbe8cc9&_vis_opt_preview_combination=2
@JeroenVdb
JeroenVdb / .eslintrc
Created May 19, 2015 09:42
De Persgroep Javascript conventions for ESLint
# De Persgroep Javascript conventions for ESLint
# Version: 1.0.0
# ESLint: ^0.21.0
# Rule information: http://eslint.org/docs/rules/
globals:
$: false
App: false
window: false
@JeroenVdb
JeroenVdb / SassMeister-input-HTML.html
Created June 23, 2015 08:17
Generated by SassMeister.com.
<div class="container">
<div class="sixpack--1">
<div class="tile tile--1">tile 1</div>
<div class="tile tile--2">tile 2</div>
<div class="tile tile--3">tile 3</div>
</div>
</div>