Skip to content

Instantly share code, notes, and snippets.

blancNoir

Block or report user

Report or block blancNoir

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
@blancNoir
blancNoir / full-disk-encryption-arch-uefi.md
Created May 25, 2019 — forked from huntrar/full-disk-encryption-arch-uefi.md
Arch Linux Full-Disk Encryption Installation Guide [Encrypted Boot, UEFI, NVMe, Evil Maid]
View full-disk-encryption-arch-uefi.md

Arch Linux Full-Disk Encryption Installation Guide

This guide provides instructions for an Arch Linux installation featuring full-disk encryption via LVM on LUKS and an encrypted boot partition (GRUB) for UEFI systems.

Following the main installation are further instructions to harden against Evil Maid attacks via UEFI Secure Boot custom key enrollment and self-signed kernel and bootloader.

Preface

You will find most of this information pulled from the Arch Wiki and other resources linked thereof.

Note: The system was installed on an NVMe SSD, substitute /dev/nvme0nX with /dev/sdX or your device as needed.

@blancNoir
blancNoir / csd-wrapper.sh
Created Apr 5, 2019 — forked from l0ki000/csd-wrapper.sh
Cisco Anyconnect CSD wrapper for OpenConnect (exhanced to autodownload and autoupdate hostscan)
View csd-wrapper.sh
#!/bin/bash
# Cisco Anyconnect CSD wrapper for OpenConnect
# Enter your vpn host here
CSD_HOSTNAME=
if [[ -z ${CSD_HOSTNAME} ]]
then
echo "Define CSD_HOSTNAME with vpn-host in script text. Exiting."
exit 1
fi
@blancNoir
blancNoir / arch_install.sh
Last active Feb 7, 2019 — forked from brammitch/arch_install.sh
Install Arch Linux on Dell XPS 13 (9360)
View arch_install.sh
# Resources
https://wiki.archlinux.org/index.php/installation_guide
https://wiki.archlinux.org/index.php/Dell_XPS_13_(9360)
http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html
# TO-DO
# Set up periodic TRIM for SSD
# 1 Pre-installation
@blancNoir
blancNoir / GitHub-Forking.md
Created Jan 31, 2019 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow
View GitHub-Forking.md

Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.

In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.

Creating a Fork

Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j

@blancNoir
blancNoir / ec2-ami-region-map.py
Created Nov 19, 2018 — forked from pacohope/ec2-ami-region-map.py
Given a starting public AWS AMI, generate a YAML list of AMI IDs for that AMI in all AWS regions.
View ec2-ami-region-map.py
#
# Given the ID of an Amazon public AMI in one region, figure out what the
# equivalent AMI IDs are for that same AMI in all other regions known.
# If that AMI isn't defined in a region, it prints the region's name, but
# comments it out.
#
from __future__ import print_function
import boto3
@blancNoir
blancNoir / .vimrc
Created May 21, 2018 — forked from eduardocereto/.vimrc
.vimrc optimized for Python and Javascript
View .vimrc
" ==========================================================
" Vundle
" ==========================================================
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
View keybase.md

Keybase proof

I hereby claim:

  • I am blancnoir on github.
  • I am blancnoir (https://keybase.io/blancnoir) on keybase.
  • I have a public key ASCGyv1ANpd9bAKdVyA1Qc_dasckugHX-4NUbff5Gra2Gwo

To claim this, I am signing this object:

@blancNoir
blancNoir / fish-prompt.sh
Last active Jul 21, 2017 — forked from gak/fish-prompt.sh
My custom fish prompt code explained at http://geraldkaszuba.com/tweaking-fish-shell/
View fish-prompt.sh
function fish_prompt
# $status gets nuked as soon as something else is run, e.g. set_color
# so it has to be saved asap.
set -l last_status $status
# c0 to c4 progress from dark to bright
# ce is the error colour
set -g c0 (set_color 005284)
set -g c1 (set_color 0075cd)
set -g c2 (set_color 009eff)
You can’t perform that action at this time.