Skip to content

Instantly share code, notes, and snippets.

@alexshive
alexshive / media-queries.scss
Last active December 21, 2015 04:49 — forked from miguelmota/media-queries.scss
1140px desktop dimension
// Sass Media Query Breakpoints
//
// Variables
//
$mobile-small-max-size: 320px !default;
$mobile-max-size: 640px !default;
$tablet-min-size: 768px !default;
$tablet-max-size: 979px !default;
$desktop-min-size: 979px !default;
@alexshive
alexshive / app.js
Last active December 17, 2015 23:18 — forked from FokkeZB/app.js
Didn't work on fresh Titanium project before and was too fast spinning. Fixed for demonstration purposes.
var win = Ti.UI.createWindow({ backgroundColor: '#000' });
var v = Ti.UI.createView({ width: 50, height: 50, backgroundColor: '#fff'});
var s = require('spinner').Spinner(
v, // View to spin
30 // Degrees to spin per millisecond
); // Auto-starts
// Stop
s.stop();