Skip to content

Instantly share code, notes, and snippets.

@strukturart
strukturart / geoadmin
Last active September 24, 2022 10:23
var d = L.tileLayer.wms(" https://wms.geo.admin.ch/", {
layers: "ch.swisstopo.amtliches-gebaeudeadressverzeichnis,ch.swisstopo.amtliches-strassenverzeichnis,ch.kantone.cadastralwebmap-farbe",
SERVICE: "WMS",
REQUEST: "GetMap",
format: "image/png",
transparent: true,
attribution: "map.geo.admin.ch",
});
@strukturart
strukturart / History|-255b91f0|entries.json
Last active March 13, 2023 13:16
create an rss feed from files in a folder
{"version":1,"resource":"file:///home/strukturart/Desktop/Pages/feedolin/application/assets/css/qr-reader.css","entries":[{"id":"60Ko.css","timestamp":1678710238761}]}
#!/bin/bash
#Author: perry
#sendsms script by speeduploop
HORIZONTALLINE="================================="
clear
//////////////////////////
////KEYPAD TRIGGER////////////
/////////////////////////
function handleKeyDown(evt) {
switch (evt.key) {
//////////////////////////
////KEYPAD TRIGGER////////////
/////////////////////////
function handleKeyDown(evt) {
switch (evt.key) {
@strukturart
strukturart / wikipedia_languages.json
Created November 18, 2019 12:26
wikipedia languages
{
"wikipedia_languages": [
{
"language": "English",
"local_name": "English",
"code": "en"
},
{
"language": "Cebuano",
"local_name": "Cebuano",
function notify(param_title,param_text,param_silent) {
var options = {
body: param_text,
silent: param_silent
}
// Let's check if the browser supports notifications
if (!("Notification" in window)) {
function notify(param_title,param_text) {
var options = {
body: param_text
}
// Let's check if the browser supports notifications
if (!("Notification" in window)) {
alert("This browser does not support desktop notification");
}