Skip to content

Instantly share code, notes, and snippets.



  • Zürich
Block or report user

Report or block xkef

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
xkef /
Created Feb 28, 2019 — forked from DanHerbert/
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.


This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

xkef /
Last active Feb 26, 2019
Welcome file
xkef / vscode
Last active Feb 23, 2019
Visual Studio Code Environment
View vscode

Configuration of Visual Studio Code Environment


You will first need to have access to a unix shell. The Windows Store provides this easily:

Personally, I like the patched Fonts:

xkef / arch-linux
Created Feb 10, 2019 — forked from njam/arch-linux
Install Arch Linux on XPS 13 9360
View arch-linux
# Installation on Dell XPS
# Please also consult official documentation:
# Enter BIOS with F2 and configure:
# - "System Configuration" > "SATA Operation": "AHCI"
# - "Secure Boot" > "Secure Boot Enable": "Disabled"
xkef / youtube-dl playlist
Created Jan 29, 2019
download youtube playlist with thumbnails
View youtube-dl playlist
youtube-dl                    \
      --audio-quality 0       \
      --audio-format mp3      \
      --embed-thumbnail       \
      --continue              \
      --no-overwrites         \
      --ignore-errors         \
      --extract-audio         \
      --yes-playlist          \
View gist:32237c17b7084ad919fd87a82b95d723

Keybase proof

I hereby claim:

  • I am xkef on github.
  • I am xkef ( on keybase.
  • I have a public key whose fingerprint is 4DCF 940B 101C ED08 8417 7EED 1B9B F98B B429 41B6

To claim this, I am signing this object:

xkef / gist:22116699743da2a4c8c5d6dcbf5fc7dc
Created Jan 1, 2017 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing
View gist:22116699743da2a4c8c5d6dcbf5fc7dc

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

You can’t perform that action at this time.