Skip to content

Instantly share code, notes, and snippets.

It’s kind of fun to do the impossible.

Yves Hoppe yvesh

It’s kind of fun to do the impossible.
View GitHub Profile
yvesh / .Xdefaults
Last active Aug 31, 2018
URxvt Xdefaults config
View .Xdefaults
URxvt.saveLines: 2000
URxvt.scrollBar: false
URxvt.foreground: #f9f7f1
URxvt.depth: 32
URxvt.secondaryScroll: true
URxvt.font: xft:DejaVu Sans Mono for Powerline:pixelsize=22:antialias=true
URxvt.perl-ext-common: default,matcher,selection-to-clipboard
URxvt.urlLauncher: chromium
URxvt.matcher.button: 1
URxvt.tabbed.saveLines: 2000
View .vimrc
" Maintainer:
" Yves Hoppe
" Version:
" 1.1.3 - 2016/02/01
View test.php
* @package Matukio
* @author Yves Hoppe <>
* @date 07.07.14
* @copyright Copyright (C) 2008 - 2014 . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
// We are a valid entry point.

Keybase proof

I hereby claim:

  • I am yvesh on github.
  • I am yveshoppe ( on keybase.
  • I have a public key whose fingerprint is B6E9 E816 065E 64C5 4F3D 1884 ADBC 67C6 15D7 0A63

To claim this, I am signing this object:

yvesh / 0_reuse_code.js
Created Nov 17, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
yvesh / crypt.js
Created Jan 2, 2018
JavaScript AES 256 CBC mixin (pure JavaScript encryption and decryption, stored base64 encoded)
View crypt.js
import aesjs from 'aes-js'
import sha256 from 'js-sha256'
* Encryption Mixin (AES-CBC-256)
export default {
name: 'crypt',
methods: {
yvesh / win10.xml
Created Apr 6, 2019
KVM / QEMU ThreadRipper 2970WX - Windows 10 with 8 Core (4 + 2 Threads), pc-i440fx, RX 580 passhtrough, cpu pinning, L3 cache, numatune, host-model
View win10.xml
<domain type='kvm' id='10'>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<vcpu placement='static' cpuset='0-3,24-27'>8</vcpu>
<vcpupin vcpu='0' cpuset='0'/>
<vcpupin vcpu='1' cpuset='24'/>
<vcpupin vcpu='2' cpuset='1'/>
yvesh / win10-q35.xml
Created Apr 6, 2019
KVM / QEMU ThreadRipper 2970WX - Windows 10 with 8 Core (4 + 2), Q35, RX 580 passhtrough, cpu pinning, L3 cache, numatune, host-model
View win10-q35.xml
<domain type='kvm' id='3'>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<vcpu placement='static' cpuset='6-9,30-34'>8</vcpu>
<vcpupin vcpu='0' cpuset='6'/>
<vcpupin vcpu='1' cpuset='30'/>
<vcpupin vcpu='2' cpuset='7'/>
yvesh / win10-libvirt.xml
Created Apr 7, 2019
libvirt KVM AMD ThreadRipper GPU passthrough - CPU pinning, isolcpus, numactl and L3 cache
View win10-libvirt.xml
<domain type='kvm'>
<libosinfo:libosinfo xmlns:libosinfo="">
<libosinfo:os id=""/>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
yvesh / mac-os-mojave-gpu-pci-pass-through.xml
Last active Dec 27, 2019
MacOS 10.14 Mojave Hackintosh - libvirt / Qemu / KVM AMD ThreadRipper with GPU pass-through
View mac-os-mojave-gpu-pci-pass-through.xml
<domain type='kvm' xmlns:qemu=''>
<memory unit='KiB'>32817152</memory>
<currentMemory unit='KiB'>32817152</currentMemory>
<vcpu placement='static'>32</vcpu>
<type arch='x86_64' machine='pc-q35-4.0.1'>hvm</type>
<loader readonly='yes' type='pflash'>/mnt/qemu/macos/firmware/OVMF_CODE.fd</loader>