Skip to content

Instantly share code, notes, and snippets.

@awendland
awendland / WebStorage.ts
Last active December 14, 2015 02:31 — forked from heyimalex/WebStorage.js
localStorage sync with redux and TypeScript
export default class WebStorage {
private key: string;
private storageArea: Storage;
constructor(key: string, storageArea = window.localStorage) {
this.key = key;
this.storageArea = storageArea;
}

Android Cheat Sheet

Styles

Font family

android:fontFamily="sans-serif"                 // roboto regular
android:fontFamily="sans-serif-light"           // roboto light
android:fontFamily="sans-serif-condensed"       // roboto condensed
@awendland
awendland / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console