Skip to content

Instantly share code, notes, and snippets.


Carl Vuorinen cvuorinen

Block or report user

Report or block cvuorinen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cvuorinen on github.
  • I am cvuorinen ( on keybase.
  • I have a public key ASC8S8pTO7Pskhc8K6Aa4oCgRlhytBXVTdQ7BgZjGxZEdwo

To claim this, I am signing this object:

cvuorinen /
Created Jan 8, 2018
README template

Project title

Short description about the project and it's purpose. Includes e.g. projects main goal, intended users, some history (if old project) etc.


Project team and other people that are involved with the project.

cvuorinen / raffle.html
Created Aug 25, 2017
Raffle a random name from a list (quickly display random names and gradually slow down until finally revealing winner)
View raffle.html
<!DOCTYPE html>
const names = `
Testy McTesterson
Teofila Kamer
Gerard Yann
Majorie England
Shantell Donaldson
Chuck Daily
cvuorinen / karma.conf.js
Last active Jan 3, 2020
Example configurations for running Karma & Protractor tests in headless Chrome (see
View karma.conf.js
// Karma configuration file, see link for more information
module.exports = function (config) {
basePath: '',
frameworks: ['jasmine', '@angular/cli'],
plugins: [
cvuorinen / autocomplete.js
Created May 5, 2016
RxJS & Angular 1 Autocomplete example with async filter
View autocomplete.js
angular.module('app', ['asyncFilter'])
.directive('autocomplete', function () {
return {
scope: {},
template: '<input />' +
'<ul class="suggestions">' +
'<li ng-repeat="suggestion in suggestions | async:this">' +
'<a href="{{ suggestion }}"' +
' target="_blank">{{ suggestion }}</a>' +
'</li>' +
cvuorinen / autocomplete.js
Last active Mar 24, 2018
RxJS & Angular 1 Autocomplete example
View autocomplete.js
angular.module('app', ['rx'])
.directive('autocomplete', function () {
return {
scope: {},
template: '<input ng-model="val" ng-change="update(val)" />' +
'<ul class="suggestions">' +
'<li ng-repeat="suggestion in suggestions">' +
'<a href="{{ suggestion }}"' +
' target="_blank">{{ suggestion }}</a>' +
'</li>' +
cvuorinen / asyncFilter.js
Last active Apr 19, 2016
asyncFilter.js - {{ observableOrPromise | async }}
View asyncFilter.js
.module('asyncFilter', [])
.filter('async', function() {
const values = {};
const subscriptions = {};
function async(input, scope) {
// Make sure we have an Observable or a Promise
if (!input || !(input.subscribe || input.then)) {
return input;
cvuorinen /
Last active Feb 3, 2018
Deploy Button on Olimex A20-OLinuXino-LIME with Jenkins build status and capistrano deploy. More information here:
#!/usr/bin/env python
import os
import time
from pyA20Lime.gpio import gpio
from pyA20Lime.gpio import port
from autojenkins import Jenkins
### configration parameters
You can’t perform that action at this time.