Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am deep9 on github.
  • I am ondrej_h (https://keybase.io/ondrej_h) on keybase.
  • I have a public key ASC85M3yvH6SeKlEki132135CnEWLR5mpAEUHOr9684--wo

To claim this, I am signing this object:

@deep9
deep9 / README.md
Created March 6, 2023 08:54 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin, you should use paths specific for your environment.

[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service

Commands for UCL Linux test (NOS Spring 2016)

Quite nice introduction to Bash

http://www.tutorialspoint.com/unix/index.htm

Set of solved examples

Libor Forst: Shell v příkladech. Matfyzpress 2010. ISBN 978-80-7378-152-1

Especially these examples:

@deep9
deep9 / 0_reuse_code.js
Created July 17, 2014 08:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.network :hostonly, "10.0.0.2"
config.vm.forward_port 27017, 27017
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "."
puppet.manifest_file = "puppet.pp"
end
end