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 ruby | |
# Requires the rar utility | |
# apt-get install rar | |
# List of filenames to be extracted | |
l = File.read(ARGV[0]) | |
# Password | |
p = ARGV[1] |
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
<OGRVRTDataSource> | |
<OGRVRTLayer name="test"> | |
<SrcDataSource>test.csv</SrcDataSource> | |
<GeometryType>wkbPoint</GeometryType> | |
<LayerSRS>WGS84</LayerSRS> | |
<GeometryField encoding="PointFromColumns" x="Longitude" y="Latitude"/> | |
</OGRVRTLayer> | |
</OGRVRTDataSource> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
select created_by,count(*) from changes where created_by is not null group by created_by order by count desc |
Use this guide to link a path name to a feature's photo in the attribute table.
This assumes you have a column in your data containing the full path to the image you'd like to open (in this example, a field called photo_path
).
- Right click feature class → Properties
- On Actions tab:
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 ruby | |
require 'json' | |
require 'pg' | |
require 'sequel' | |
def database | |
@db ||= Sequel.connect(adapter: 'postgres', | |
host: 'db.snichaos.com', | |
user: 'postgres', |
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
img { | |
max-width: 100%; | |
height: auto; | |
} | |
.right {float:right;} | |
.left {float:left;} | |
/* bannerSliders | |
-------------------------------------------------- */ |
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 ruby | |
require 'json' | |
require 'fileutils' | |
data = JSON.parse(File.read(ARGV[0])) | |
sorted = JSON.parse(Hash[*data.sort.flatten].to_json) | |
json = [] |