Skip to content

Instantly share code, notes, and snippets.

View jability's full-sized avatar

Julien Linden jability

View GitHub Profile
@jability
jability / alpine-install.sh
Created November 22, 2023 13:44
Alpine LVM UEFI/GPT Installation
#!/bin/sh
## wrapper to only show given device
_blkid() {
blkid | grep "^$1:"
}
## if given device have an UUID display it, otherwise return the device
uuid_or_device() {
local i=
---
token: halys
os:
hostname: harvester01
ntp_servers:
- 192.168.0.230
dns_nameservers:
- 192.168.0.230
password: rancher
install:

Keybase proof

I hereby claim:

  • I am jability on github.
  • I am jability (https://keybase.io/jability) on keybase.
  • I have a public key ASAfLGfbMi3cElT6ciwZWaVPZ5RPwBRC6grds8JTRC8vqQo

To claim this, I am signing this object:

@jability
jability / .spacemacs
Last active March 9, 2018 12:27
My spacemacs configuration
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@jability
jability / .emacs
Created November 9, 2014 14:18
my custom emacs file
(setq line-number-mode t
column-number-mode t
linum-format "%\ 3d ")
(global-linum-mode t)
(setq display-time-format " %A %e %B %Y, %H:%M "
display-time-24hr-format t)
(display-time)
(setq-default show-trailing-whitespace t)
(global-font-lock-mode t)
(show-paren-mode t)
@jability
jability / .vimrc
Created November 9, 2014 14:03
my custom vimrc file
" VIM Configuration File
" Description: Optimized for C/C++ development, but useful also for other things.
" Author: Gerhard Gappmeier
"
set exrc
set secure
execute pathogen#infect()
filetype plugin indent on
" set UTF-8 encoding