stuzer05 / Postgres upgrade major version
0 likes
0 forks
1 files
Last active 2 weeks ago
https://github.com/docker-library/postgres/issues/37#issuecomment-180615524
| 1 | docker exec postgres-old pg_dumpall -U root | docker exec -i postgres-new psql -U root |
stuzer05 / Docker inspect to run converter
0 likes
0 forks
1 files
Last active 4 months ago
`docker inspect` template to regenerate the `docker run` command that created a container, https://gist.github.com/efrecon/8ce9c75d518b6eb863f667442d7bc679, docker inspect --format "$(curl -s https://gist.stuzer.link/stuzer05/fdfc31107ce04720a186d409498e82f2/raw/HEAD/run.tpl)" 55a319b7e124
| 1 | docker run \ |
| 2 | --name {{printf "%q" .Name}} \ |
| 3 | {{- with .HostConfig}} |
| 4 | {{- if .Privileged}} |
| 5 | --privileged \ |
| 6 | {{- end}} |
| 7 | {{- if .AutoRemove}} |
| 8 | --rm \ |
| 9 | {{- end}} |
| 10 | {{- if .Runtime}} |
stuzer05 / Oracle search source code in functions DDL
1 likes
0 forks
1 files
Last active 1 year ago
| 1 | SELECT |
| 2 | type, |
| 3 | name, |
| 4 | text |
| 5 | FROM |
| 6 | all_source |
| 7 | WHERE |
| 8 | type IN ( 'FUNCTION', 'PROCEDURE' ) |
| 9 | AND UPPER(text) like UPPER('%EI_KURS_VAL%') |
| 10 | ORDER BY type, name |
Newer
Older