Skip to content

Instantly share code, notes, and snippets.

Working from home

Fabrice Aneche akhenakh

Working from home
Block or report user

Report or block akhenakh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
akhenakh / PKGBUILD
Last active Jun 5, 2019
rock64 updated ayufan kernel for AUR 4.4.167-1187-rockchip-ayufan
# AArch64 multi-platform
# PKGBUILD Maintainer: Raanu <>
# Kernel maintainer: Ayufan <>
# The below variables get updated from external script when new builds are released
akhenakh / caddy.yaml
Created Apr 29, 2019
deploy caddy with a git clone and hugo transform
View caddy.yaml
apiVersion: v1
kind: ConfigMap
name: caddy-git-config
app: caddy-git
Caddyfile: |
akhenakh / app.yaml
Last active Mar 21, 2019
Example of graceful shutdown with grpc healthserver * httpserver
View app.yaml
command: ["/root/grpc_health_probe", "-addr=:6666"]
initialDelaySeconds: 1
command: ["/root/grpc_health_probe", "-addr=:6666"]
initialDelaySeconds: 2
imagePullPolicy: IfNotPresent
akhenakh / dashboard-ingress.yaml
Created Mar 13, 2019
Kubernetes Dashboard Ingress, don't do that in production for your dev only (minikube ...), you need an ingress controller as Traefik or Nginx ..., kubectl create -f deployment/dev/dashboard-ingress.yaml
View dashboard-ingress.yaml
apiVersion: extensions/v1beta1
kind: Ingress
name: dashboard-ingress
namespace: kube-system
- host: dashboard.minikube
View project-apps.yaml
apiVersion: apps/v1beta2
kind: Deployment
name: ${NAME}
app: "${NAME}"
commit: "${VERSION}"
appgroup: "${PROJECT}"
deploydate: "${DATE}"
View jaeger.yaml
# Copyright 2017-2019 The Jaeger Authors
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
akhenakh / .vimrc
Created Dec 17, 2018
curent plugins and config
View .vimrc
" install vim-plug
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'zchee/deoplete-go', { 'do': 'make'}
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
akhenakh /
Last active Nov 19, 2018
go-spew pretty printer for Golang
$ go get -u

In VS Code, go to Preferences > User Snippets > Go and add go.json sd snippet.

type sd to use the snippet

package main
akhenakh /
Created Nov 14, 2018
Install Arch Linux on OSX with xhyve
# Usage
# ./archlinux-2018.11.01-x86_64.iso
# first you neeed to patch xhyve with this
# index 61aeebb..39a9c4b 100644
# --- a/src/firmware/kexec.c
# +++ b/src/firmware/kexec.c
# @@ -185,6 +185,7 @@ kexec_load_ramdisk(char *path) {
akhenakh / MJPEGViewController.m
Created Nov 2, 2018
query a static image camera and animate it
View MJPEGViewController.m
// MJPEGViewController.m
// iMocs
// Created by akh on 2018-10-29.
// Copyright ? 2018 akh. All rights reserved.
#import "MJPEGViewController.h"
You can’t perform that action at this time.