Skip to content

Instantly share code, notes, and snippets.

View GuidoS's full-sized avatar

Guido Stein GuidoS

View GitHub Profile
@auremoser
auremoser / you-are-where.md
Last active November 30, 2018 18:31
links and notes from Fluent Conf talk 2018

Here are some notes and references this talk at O'Reilly's Fluent 2018

June 14th, 1:10-1:30pm

TITLE

you are [w]here?: geospatial web dev off the beaten

DESCRIPTION

The meaning of "map" across disciplines is remarkably varied. It's effectively a spatial representation of geo-topography, a linking between tables by foreign key, a datatype in C++... Today, coders make creative use of custom basemaps and clever scripting methods, building remarkable maps of multivariate information off-the-(beaten) geographic projection. Many have designed and published interactive maps of cemetery burial plots, galactic drawings of the Star Wars Universe, sequence maps of human genes, heatmaps of court traffic during the NBA finals, fantasy landscapes from deeply fake stats.

@HyperBrain
HyperBrain / lifecycle-cheat-sheet.md
Last active March 20, 2024 00:17
Serverless Lifecycle Cheat Sheet

Serverless plugin author's cheat sheet

This cheat sheet provides a detailed overview of the exposed lifecycle events and available commands (and entrypoints) of the Serverless framework, that can be hooked by plugins (internal and external ones). The document is structured by the commands invoked by the user.

Lifecycle events are shown as the globally available outer events (all providers) and sub lifecycle events that are provider specific in the called order. Currently only the AWS provider is shown. If you have information about the other provider,

@HyperBrain
HyperBrain / package-plugin-lifecycle.md
Last active November 24, 2023 04:56
Serverless - Package/Deploy plugin lifecycle changes

Overview

Currently the Serverless framework only offers lifecycle events that are bound to commands and also are very coarse. Each core plugin only exposes the events that are defined by the framework. This is suboptimal for plugin authors as they want to hook special events within the deployment process.

The PR adds fine grained lifecycles to the AWS deployment process (see below for the current implementation process) and makes the package/deploy plugin implementation non-breaking.

@rgreenjr
rgreenjr / postgres_queries_and_commands.sql
Last active May 6, 2024 12:37
Useful PostgreSQL Queries and Commands
-- show running queries (pre 9.2)
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
FROM pg_stat_activity
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
ORDER BY query_start desc;
-- show running queries (9.2)
SELECT pid, age(clock_timestamp(), query_start), usename, query
FROM pg_stat_activity
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
aerial_photos
airports
animals
bicycle_lanes
bicycle_parking
blocks
bridges
buildings
business_associations
bus_routes
@boazsender
boazsender / open-civic-data.json
Created February 5, 2011 23:29
Concept for open civic data scheme for describing geospacial and temporal civic data (crime, weather, protests, public spaces, public housing projects, public transportation paths, public transportation schedules, etc).
{
category : "", // Required Single category from (http://opencivicdata.com/#categories-wg)
properties : {} // Required Common bin for domain specific properties from from (http://opencivicdata.com/#properties-wg)
start : "", // Optional RFC3339DateTime optional start date
end : "", // Optional RFC3339DateTime optional end date
geometry : {} // Optional Geojson location feature (http://geojson.org/geojson-spec.html)
}