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
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
/** | |
* Lightweight script to detect whether the browser is running in Private mode. | |
* @returns {Promise<boolean>} | |
* | |
* Live demo: | |
* @see https://output.jsbin.com/tazuwif | |
* | |
* This snippet uses Promises. If you want to run it in old browsers, polyfill it: | |
* @see https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js | |
* |
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
Sacramentio Police and Fire Frequencies | |
SACRAMENTO COUNTY SHERIFF | |
Channel 1 Ch1 North patrol/STAR 453.900 | |
Channel 2 Ch2 Records/tactical 453.250 | |
Channel 3 Ch3 South patrol 453.575 | |
Channel 4 Ch4 Long range tac 453.675 | |
Channel 5 Ch5 Short range tac 453.475 | |
Channel 6 Tactical (simplex) 453.950 | |
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
#!/bin/bash | |
# update apt-get | |
export DEBIAN_FRONTEND="noninteractive" | |
sudo apt-get update | |
# remove previously installed Docker | |
sudo apt-get purge lxc-docker* | |
sudo apt-get purge docker.io* |
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
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$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
task "upload_dsym" do | |
dsym_path = App.config.app_bundle_dsym(App.config.deploy_platform) | |
app_name = App.config_without_setup.name | |
`curl https://upload.bugsnag.com/ -F dsym=@"#{dsym_path}/Contents/Resources/DWARF/#{app_name}"` | |
end | |
namespace :archive do | |
task :distribution do | |
Rake::Task['upload_dsym'].invoke | |
end |
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
./mongod --storageEngine=rocksdb | |
2015-04-03T19:09:38.983+0100 I STORAGE Compression: snappy | |
2015-04-03T19:09:38.983+0100 I STORAGE MaxWriteMBPerSec: 1024 | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] MongoDB starting : pid=16433 port=27017 dbpath=/data/db 64-bit host=fed-vm | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] ** NOTE: This is a development version (3.1.1-pre-) of MongoDB. | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] ** Not recommended for production. | |
2015-04-03T19:09:39.042+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.043+0100 I CONTROL [initandlisten] | |
2015-04-03T19:09:39.043+0100 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. |
#Container Resource Allocation Options in docker-run
now see: https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources
You have various options for controlling resources (cpu, memory, disk) in docker. These are principally via the docker-run command options.
##Dynamic CPU Allocation
-c, --cpu-shares=0
CPU shares (relative weight, specify some numeric value which is used to allocate relative cpu share)
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
package main | |
import ( | |
bigquery "code.google.com/p/google-api-go-client/bigquery/v2" | |
"code.google.com/p/goauth2/oauth/jwt" | |
"encoding/json" | |
"fmt" | |
) | |
func main() { |
Follow the build instructions in https://github.com/google/cayley
Copy attached ntriple file to suitable location and run cayley with
./cayley http --dbpath=iand.ttl
Visit http://localhost:64210/
NewerOlder