Skip to content

Instantly share code, notes, and snippets.

Marc Fez marc-fez

Block or report user

Report or block marc-fez

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
marc-fez / dell-XPS-15-arch-linux-install
Last active Oct 13, 2019 — forked from mattiaslundberg/arch-linux-install
Instructions for installing arch linux on a Dell XPS 15 with full system encryption using dm-crypt and luks
View dell-XPS-15-arch-linux-install
# Having problems with the nvidia drivers
# Arch wiki page on XPS 15
# Install ARCH Linux with encrypted file-system and UEFI on Dell XPS 15
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
marc-fez /
Last active May 23, 2017 — forked from jacobian/
Convert an lxml.etree node tree into a dict.
def elem2dict(node):
Convert an lxml.etree node tree into a dict.
d = {}
for e in node.iterchildren():
key = e.tag.split('}')[1] if '}' in e.tag else e.tag
value = e.text if e.text.strip() else elem2dict(e)
d[key] = value
return d
marc-fez / Get-KeepassPW
Created Oct 29, 2014
KPScript retrieve password in Powershell
View Get-KeepassPW
function Get-KeepassPW{
$result = $null
$KeePath = "C:\Program Files (x86)\KeePass Password Safe 2\KPScript.exe"
# Path to your database
$KeeDataPath = "C:\Users\MyUser\Documents\KeePass\Database.kdbx"
$pass = Read-Host 'What is your KeePassword?' -AsSecureString
$KePassword = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($pass))
$KeeCommands = @(
You can’t perform that action at this time.