Skip to content

Instantly share code, notes, and snippets.

View made2591's full-sized avatar
🎯
Focusing

Matteo Madeddu made2591

🎯
Focusing
View GitHub Profile
@made2591
made2591 / config.h
Created December 14, 2022 15:01 — forked from smlb/config.h
My simple config.h for dwm (you need gap patch)
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#444444";
static const char normbgcolor[] = "#151515";
static const char normfgcolor[] = "#aaaaaa";
static const char selbordercolor[] = "#151515";
static const char selbgcolor[] = "#151515";
static const char selfgcolor[] = "#ff8c00";
static const unsigned int gappx = 2;
static const unsigned int borderpx = 1; /* border pixel of windows */
@made2591
made2591 / main.go
Created January 16, 2018 17:33 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"