Skip to content

Instantly share code, notes, and snippets.

View HKervadec's full-sized avatar

Hoel KERVADEC HKervadec

View GitHub Profile
@HKervadec
HKervadec / battlestation.sh
Last active June 12, 2018 16:16
Script to create my standard tmux session for work
#!/bin/bash
tmux -2 new-session -d
tmux split-window -h
tmux split-window -v
tmux select-pane -t 0
tmux resize-pane -R 30
tmux select-pane -t 1
@HKervadec
HKervadec / derp.sh
Created March 15, 2018 21:36
Looping train in terminal
#!/bin/bash
set -e
sl -e
$0
@HKervadec
HKervadec / gits
Created January 26, 2018 01:13
Check for unpushed commits in all git repositories from a folder
#!/usr/bin/env bash
for f in `find . -maxdepth 1 -type d`; do
(
cd $f
output="$(git cherry -v 2> /dev/null)"
if [ -n "$output" ]; then
echo $f
echo $output
echo
@HKervadec
HKervadec / instructions.md
Last active August 26, 2022 12:10
Encrypted arch

Encrypted Arch

Install Arch Linux on encrypted partitions:

  • /boot: encrypted
  • /boot/efi: un-encrypted
  • /: encrypted
  • swap: encrypted (random key at each reboot)

Read everything carefully before attempt. Check the links to help you match your configuration.

I went for a rather 'vanilla' setting without using LVM, but some people might prefer it.

Keybase proof

I hereby claim:

  • I am hkervadec on github.
  • I am hkervadec (https://keybase.io/hkervadec) on keybase.
  • I have a public key ASCTIwo0DyfodRLg0dFWalkOgqleJ6gIrYxsU-GnvSDTuQo

To claim this, I am signing this object: