Skip to content

Instantly share code, notes, and snippets.

View siwka's full-sized avatar

Katarzyna siwka

  • earth
View GitHub Profile
@siwka
siwka / Docker.md
Last active August 19, 2019 23:47
Basic Docker Commands

Notes from Docker Deep Dive, Nigel Poulton & dockercom & my stuff

Working with Images

Basic commands

docker version
docker info
rpm -qif /usr/bin/docker

Essential functions and capabilities of a complete IAM solution:

  • SSO or RSO
  • automated provisioning and deprovisioning,
  • strong authentication,
  • full identity governance

Maintaining multiple PostrgeSQL versions in one environment

Use Docker


Install multiple PostgreSQL versions on your machine

def lisp_eval(x)
if x == '1'
1
elsif x == '#t'
true
else
list = x.gsub(" ", '').chars
parser(list)
end
end
@siwka
siwka / git_example_workflow
Created November 10, 2013 22:12
Git example workflow
$> git add . -A # adds all files, including deleted files
(file was changed during this time)
$> git checkout -b new_master
$> git status #discovered changed file
$> git add .
$> git commit --amend -C HEAD # adds file in staging to the most recent commit
$> git branch -D master
$> git checkout -b master
$> git push -f origin master # blows away existing remote master and replaces with our master