Skip to content

Instantly share code, notes, and snippets.

Sebastian Lasse sebilasse

View GitHub Profile
View AP_presets.json
{
"summaryMap": {
"en": "Preset maps for redaktor",
"de": "Voreingestellte Karten für redaktor"
},
"type": ["OrderedCollection"],
"totalItems": 8,
"orderedItems": [{
"nameMap": {
"en": "Traffic",
View AP_providers.json
{
"summaryMap": {
"en": "All default Tile Layers for redaktor maps",
"de": "Alle Standard Tile Layer für redaktor Karten"
},
"type": ["OrderedCollection"],
"totalItems": 2,
"orderedItems": [{
"OSM": {
"name": "OpenStreetMap",
@sebilasse
sebilasse / AP_providers_src.ts
Last active Apr 25, 2020
AP_providers_src.ts
View AP_providers_src.ts
/**
* Definition of map providers as ActivityPub Objects
* see http://leafletjs.com/reference.html#tilelayer for options in the options map.
*/
// TODO especially newer Satellite : https://www.maptiler.com/cloud/
// TODO https://mapbox.com
/* Types TODO
https://w3id.org/arco/ontology/location/ExtraurbanContext
@sebilasse
sebilasse / ep_indie.md
Last active Aug 11, 2017
ep_indie description POC
View ep_indie.md

ep_indie

A planned extension for Etherpad

IndiePad Home View

v1

  • upcoming Events from the wiki [listing the rel=tag from /schedule ?]
  • I am not a robot
@sebilasse
sebilasse / esperanto
Created Jul 20, 2017
Esperanto ? Recognized !
View esperanto
{
"natural": [
{
"id": "eo",
"rank": 1,
"score": 2.662,
"name": "Esperanto",
"locale": "eo-Latn-001",
"script": {
"name": "Latin",
@sebilasse
sebilasse / IANAhttps
Created Jul 16, 2017
Open Letter to IANA
View IANAhttps
To: iana@iana.org, vulnerabilities@eff.org
Security issue : HTTP(S) and WHOIS
Hello there,
if a user looks for a domain at the official .me WHOIS, the request is always
sent in plaintext via HTTP.
View languageOutput.json
{
"natural": [
{
"id": "bs",
"rank": 1,
"score": 1.233,
"name": "Bosnian (Latin)",
"locale": "bs-Latn-BA",
"script": {
"name": "Latin",
@sebilasse
sebilasse / blockShortlinks.md
Last active Jul 13, 2017
Proposal: Shortlinks for indieweb principles and building blocks
View blockShortlinks.md
View OpenStreetMaps.js
/* TODO - FIXME function was written from scratch, SHOULD be in an "openstreetmap" module !!! */
function parseOSM(query) {
$(":root").addClass('js');
var drawMap = function(id, latLon) {
var mPoint = ol.proj.transform([latLon[1], latLon[0]], 'EPSG:4326', 'EPSG:3857');
var iconFeature = new ol.Feature({ geometry: new ol.geom.Point(mPoint) });
var iconStyle = new ol.style.Style({
image: new ol.style.Icon({
anchor: [0.5, 46],
View indieauth-node-propsal.md

Proposal : Scoped IndieAuth

draft0 :: extension, completely backwards compatible

Story

As an internet user I would like my personal domain to serve as my online identity and so I am using the best solution, "IndieAuth" :

I have to enter my own domain directly at any page where I want to login , but

You can’t perform that action at this time.