Skip to content

Instantly share code, notes, and snippets.

@u1i
u1i / start_docker_registry.bash
Last active March 29, 2025 03:59 — forked from PieterScheffers/start_docker_registry.bash
Start docker registry with letsencrypt certificates and Basic Auth
#!/usr/bin/env bash
# install docker
# https://docs.docker.com/engine/installation/linux/ubuntulinux/
# install docker-compose
# https://docs.docker.com/compose/install/
# install letsencrypt
# https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
@g-alonso
g-alonso / gist:d42386b95021cc560fb6
Created November 27, 2014 18:51
apt-yum-equivalent.txt
= Some yum usage for people who know "apt" =
If you are familiar with the apt package manager on Debian/Ubuntu this page should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc.
Note that this page as currently written is by non-apt experts, so there may be some mistakes.
== General points ==
* Speed:
* data/CPU: apt on Debian deals with roughly ~37,000 packages[1] and an extra 6,500 "provides"[2]. yum on Fedora deals with roughly 24,000 packages, 143,000 provides and 3,100,000 file provides.
@wsk3201
wsk3201 / gist:8555039
Created January 22, 2014 07:58
Add bootstrap style to Backgrid.Paginator
var Paginator = Backgrid.Extension.Paginator = Backgrid.Extension.Paginator.extend({
render: function(){
Paginator.__super__.render.apply(this,arguments);
this.$el.find('ul').addClass('pagination');
return this;
}
});