Skip to content

Instantly share code, notes, and snippets.

View atypical's full-sized avatar

MDavid Low atypical

View GitHub Profile
@atypical
atypical / blah.js
Created October 31, 2011 00:52 — forked from danro/blah.js
Read and Clean
function parseTheDashboardData(resp){
var httpStatus = resp.meta.status,
httpMessage = resp.meta.msg,
dashboardPostsArray = resp.response.posts;
for (var i = 0; i < dashboardPostsArray.length; i++){
var current=dashboardPostsArray[i];
var blogName = current.blog_name,
blogID = current.id,
@atypical
atypical / kbd.md
Created August 12, 2013 21:31 — forked from jakebellacera/kbd.md

Use this shortcut to make your computer faster: ⌥+⇧+⌘+Q

/**
*
* this code was inspired by the work done by David Riccitelli
*
* Copyright 2011 Aaron K. Saunders, Clearly Innovative Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
//
// http://devcenter.kinvey.com/titanium/
//
var Kinvey = require('kinvey-titanium-0.9.14');
// new appcelerator facebook module
var FB = require('facebook');
// my good friend momentjs
var moment = require('moment');
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
var Kinvey = require('/services/kinvey-titanium-0.9.10');
//
// create base UI tab and root window
//
var win = Titanium.UI.createWindow({
title : 'Tab 1',
backgroundColor : '#fff'
});