This file contains hidden or 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
| In [4]: Service.objects.all() | |
| Out[4]: [<Service: FREE TUNES>] |
This file contains hidden or 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] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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" | |
| > |