mkdir osm
wget -O osm/planet.mbtiles https://hidrive.ionos.com/api/sharelink/download?id=SYEgScrRe
podman run -ti --rm -p 9000:9000 --name sms -v $(pwd)/osm/:/data/ registry.gitlab.com/markuman/sms:latest
firefox http://localhost:9000
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Profiling; | |
public class KdTree<T> : IEnumerable<T>, IEnumerable where T : Component | |
{ | |
protected KdNode _root; | |
protected KdNode _last; |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.
The basic idea is that C:\Program Files\Git\mingw64\
is your /
directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git
, the mingw64
in this directory is your root. Find it by using pwd -W
).
If you go to that directory, you will find the typical linux root folder structure (bin
, etc
, lib
and so on).
If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text.RegularExpressions; | |
using System.Windows; | |
using System.Windows.Interop; |
################################################################################ | |
# VORONOI DIAGRAM GENERATION # | |
# Mattias Lundberg # | |
# # | |
# Run with Python 2.7 and tkinter toolkit # | |
# # | |
################################################################################ | |
from Tkinter import * | |
import math, sys, random, tkFileDialog, time |
This demonstrates how to make client side certificates with go | |
First generate the certificates with | |
./makecert.sh test@test.com | |
Run the server in one terminal | |
go run server.go |
#!/usr/bin/env python | |
# uridecodebin.py - Audio autoplugin example using 'uridecodebin' element | |
# | |
# Based on: | |
# decodebin.py - Audio autopluging example using 'decodebin' element | |
# Copyright (C) 2006 Jason Gerard DeRose <jderose@jasonderose.org> | |
# This library is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU Library General Public |