Skip to content

Instantly share code, notes, and snippets.

View klamping's full-sized avatar

Kevin Lamping klamping

View GitHub Profile
@klamping
klamping / package.json
Created July 21, 2015 19:26
Example NPM Version Scripts
{
"name": "npm-module",
"version": "1.0.2",
"repository": {
"type": "git",
"url": "https://github.com/myuser/myrepo"
},
"scripts": {
"test": "eslint --env node ./",
"preversion": "npm test",
@klamping
klamping / note.txt
Last active August 29, 2015 14:24
Designer's Guide to Angular
Have your own resource you want to share? Add it in the comments!
(function() {
var codeBlocks = document.getElementsByTagName('pre'),
codeLines = 0,
body = document.getElementsByTagName('body')[0],
text = function(el) {
if (el.innerText) return el.innerText;
return el.textContent;
};
var trimEmptyLines = function (lines) {
@klamping
klamping / app.js
Last active August 29, 2015 14:23
hamster.fetch('char:Notifications', {}, function (err, res) {
if (err) throw err
var notifications = res.notifications;
// filter out all notifications w/o the right ids
var matchingType = _.filter(notifications, function (notification) {
return notification.typeID == 36 || notification.typeID == 37;
});
// convert that collection an array with just the keys
@klamping
klamping / notes.md
Last active November 1, 2017 18:00
Visual Regression Testing Resources
---
layout: post
title: "Add Narration to your Slide Deck with HTML5 Audio"
date: 2013-06-17 10:11
comments: true
categories: ["JavaScript", "HTML5 Audio", "Multimedia"]
author: "Kevin Lamping (@klamping)"
---
**Most presenter will share their slide deck on the web after their presentation. But many times the slides are only a shell of the real talk. Fortunately, with HTML5 audio, we can add our voice back to our slides and recreate the real presentation.**
Busymind Mindfulness for your busy life
Slow down. Search your body for tension.
This could be at your shoulders, your back, or your mouth.
Release the tension let your body sink in to relaxation.
Now focus on your breath.
As you breath, feel your chest expand and contract. Feel the air move in and out.
http://zachholman.com/posts/office-floor-plans/
http://www.targetprocess.com/blog/2014/11/create.html
http://www.paperplanes.de/2014/12/10/from-open-to-minimum-vacation-policy.html
https://www.linkedin.com/pulse/20141113211429-10486099-stop-trying-to-incentivize-your-employees-to-be-more-like-you
https://hbr.org/2014/11/bureaucracy-must-die/
https://medium.com/@redheadjessica/a-step-by-step-guide-to-using-trello-for-team-retrospectives-da327daf7e47
http://www.helpscout.net/blog/candor-in-workplace/
http://www.bhorowitz.com/a_good_place_to_work
http://sethgodin.typepad.com/seths_blog/2015/02/i-dont-care-enough-to-give-you-constructive-feedback.html
http://apievangelist.com/2012/01/12/the-secret-to-amazons-success-internal-apis/
@klamping
klamping / scrollerific.js
Created February 2, 2015 16:32
Scroll thingy
// Container element to add/remove class to
var container = $('body')
// this is the class that will be added to the body tag when the page is scrolled down
var scrollClass = "window-scrolled";
// how far down the page needs to be scrolled for the class to be added
var positionTrigger = 10;
$(window).scroll(function (event) {
Team vs. performance
Last 3 games
Last game
- Regression to mean
Travelling East
Injuries