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
RPAT.module('Inlets', function(Inlets, App, Backbone, Marionette, $, _) { | |
// Inlet Model | |
// ----------- | |
Inlets.Inlet = Backbone.Model.extend({ | |
idAttribute: "OBJECTID", | |
defaults: { |
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
import urllib2 | |
import urllib | |
base_url = 'http://lucasnad27.cartodb.com/api/v2/sql' | |
api_key = 'none of your business' | |
delete_sql = urllib.quote('delete from CONNECTORS') | |
insert_sql = urllib.quote('Insert into connectors (the_geom,person_id) select ST_MakeLine(points), c.person_id from (select n.the_geom as points, n.person_id from nodes as n order by start_date) c group by c.person_id') | |
req = urllib2.Request('%s/?q=%s&api_key=%s' % (base_url, delete_sql, api_key)) | |
response = urllib2.urlopen(req) |
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
import urllib2 | |
import urllib | |
base_url = 'http://lucasnad27.cartodb.com/api/v2/sql' | |
api_key = 'none of your business' | |
delete_sql = urllib.quote('delete from CONNECTORS') | |
insert_sql = urllib.quote('Insert into connectors (the_geom,person_id) select ST_MakeLine(points), c.person_id from (select n.the_geom as points, n.person_id from nodes as n order by start_date) c group by c.person_id') | |
req = urllib2.Request('%s/?q=%s&api_key=%s' % (base_url, delete_sql, api_key)) | |
response = urllib2.urlopen(req) |
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
<snippet> | |
<content><![CDATA[ | |
CREATE TABLE GCWGS84_VECTOR.${1:FeatureClassName} | |
( | |
${1:FeatureClassName}IDPK NVARCHAR2(20), | |
SDSID NVARCHAR2(20), | |
SDSFEATURENAME NVARCHAR2(80), | |
SDSFEATUREDESCRIPTION NCLOB, | |
SDSMETADATAID NVARCHAR2(80), | |
MEDIAIDFK NVARCHAR2(20), |
NewerOlder