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
$home_base_array = array(); | |
$home_base_array[''] = '--select--'; | |
$home_base_array[$this->config->item('site_name')] = $this->config->item('site_name')); | |
foreach($this->config->item('social_connections') as $connection) | |
$home_base_array[$connection] = $connection; |
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 icalendar import Calendar, Event | |
import simplejson as json | |
import re | |
import web | |
from mimerender import mimerender | |
import sys | |
event = {} | |
urls = ( | |
'https://api.geoloqi.com/1/place/create', 'place' |
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 icalendar import Calendar, Event | |
import simplejson as json | |
import re | |
import web | |
from mimerender import mimerender | |
import sys | |
import urllib2 | |
event = {} |
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
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
- (NSString *) platform; |
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
42.50729 1.53414 Europe/Andorra | |
42.50779 1.52109 Europe/Andorra | |
25.56473 55.55517 Asia/Dubai | |
25.78953 55.9432 Asia/Dubai | |
25.33132 56.34199 Asia/Dubai | |
25.25817 55.30472 Asia/Dubai | |
25.61955 56.27291 Asia/Dubai | |
25.35731 55.4033 Asia/Dubai | |
24.11028 52.73056 Asia/Dubai | |
25.11641 56.34141 Asia/Dubai |
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
require 'gollum/frontend/app' | |
require 'digest/sha1' | |
class App < Precious::App | |
User = Struct.new(:name, :email, :password_hash) | |
before { authenticate! } | |
helpers do | |
def authenticate! |
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
{ | |
"game": { | |
"game_id": "pj9Zb8okVfqEHUCt", | |
"name": "Aaron Test Board 10", | |
"bbox": [ | |
-122.688703536987, | |
45.511970901574, | |
-122.669649124146, | |
45.5231270146092 | |
], |
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
require 'terraformer' | |
require 'geotrigger' | |
require 'launchy' | |
require 'gist' | |
# create a new FeatureCollection | |
# | |
fc = Terraformer::FeatureCollection.new | |
# create a Geotrigger Application session with credentials stored in ~/.geotrigger under the :foo key |
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
[ | |
{ | |
"x": 0, | |
"Foo": 12, | |
"Bar": 3 | |
}, | |
{ | |
"x": 1, | |
"Foo": 24, | |
"Bar": 9 |
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
body { | |
color: #212121; | |
font-family: "Helvetica Neue", "Calibri Light", Roboto, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
letter-spacing: 0.02em; | |
} |
OlderNewer