Skip to content

Instantly share code, notes, and snippets.

View Kuret's full-sized avatar
💭
Niet zo wokken, lekker mocken

Rick Littel Kuret

💭
Niet zo wokken, lekker mocken
  • Defacto Software
  • Groningen
View GitHub Profile
@Kuret
Kuret / pre-commit
Last active February 11, 2021 16:38
Git Hooks for Elixir/Phoenix/Webpack
#!/bin/bash
# Runs ESLint and Stylelint on all STAGED files before committing
js_files=$(git diff --cached --name-status | grep '^\(A\|M\).*\.jsx\?$' | sed 's/^[AM]//g')
css_files=$(git diff --cached --name-status | grep '^\(A\|M\).*\.cssx\?$' | sed 's/^[AM]//g')
# Prevent ESLint help message if no files matched
if [ "${js_files}" = "" ] && [ "${css_files}" = "" ] ; then
exit 0
fi
@Kuret
Kuret / Apps.md
Last active November 13, 2022 14:48
MacOS Config

Useful Apps

@Kuret
Kuret / .gitconfig
Created November 27, 2019 09:20
Gitcommit Template
[commit]
template = ~/.gitmessage
@Kuret
Kuret / arch-linux-install
Last active April 4, 2018 23:19 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: