Skip to content

Instantly share code, notes, and snippets.

View phuysmans's full-sized avatar

Philippe Huysmans phuysmans

View GitHub Profile

Keybase proof

I hereby claim:

  • I am phuysmans on github.
  • I am phuysmans (https://keybase.io/phuysmans) on keybase.
  • I have a public key ASBWvasws5UTgOrw_E-TTEWWyCvJB8BQjW7xIuGYd6LmZAo

To claim this, I am signing this object:

@phuysmans
phuysmans / headless.md
Created January 17, 2017 20:40 — forked from addyosmani/headless.md
So, you want to run Chrome headless.
@phuysmans
phuysmans / gitflow-breakdown.md
Created February 3, 2017 09:27 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
git commit --allow-empty -m "Initial commit"
git checkout -b develop master

Connect to the remote repository

@phuysmans
phuysmans / .block
Created February 7, 2017 11:19 — forked from mbostock/.block
The Gist to Clone All Gists
license: gpl-3.0
@phuysmans
phuysmans / nginx.conf
Created March 7, 2017 08:41 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@phuysmans
phuysmans / gist:480d7ef188f51d67338be0ce1c569e44
Created August 17, 2017 07:45 — forked from fernandoaleman/gist:5083680
How to update VirtualBox Guest Additions with vagrant
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
@phuysmans
phuysmans / writefile.go
Created October 17, 2017 07:49 — forked from tonetheman/writefile.go
write some bytes to a file in golang
package main
import (
"fmt"
"os"
"encoding/binary"
)
func WritePPMHeader(outf *os.File) {
fheader := []byte("P6\n")
@phuysmans
phuysmans / README.md
Created October 17, 2017 08:08 — forked from joyrexus/README.md
boltdb demo
@phuysmans
phuysmans / Readme.md
Created October 17, 2017 08:17 — forked from druminski/Readme.md
BigCache service example with external benchmarks

Cache service example. It uses fasthttp as an http server and bigcache as the cache.

External benchmarks are provided.

Running cache service

go run main.go

Server listens on 8080 port.