From 895aed2b2719899f8866d8142f871e6c8ba5e485 Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Sat, 2 Jan 2016 16:40:54 +0100 Subject: [PATCH] update --- mywiki/tiddlers/Database research.tid | 25 +++++++++++++++++++++++++ mywiki/tiddlers/Elixir.tid | 23 +++++++++++++++++++++++ mywiki/tiddlers/GIT server.tid | 21 ++++++++++++++++++++- mywiki/tiddlers/Rancher.tid | 10 ++++++++++ mywiki/tiddlers/Terraform.tid | 27 +++++++++++++++++++++++++++ mywiki/tiddlers/YAML JSON.tid | 16 ++++++++++++++++ 6 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 mywiki/tiddlers/Database research.tid create mode 100644 mywiki/tiddlers/Elixir.tid create mode 100644 mywiki/tiddlers/Rancher.tid create mode 100644 mywiki/tiddlers/Terraform.tid create mode 100644 mywiki/tiddlers/YAML JSON.tid diff --git a/mywiki/tiddlers/Database research.tid b/mywiki/tiddlers/Database research.tid new file mode 100644 index 0000000..09d3c9c --- /dev/null +++ b/mywiki/tiddlers/Database research.tid @@ -0,0 +1,25 @@ +created: 20151209103109281 +creator: user +modified: 20151209103541877 +modifier: user +tags: +title: Database research +type: text/vnd.tiddlywiki + +;Upside Down Databases: Bridging the Operational and Analytic Worlds with Streams +:http://www.benstopford.com/2015/04/07/upside-down-databases-bridging-the-operational-and-analytic-worlds-with-streams/ + +;MEAN's great, but then you grow up. +:https://rclayton.silvrback.com/means-great-but-then-you-grow-up + +;Turning the database inside-out with Apache Samza +:http://www.confluent.io/blog/turning-the-database-inside-out-with-apache-samza/ + +;Surrogate Key +:https://en.wikipedia.org/wiki/Surrogate_key + +;Auto Keys versus Domain Keys +:http://c2.com/cgi/wiki?AutoKeysVersusDomainKeys + +;Use uuid as primary and/or as surrogate key? +:http://stackoverflow.com/questions/5314070/use-uuid-as-primary-and-or-as-surrogate-key \ No newline at end of file diff --git a/mywiki/tiddlers/Elixir.tid b/mywiki/tiddlers/Elixir.tid new file mode 100644 index 0000000..38f5cfb --- /dev/null +++ b/mywiki/tiddlers/Elixir.tid @@ -0,0 +1,23 @@ +created: 20151217170123889 +creator: user +modified: 20151217170345337 +modifier: user +tags: +title: Elixir +type: text/vnd.tiddlywiki + +;A package manager for the Erlang ecosystem. +:https://hex.pm + +;A walk through the Elixir language in 30 exercises. +:https://github.com/seven1m/30-days-of-elixir + +;RethinkDB +:https://github.com/hamiltop/rethinkdb-elixir + +;Elixir Pipes is an Elixir extension that extends the pipe (|>) operator through macros. +:https://github.com/batate/elixir-pipes + +;A curated list of amazingly awesome Elixir and Erlang libraries, resources and shiny things. +:https://github.com/h4cc/awesome-elixir + diff --git a/mywiki/tiddlers/GIT server.tid b/mywiki/tiddlers/GIT server.tid index a6a9560..388a697 100644 --- a/mywiki/tiddlers/GIT server.tid +++ b/mywiki/tiddlers/GIT server.tid @@ -1,6 +1,6 @@ created: 20151125110622808 creator: user -modified: 20151207171352867 +modified: 20151216135221729 modifier: user tags: title: GIT server @@ -8,6 +8,8 @@ type: text/vnd.tiddlywiki https://gogs.io +;Using GIT on a Synology NAS +:http://blog.osdev.org/git/2014/02/13/using-git-on-a-synology-nas.html ``` ssh aiko@nas cd /volume1/homes/aiko/repos @@ -16,3 +18,20 @@ cd gitproject.git git --bare init git update-server-info ``` + +$ cat create_nas_repo.sh + +``` +#!/usr/bin/env bash +set -x +set -e +repo=${1} +ssh aiko@nas "mkdir -p ./repos/$repo.git ;\ + cd ./repos/$repo.git ;\ + git --bare init && git update-server-info" +mkdir -p $repo +cd $repo +[ ! -d .git ] && git init +git remote add origin ssh://aiko@nas/volume1/homes/aiko/repos/$repo.git +git push --all origin +``` diff --git a/mywiki/tiddlers/Rancher.tid b/mywiki/tiddlers/Rancher.tid new file mode 100644 index 0000000..5f2c370 --- /dev/null +++ b/mywiki/tiddlers/Rancher.tid @@ -0,0 +1,10 @@ +created: 20151217170810197 +creator: user +modified: 20151217170901779 +modifier: user +tags: docker +title: Rancher +type: text/vnd.tiddlywiki + +;In this guide, we will create a simple Rancher install, which is a single host installation that runs everything on a single Linux machine. +:http://docs.rancher.com/rancher/quick-start-guide/ \ No newline at end of file diff --git a/mywiki/tiddlers/Terraform.tid b/mywiki/tiddlers/Terraform.tid new file mode 100644 index 0000000..fe16572 --- /dev/null +++ b/mywiki/tiddlers/Terraform.tid @@ -0,0 +1,27 @@ +created: 20151217170410000 +creator: user +modified: 20151217170720459 +modifier: user +tags: +title: Terraform +type: text/vnd.tiddlywiki + +;Orchestration Tool Roundup - Docker Swarm vs. Kubernetes, TerraForm vs. TOSCA/Cloudify vs. Heat +:http://getcloudify.org/2015/06/11/orchestration-docker-cloud-automation-openstack-heat-tosca-kubernetes.html + +;Rebuilding Our Infrastructure with Docker, ECS, and Terraform +:https://segment.com/blog/rebuilding-our-infrastructure/ + + +;AWS docker + terraform +:https://github.com/airpair/ntiered-aws-docker-terraform-guide/blob/edit/post.md + +;Terraform Github +:https://github.com/hashicorp/terraform + +; DOCKER PROVIDER +:https://terraform.io/docs/providers/docker/index.html + +;DOCKER_CONTAINER +:https://www.terraform.io/docs/providers/docker/r/container.html + diff --git a/mywiki/tiddlers/YAML JSON.tid b/mywiki/tiddlers/YAML JSON.tid new file mode 100644 index 0000000..6c9b551 --- /dev/null +++ b/mywiki/tiddlers/YAML JSON.tid @@ -0,0 +1,16 @@ +created: 20151209155049733 +creator: user +modified: 20151209155206329 +modifier: user +tags: +title: YAML JSON +type: text/vnd.tiddlywiki + +; Note that you'll need to have ~PyYaml installed. +: http://stackoverflow.com/questions/14261614/how-do-i-install-the-yaml-package-for-python + +; http://www.commandlinefu.com/commands/view/12218/convert-yaml-to-json +: `python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=2)' < file.yaml > file.json` + +; http://www.commandlinefu.com/commands/view/12219/convert-json-to-yaml +: `python -c 'import sys, yaml, json; yaml.safe_dump(json.load(sys.stdin), sys.stdout, default_flow_style=False)' < file.json > file.yaml`