Skip to content

Instantly share code, notes, and snippets.

View otherjohn's full-sized avatar

John Hamman otherjohn

  • Williamsburg, Va
View GitHub Profile
@otherjohn
otherjohn / gist:af51e0746f351b8baf7001d4b3ec2e21
Last active April 13, 2016 14:58 — forked from kaumac/gist:de6f5126c04d5c210dd2
Firebase companies and employees data structure
{
companies: {
cmp0001: {
name: "Happy company"
employees: {
u0001: "admin",
u0002: "manager"
}
},
cmp0002: {

This gist shows you how to do a slide-down menu in Titanium.

Features:

  • Toggle using a menu button in the ever-visible navigation bar on the top of the screen
  • Menu options animating down from under the navigation bar
  • Hide by swiping the menu options up
  • Hide by tapping the area below the menu options (being the view covered by the slide-down menu

Images:

@otherjohn
otherjohn / .gitignore
Last active August 29, 2015 14:09 — forked from salcode/.gitignore
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20140606
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore