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
<?php | |
header('Location: http://picreate.com/beeper/notification-sent.html'); | |
// include the PHP TwilioRest library | |
require "twilio/twilio.php"; | |
// twilio REST API version | |
$ApiVersion = "2010-04-01"; | |
// set our AccountSid and AuthToken | |
$AccountSid = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"; |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
android:installLocation="auto" | |
android:versionCode="2" | |
android:versionName="2" | |
package="com.whatever.whatwhatever" | |
> |
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
6B25FE7E52CFFBA402619997E2 |
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
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#000'); | |
var win = Titanium.UI.createWindow({ | |
title:'Places', | |
backgroundColor:'#333' | |
}); | |
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
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#000'); | |
var win = Titanium.UI.createWindow({ | |
title:'Places', | |
backgroundColor:'#333' | |
}); | |
// Create XHR and load data |
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
#mobile views | |
def m_index(request): | |
events = Event.objects.all().order_by('start_date') | |
rs = {} | |
for event in events: | |
month = event.start_date.strftime("%B") | |
if rs.has_key(month): | |
rs[month].append(event) | |
else: |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib, urllib2, cookielib | |
import string, os, re, time, datetime, sys | |
import xbmc, xbmcgui, xbmcplugin, xbmcaddon | |
#from xml.etree import ElementTree | |
from elementtree import ElementTree |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import urllib, urllib2, cookielib | |
import string, os, re, time, datetime, sys | |
import xbmc, xbmcgui, xbmcplugin, xbmcaddon | |
BASE = [ | |
'http://apps.ohlulz.com/rtmpgui/list.xml', | |
#'http://localhost/links.xml', |
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php/$1 [L] |