Skip to content

Instantly share code, notes, and snippets.

= 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.
@timlianov
timlianov / start_docker_registry.bash
Created October 29, 2020 12:19 — forked from u1i/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
@timlianov
timlianov / gist:0eb19c508bd5e496f8c547bfd8a3fd8b
Created May 4, 2017 10:13 — forked from wsk3201/gist:8555039
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;
}
});
@timlianov
timlianov / chef.rb
Last active August 29, 2015 14:15 — forked from gmcmillan/chef.rb
require 'base64'
require 'time'
require 'digest/sha1'
require 'openssl'
require 'net/https'
require 'json'
class ChefAPI
# Public: Gets/Sets the http object.