Skip to content

Instantly share code, notes, and snippets.

View nicoschi's full-sized avatar

nicoschi

  • Milan, Italy
View GitHub Profile
# utente non root
sudo yum install runc git
curl -sLSf https://github.com/containerd/containerd/releases/download/v1.3.2/containerd-1.3.2.linux-amd64.tar.gz > /tmp/containerd.tar.gz
sudo tar -xvf /tmp/containerd.tar.gz -C /usr/local/bin/ --strip-components=1
curl -SLfs https://raw.githubusercontent.com/containerd/containerd/v1.3.2/containerd.service | sudo tee /etc/systemd/system/containerd.service
sudo systemctl daemon-reload
sudo systemctl start containerd
sudo systemctl enable containerd
sudo /sbin/sysctl -w net.ipv4.conf.all.forwarding=1
@nicoschi
nicoschi / gist:08574ea85338c141c3ae
Last active August 29, 2015 14:10
Margin gutter
@mixin margin-gutter($column, $gutter, $target, $row: true, $breakpoint: false) {
width: 100% + $gutter;
@if $breakpoint == false {
position: relative;
@if $row == false {
@include legacy-pie-clearfix();
}
}
@mixin smart-icon($pseudo: before, $width: 10px, $height: 10px, $y-pos: 0, $x-pos: 0, $y-padding: null, $x-padding: null, $centered: false) {
position: relative;
@if $y-padding != null {
padding-top: $y-padding;
}
@if $x-padding != null {
@if $pseudo == before {
padding-left: $x-padding;