Skip to content

Instantly share code, notes, and snippets.

View DomDerrien's full-sized avatar

Dom Derrien DomDerrien

View GitHub Profile
@DomDerrien
DomDerrien / AndroidManifest.xml
Created June 6, 2011 01:44
OAuth authentication handling in a Android application
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="twetailer.console"
android:versionName="0.1" android:versionCode="1">
<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application android:label="@string/app_name" android:icon="@drawable/ase_men">
<activity android:name=".Dashboard"
@DomDerrien
DomDerrien / IDBStore.js
Created July 21, 2014 13:56
Dojo & Intern: use of `require.undef()` to be able to get a freshly loaded module as parameter for `require()`
/*global define, indexedDB*/
/*jslint white: true*/
/* Source: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB */
define([
'dojo/_base/declare',
'dojo/Deferred',
'dojo/has',