Archief
Categorie: Werk
GIT: remove all local branches that are not available on origin anymore
git branch --merged master | grep -v '^ master$' | xargs git branch -d
Template loader wrapper
/ The templates tool loads a template with view data. It caches template scripts. Example: loader.load('/path/to/template.html', 'selector', container, data); / (function ($, M) { 'use strict'; var templates…
a web of applications (angular 2)
Ik gaf een presentatie over Angular 2 https://www.slideshare.net/slideshow/jan-2017-a-web-of-applications-angular-2/71456247
loadPage
/ Load a template and put it in a container. @param {String} templateUrl The absolute path to the template @param {String} templateId The id of the chosen template…
get url parameters
function get(key) { var searchParams = {}, search = window.location.search.substring(1); // substring to remove the ? if (search) { search = search.split('&'); for (var i in search) {…

Je software open source maken
In de verschillende projecten die ik voor klanten heb gedaan heb ik al meerdere keren een zelfde soort plugin geschreven. Ik wilde een makkelijkere manier om deze plugin…

Hands-on Google Apps for Work customisation
Werken in de cloud, met name documenten, formulieren en spreadsheets, is voor veel bedrijven al de standaard. Binnen Nederland is Google Apps for Work daarin een van de…
Angular conf 2014
Angular conf 2014 Zie hier de slides: https://kaspereden.github.io/angularconf-dec14//introduction
6 best practices voor Javascript projecten
Voor de meeste programmeertalen zijn er vele standaarden ontwikkeld waaraan een ontwikkelaar zich dient te houden. Javascript is echter een vrijere taal waar minder strict wordt gelet op…
Drag and drop
Modern browsers come shipped with a lot of nice features in order to support drag and dropping. With only little help of javascript a lot of great tools…
The jQuery problem
One of the most horrifying things that happened to me turned out to be a good lesson instead. Working on huge websites most of the time means that…
Datepicker headache
The jQueryui datepicker has been a pain in the ass for us the last few days. But with some research I managed to enter a date before 1970…

iScout – Opening Ceremony 2.0
i, i, i all you hear is i. iPhone, iLife and now also iScout. iScout is a game for scouts where they have to solve puzzles and perform…
Create string from jQuery object
Examine the following: The “Here is some sample text” might be there but not always. What you then want to check is whether the inner html of $(‘.item’)…
