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
Completed in 1438ms (View: 30, DB: 136) | 200 OK [http://geoiq.local/maps/2477.json?182c113829795b65] | |
^[[4;36;1mSQL (0.2ms)^[[0m ^[[0;1mSET client_min_messages TO 'panic'^[[0m | |
^[[4;35;1mSQL (0.1ms)^[[0m ^[[0mSET client_min_messages TO 'notice'^[[0m | |
^[[4;36;1mConfiguration Load (1.1ms)^[[0m ^[[0;1mSELECT * FROM "configurations" ^[[0m | |
^[[4;35;1mSQL (0.8ms)^[[0m ^[[0mSELECT version FROM schema_migrations^[[0m | |
^[[4;36;1mSQL (0.2ms)^[[0m ^[[0;1mSET client_min_messages TO 'panic'^[[0m | |
^[[4;35;1mSQL (0.2ms)^[[0m ^[[0mSET client_min_messages TO 'notice'^[[0m | |
Processing HomeController#index (for 127.0.0.1 at 2012-06-26 11:53:42) [GET] |
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
benheb@benheb:~/geocommons/geoiq$ git branch | |
9323_twitch_maps | |
* andrew-ontrack3 | |
benheb-ontrack | |
benheb_twitch | |
benheb_twitch_uibk | |
master | |
master_benheb | |
master_bug_fixes | |
benheb@benheb:~/geocommons/geoiq$ git merge master |
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
<% @overlay = Overlay.find(params[:id]) | |
@activities = Search.execute("", :tag => "project:#{@overlay.id}").results | |
gallery_images_dir = File.dirname("public/"+image_path("icon.marker.blue.png")) + "/gallery/" + @overlay.title.downcase + "/" | |
@images =[] | |
if File.exist?(gallery_images_dir) | |
Dir.chdir(gallery_images_dir) do | |
@images = Dir.glob("*.{jpg,png,jpeg,gif}") | |
end | |
end | |
project_name = @overlay.title.downcase |
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
<% @overlay = Overlay.find(params[:id]) | |
@activities = Search.execute("", :tag => "project:#{@overlay.id}").results | |
gallery_images_dir = File.dirname("public/"+image_path("icon.marker.blue.png")) + "/gallery/" + @overlay.title.downcase + "/" | |
@images =[] | |
if File.exist?(gallery_images_dir) | |
Dir.chdir(gallery_images_dir) do | |
@images = Dir.glob("*.{jpg,png,jpeg,gif}") | |
end | |
end | |
project_name = @overlay.title.downcase |
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
updateFeature: function(f){ | |
var guid = f.layer; | |
var f_id = f.feature; | |
var time = new Date(); | |
var features = {}; | |
features.id = f.feature; | |
features.geometry = f.geometry | |
jq('#attribute-form').children('input').each(function (i,f) { | |
var name = jq(this).attr('id'); | |
var attr = jq(this).val(); |
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
var self = this; | |
var layer = new esri.layers.FeatureLayer("http://services.arcgis.com/bkrWlSKcjUDFDtgw/arcgis/rest/services/Quantile/FeatureServer/0" | |
, { outFields: ["*"] | |
, id: "quantile"}); | |
var renderer = new esri.renderer.SimpleRenderer( | |
new esri.symbol.SimpleFillSymbol("solid", null, new dojo.Color([255, 0, 255, 0.75]) // fuschia lakes! | |
)); | |
layer.setRenderer(renderer); |
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
var renderer = new esri.renderer.SimpleRenderer( | |
new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, | |
new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, | |
new dojo.Color([255,0,0]), 2),new dojo.Color([255,255,0,0.25]) | |
)); | |
layer.setRenderer(renderer); |
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
global | |
debug | |
defaults | |
log global | |
mode http | |
frontend all 50.116.21.154:80 | |
timeout client 86400000 | |
default_backend node_backend |
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
curl -F 'client_id=c52c3c56345a4aff8d4780c4cdcc5b63' \ | |
-F 'client_secret=a1f3aec1f73549f0bf6e12812b42e65b' \ | |
-F 'object=tag' \ | |
-F 'aspect=media' \ | |
-F 'object_id=nofilter' \ | |
-F 'callback_url=http://4pdm.localtunnel.com' \ | |
https://api.instagram.com/v1/subscriptions/ |
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
var geoLayer = map._layers['geofence']; | |
console.log("EL ", geoLayer) | |
var renderer = new esri.renderer.SimpleRenderer( | |
new esri.symbol.SimpleFillSymbol("solid", null, new dojo.Color([255, 0, 255, 0.75]) | |
)); | |
geoLayer.setRenderer(renderer); | |
console.log('GEOLAYER!', geoLayer) | |
map.addLayer(geoLayer); |