Skip to content

Instantly share code, notes, and snippets.

View sebdeckers's full-sized avatar
🐑
Hacking on Commons Host

Sebastiaan Deckers sebdeckers

🐑
Hacking on Commons Host
View GitHub Profile
@sebdeckers
sebdeckers / README.md
Last active August 29, 2015 14:22
Codecov / Coverify Example

Sample Output

$ npm run -s report
COVERAGE "c:\\Users\\seb\\Documents\\GitHub\\cbas\\test\\foo.js" [[19,39],[42,47],[42,47]]
COVERED "c:\\Users\\seb\\Documents\\GitHub\\cbas\\test\\foo.js" 2
COVERED "c:\\Users\\seb\\Documents\\GitHub\\cbas\\test\\foo.js" 1
COVERED "c:\\Users\\seb\\Documents\\GitHub\\cbas\\test\\foo.js" 0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebdeckers
sebdeckers / .gitignore
Last active August 29, 2015 14:20
JSPM error with uri-template-lite
jspm_packages/
node_modules/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sebdeckers
sebdeckers / promise-test.js
Created June 12, 2014 10:23
Playing with Promise syntax
require('es6-shim');
function doSomething() {
console.log('doSomething');
return Promise.resolve();
}
function doMore() {
console.log('doMore');
return Promise.reject(Error('failed'));
@sebdeckers
sebdeckers / spec.txt
Created June 2, 2013 10:47
Endpoints draft
GET /organizations/
Response: [{
id: String,
name: String,
email: String,
}*]
GET /walls/?organization=:id
Response: [{
id: String,
@sebdeckers
sebdeckers / selectors.css
Created April 14, 2013 11:29
Example of selectors for every content element
header {
}
header > h1 {
}
header > cite {
}
header > img {
}
section {
}
@sebdeckers
sebdeckers / boilerplate.html
Created April 14, 2013 06:13
HTML boilerplate
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="styles/app.css" />
<script src="scripts/app.js"></script>
</head>
<body>
@sebdeckers
sebdeckers / structure.html
Last active December 16, 2015 04:59
Simple HTML structure example
<!DOCTYPE html>
<html>
<head>
<title>My Profile</title>
<link rel="stylesheet" href="styles/app.css" />
<script src="scripts/app.js"></script>
</head>
<body>
<header>
@sebdeckers
sebdeckers / outline.md
Last active December 16, 2015 04:59
Document content structure example

Sebastiaan's Profile Page

I'm not a mango.

Photo


Navigation Menu