This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=default-width; user-scalable=no" /> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>PhoneGap Notifications</title> | |
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script> | |
<script type="text/javascript" charset="utf-8" src="jqtouch/jquery.js"></script> | |
<script type="text/javascript" charset="utf-8" src="jqtouch/jqtouch.js"></script> | |
<script type="text/javascript" charset="utf-8" src="app.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIControls.m | |
// PhoneGap | |
// | |
// Created by Michael Nachbaur on 13/04/09. | |
// Copyright 2009 Decaf Ninja Software. All rights reserved. | |
// | |
#import "UIControls.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
body { | |
font-family: Helvetica; | |
} | |
#elem { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-webkit-keyframes my-animation { | |
0% { | |
-webkit-transform: rotate(0deg); | |
} | |
100% { | |
-webkit-transform: rotate(360deg); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#go { | |
position:absolute; | |
top:160px; | |
left:150px; | |
-webkit-transform: scale(1); | |
} | |
#go.scale{ | |
-webkit-transform: scale(0); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GRAY | |
$gray: #4e4d49; | |
$gray-70: mix($gray, #FFF, 70%); | |
$gray-50: mix($gray, #FFF, 50%); | |
$gray-20: mix($gray, #FFF, 20%); | |
$gray-light: #a6a499; | |
$gray-light-70: mix($gray-light, #FFF, 70%); | |
$gray-light-50: mix($gray-light, #FFF, 50%); | |
$gray-light-20: mix($gray-light, #FFF, 20%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: ./backup.sh [project [project] ...] | |
# | |
# You need to create a config file ~/.pbbackup which needs to look like this: | |
# AWS_ACCESS_KEY_ID=your_amazon_webservice_access_key | |
# AWS_SECRET_ACCESS_KEY=your_amazon_webservice_secret_access_key | |
# PASSPHRASE=the_passphrase_that_should_be_used_for_gpg_encryption | |
# BUCKET_NAME=the_name_of_the_s3_bucket_to_be_used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tastypie import fields | |
from tastypie.authentication import Authentication | |
from tastypie.authorization import Authorization | |
from tastypie.bundle import Bundle | |
from tastypie.exceptions import NotFound | |
from tastypie.resources import Resource | |
# a dummy class representing a row of data | |
class Row(object): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<kml xmlns="http://earth.google.com/kml/2.1"> | |
<Document> | |
<Folder> | |
<Folder> | |
<Placemark> | |
<MultiGeometry> | |
<LineString> | |
<extrude>1</extrude> | |
<tessellate>1</tessellate> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<kml xmlns="http://earth.google.com/kml/2.1"> | |
<Document> | |
<Folder> | |
<Folder> | |
<Placemark> | |
<MultiGeometry> | |
<LineString> | |
<extrude>1</extrude> | |
<tessellate>1</tessellate> |