Skip to content

Instantly share code, notes, and snippets.

View slatunje's full-sized avatar

Seal La-Tunje slatunje

  • London, United Kingdom
View GitHub Profile
@slatunje
slatunje / keybase.md
Created December 14, 2018 18:03
keybase.md

Keybase proof

I hereby claim:

  • I am slatunje on github.
  • I am slatunje (https://keybase.io/slatunje) on keybase.
  • I have a public key ASD4EJyXlXrGGm6aH6yB4ZA07Q-ao6ckWAmQV7rBR-sPDgo

To claim this, I am signing this object:

@slatunje
slatunje / graceful.go
Created July 23, 2018 13:08 — forked from peterhellberg/graceful.go
*http.Server in Go 1.8 supports graceful shutdown. This is a small example.
package main
import (
"context"
"log"
"net/http"
"os"
"os/signal"
"time"
)
@slatunje
slatunje / rpm-from-source.sh
Created April 7, 2016 21:50 — forked from fernandoaleman/rpm-from-source.sh
How to create an RPM from source with spec file
# How to create an RPM from source with spec file
# This is for Redhat versions of linux. Sometimes when you search for an rpm package,
# it is either outdated or not available. The only thing available is the source code.
# You can create a custom RPM package from source.
#
# For this example, I'll be using the latest version of Git, currently v.1.7.7.3
# Step: 1
# Install rpmbuild