Skip to content

Instantly share code, notes, and snippets.

Avatar

David Vogel dvogeldev

View GitHub Profile
@dvogeldev
dvogeldev / README.md
Created Apr 1, 2020 — forked from weibeld/README.md
Instructions for the dotfile repository on https://github.com/weibeld/dotfiles
View README.md

Dotfiles

Instructions for the dotfile repository on https://github.com/weibeld/dotfiles.

Introduction

The dotfiles in this repository are installed using a bare Git repository. This method does not use symlinks (like most other dotfile repositories).

After the installation, all the dotfiles will be physically present in your home folder, yet, you will still have them under full version control.

View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@dvogeldev
dvogeldev / _headersCsp.json
Created May 30, 2019
Revised Csp headers file
View _headersCsp.json
{
"base-uri": "'none'",
"default-src": ["'self'", "data:", "https:", "wss:"],
"style-src": ["'self'", "data:", "https:", "wss:", "'unsafe-inline'"],
"script-src": [
"'self'",
"https://api.scrivito.com",
"https://app.intercom.io",
"https://assets.scrivito.com",
"https://js.intercomcdn.com",
View js_snippets_head.js
// This file is for executing JavaScript code immediately before the head element is closed.
// Here you can, for example, connect your site to remote services such as booking.com, segment.io, etc.
// Don't forget to whitelist the URLs in the CSP at public/_headersCsp.json.
// Google Analytics and Intercom are already taken care of by the app, so there's no need to add them here.
<script>(function(p,u,s,h){p.botId = "53KaO1";
var a="https://app.conversiobot.com";
s=u.createElement('script');
s.type='text/javascript';
s.id="bot-widget-script";
@dvogeldev
dvogeldev / Efficient Encrypted UEFI-Booting Arch Installation An effcient method to install Arch Linux with encrypted root and swap filesystems and boot from UEFI. Multi-OS, and VirtualBox, UEFI-booting are also supported.
View Efficient Encrypted UEFI-Booting Arch Installation
# OBJECTIVE: Install Arch Linux with encrypted root and swap filesystems and boot from UEFI.
# Note this encrypted installation method, while perfectly correct and highly secure, CANNOT support encrypted /boot and
# also CANNOT be subsequently converted to support an encrypted /boot!!! A CLEAN INSTALL will be required!
# Therefore, if you want to have an encrypted /boot or will want an encrypted /boot system at some point in the future,
# please ONLY follow my encrypted /boot installation guide, which lives here:
@dvogeldev
dvogeldev / arch-linux-install
Created Apr 24, 2019 — 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
View arch-linux-install
# 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
You can’t perform that action at this time.