Skip to content

Instantly share code, notes, and snippets.

View jdevoo's full-sized avatar

JP de Vooght jdevoo

View GitHub Profile

create minikube

The following create a minikube with 10 CPU cores and 32GB memory. This is for experiments with heavy workload.

It uses kvm hypervisor. Make sure the qemu and libvirt have already installed

minikube start --cpus 10 --memory 32GB --disk-size=400g --extra-disks=2 --driver=kvm2 --force --container-runtime cri-o

install prometheus and grafana

PoW vs PoS - Environment and Security

Date: Jul 21, 2019
Updated: See Github revisions timestamps

In questions sprouted from this thread: https://twitter.com/taoeffect/status/1151941939157012480

I copy them here into this gist in the hopes that it will serve others and so that in the future I have something I can link people to. My thanks to @Jehan for the opportunity to put my thoughts on this subject into a somewhat easier-to-read medium.

I've always had trouble understanding the narrative that the owners of huge

nom thèses dirigées
françois-paul blanc 228
pierre brunel 212
jean-michel scherrmann 205
michel bertucat 186
guy pujolle 180
henry de lumley 143
bruno foucart 141
michel maffesoli 137
@tanaikech
tanaikech / submit.md
Last active April 15, 2021 01:28
Copying Values from JSON to Struct using reflect Package for Golang

Copying Values from JSON to Struct using reflect Package

This is a sample script for copying values from JSON to a struct using reflect package.

Script :

package main

import (
	"encoding/json"
	"fmt"
@rdxmb
rdxmb / docker-compose-tick.yml
Last active October 10, 2020 05:14 — forked from cdelaitre/docker-compose-tick.yml
Monitor Docker Swarm with the InfluxData TICK Stack
version: '3.4'
services:
# FRONT
chronograf:
# Full tag list: https://hub.docker.com/r/library/chronograf/tags/
image: chronograf
deploy:
replicas: 1
placement:
constraints:
@aparrish
aparrish / index.md
Last active November 6, 2022 09:02
Don't Tweet, Toot: Understanding Mastodon and the Federated Social Network
@posener
posener / go-kit.md
Last active February 23, 2024 21:35
Why I Recommend to Avoid Using the go-kit Library

Why I Recommend to Avoid Using the go-kit Library

There is a trending 'microservice' library called go-kit. I've been using the go-kit library for a while now. The library provide a lot of convenience integrations that you might need in your service: with service discovery with Consul, distributed tracing with Zipkin, for example, and nice logic utilities such as round robin client side load balancing, and circuit breaking. It is also providing a way to implement communication layer, with support of RPC and REST.

@turtlemonvh
turtlemonvh / Makefile
Last active July 26, 2024 09:30
Golang Project Makefile Template
# Borrowed from:
# https://github.com/silven/go-example/blob/master/Makefile
# https://vic.demuzere.be/articles/golang-makefile-crosscompile/
BINARY = superdo
VET_REPORT = vet.report
TEST_REPORT = tests.xml
GOARCH = amd64
VERSION?=?
@anhldbk
anhldbk / README.md
Last active March 3, 2024 16:36
TLS client & server in NodeJS

1. Overview

This is an example of using module tls in NodeJS to create a client securely connecting to a TLS server.

It is a modified version from documentation about TLS, in which:

  • The server is a simple echo one. Clients connect to it, get the same thing back if they send anything to the server.
  • The server is a TLS-based server.
  • Clients somehow get the server's public key and use it to work securely with the server

2. Preparation

@DianaEromosele
DianaEromosele / Change "origin" of your GIT repository
Created August 7, 2016 00:31
Change "origin" of your GIT repository
$ git remote rm origin
$ git remote add origin [email protected]:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master