Skip to content

Instantly share code, notes, and snippets.

Avatar

Katarzyna siwka

  • Chicago, Krakow
View GitHub Profile
@siwka
siwka / Docker.md
Last active Aug 19, 2019
Basic Docker Commands
View Docker.md

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

Working with Images

Basic commands

docker version
docker info
rpm -qif /usr/bin/docker
View IAM_SSO.md

Essential functions and capabilities of a complete IAM solution:

  • SSO or RSO
  • automated provisioning and deprovisioning,
  • strong authentication,
  • full identity governance
View multiple_psql.md

Maintaining multiple PostrgeSQL versions in one environment

Use Docker


Install multiple PostgreSQL versions on your machine

@siwka
siwka / git_example_workflow
Created Nov 10, 2013
Git example workflow
View 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
View lisp_ruby.rb
def lisp_eval(x)
if x == '1'
1
elsif x == '#t'
true
else
list = x.gsub(" ", '').chars
parser(list)
end
end