Skip to content

Instantly share code, notes, and snippets.

View adebisi-fa's full-sized avatar

ADEBISI Foluso A. adebisi-fa

View GitHub Profile
@hmnhf
hmnhf / docker-node-missing-network-attachments.md
Created July 9, 2022 11:03
Docker node is missing network attachments, ip addresses may be exhausted, no suitable node
  • See caprover/caprover#619 (comment)

  • If your Docker services don't start after an unexpected reboot and you get these errors, try the following fix.

    • Docker node is missing network attachments, ip addresses may be exhausted
    • No suitable node (1 node not available for new tasks)
sudo systemctl stop docker
sudo rm /var/lib/docker/swarm/worker/tasks.db
sudo systemctl start docker
@novemberborn
novemberborn / howto.md
Created February 18, 2016 17:47
Creating a PKCS#12 file from a Let's Encrypt certificate
@KartikTalwar
KartikTalwar / Documentation.md
Last active April 13, 2024 23:09
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@christiansparre
christiansparre / SqlCeOrmLiteDialectProvider.cs
Created February 16, 2012 08:10
Sql Server Compact dialect provider for OrmLite
using System;
using System.IO;
using System.Collections.Generic;
using System.Data.SqlServerCe;
using ServiceStack.OrmLite.SqlServer;
namespace Slyngelstat.OrmLite.SqlCe
{
public class SqlCeOrmLiteDialectProvider : SqlServerOrmLiteDialectProvider
{