Skip to content

Instantly share code, notes, and snippets.

View mdaguete's full-sized avatar
🤖
Your next legacy system will be microservices

Manuel Durán Aguete mdaguete

🤖
Your next legacy system will be microservices
View GitHub Profile
@matthewpi
matthewpi / README.md
Last active May 13, 2024 11:25
Nix on Fedora

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue

@pieceofsummer
pieceofsummer / parser.py
Created September 16, 2017 23:26
Google Wifi diagnostic report parser
#!/usr/bin/python
import os, sys, gzip
from StringIO import StringIO
from datetime import datetime
def readByte(f):
return ord(f.read(1))
def readInt(f):
l = 0
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 17, 2024 09:06 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@StevenACoffman
StevenACoffman / _MicroService Proxy Gateway Solutions.md
Last active September 28, 2023 14:54
Microservice Proxy/Gateway Solutions

MicroService Proxy Gateway Solutions

Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.

Github Star Trend:

Github Star History for Kong vs traefik vs fabio vs caddy vs Zuul

This is just a picture of this link from March 2, 2019

Originally, I had included some other solution

@joedicastro
joedicastro / configuration.nix
Last active January 22, 2022 20:25
My NixOS configuration
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
## DISK CONFIGURATION
imports =
@willurd
willurd / web-servers.md
Last active May 17, 2024 16:24
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@mdaguete
mdaguete / .gitignore
Created June 18, 2012 19:20 — forked from harlantwood/.gitignore
CoffeeScript->Javascript D3 Force-Directed Layout (Multiple Foci)
.idea
Cakefile.js
tmp/
@IanVaughan
IanVaughan / uninstall_gems.sh
Created June 9, 2012 20:37
Uninstall all rbenv gems
#!/usr/bin/env bash
uninstall() {
list=`gem list --no-versions`
for gem in $list; do
gem uninstall $gem -aIx
done
gem list
gem install bundler
}
@mdaguete
mdaguete / my_system_utilities.erl
Created March 1, 2012 12:34
Clear Erlang SASL error logger.
-module(my_system_utilities).
-export([clear_sasl_error_log/0]).
clear_sasl_error_log() ->
case application:get_env(sasl,sasl_error_logger) of
{ok, {file, SASLfile}} ->
error_logger:delete_report_handler(sasl_report_file_h),
error_logger:add_report_handler(sasl_report_file_h,
{SASLfile,logger_type()});
file:write_file(Path,io_lib:fwrite("~p.\n",[Data])).