Skip to content

Instantly share code, notes, and snippets.

Just run:

curl https://gist.githubusercontent.com/tcoupin/af82bbbf5de516d186c1f2170ae5d0c4/raw/setup.sh | bash

Notes:

  • on close, the container is not close.
  • default email : admin@admin.admin, default password admin
  • a volume named "pgadmin" is create to store config
@karmeljuk
karmeljuk / clean.sh
Created November 21, 2020 09:37 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs
@karmeljuk
karmeljuk / paginateScroll.js
Created July 21, 2015 14:16
paginateScroll
//переносить сторінку вниз при кліку на пейджері
var firstHeight = $(table).height();
function paginateScroll() {
var scrollElement = $('html, body');
var secondHeight = $(".dataTables_wrapper").height();
if (firstHeight > secondHeight) {
scrollElement.animate({
scrollTop: firstHeight
}, 500);
}