Skip to content

Instantly share code, notes, and snippets.

View ZoolWay's full-sized avatar

Ricky Blankenaufulland ZoolWay

View GitHub Profile
@ZoolWay
ZoolWay / camelize.js
Last active May 17, 2016 09:15 — forked from vjt/camelize.js
String.camelize
// I thought I needed it, but I didn't need it anymore,
// but I already implemented it. So, here we go, if you
// ever would need a Javascript camelize implementation
// you can freely use this :-).
// - vjt@openssl.it Tue Feb 15 16:49:52 CET 2011
jQuery.extend (String.prototype, {
camelize: function () {
return s.replace(/(?:^|[-_])(\w)/g, function (stripped, letter) {
@ZoolWay
ZoolWay / app.html
Last active July 27, 2016 08:16 — forked from jdanyow/app.html
Aurelia TaskQueue for DOM rework
<template>
<h1>${message}</h1>
<ul>
<li class="entry" repeat.for="item of list">item: ${item}</li>
</ul>
<div>
<button click.trigger="addItem()">Add Bad</button>
<button click.trigger="addItemQueued()">Add Queued</button>
<button click.trigger="clearLength()">Clear Length</button>
<button click.trigger="clearSplice()">Clear Splice</button>
@ZoolWay
ZoolWay / app.html
Created July 27, 2016 08:59 — forked from Thanood/app.html
Aurelia Array observation
<template>
<h1>watch the data grow</h1>
${dataTitles}
<ul>
<li repeat.for="record of data">item ${record}</li>
</ul>
</template>
@ZoolWay
ZoolWay / bs3-login-form.html
Created August 2, 2016 09:28 — forked from bMinaise/bs3-login-form.html
Bootstrap 3 - Login Form ExampleFrom: http://bootsnipp.com
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-4">
<h1 class="text-center login-title">Sign in to continue to Bootsnipp</h1>
<div class="account-wall">
<img class="profile-img" src="https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=120"
alt="">
<form class="form-signin">
<input type="text" class="form-control" placeholder="Email" required autofocus>
<input type="password" class="form-control" placeholder="Password" required>
using System;
using System.Runtime.InteropServices;
// ReSharper disable SuspiciousTypeConversion.Global
// ReSharper disable InconsistentNaming
namespace VideoPlayerController
{
/// <summary>
/// Controls audio using the Windows CoreAudio API
/// from: http://stackoverflow.com/questions/14306048/controling-volume-mixer