Skip to content

Instantly share code, notes, and snippets.

View feffi's full-sized avatar

feffi feffi

View GitHub Profile
@feffi
feffi / rook.io-ceph.txt
Last active March 10, 2019 00:44
rook-ceph Shared Filesystem failure
Problem: Maybe somebody can help me with a (maybe simple) problem with a failing `FlexVolume` (shared filesystem) mount on rook.io-Ceph? Although I can create the operator, the cluster and also the filesystem, I‘m not able to mount the filesystem in any of my pods. Creating and mounting PV/PVC works fine. I've collected all information, but out of options right now ...
https://gist.github.com/feffi/cc455d8da5fe3464dd6d5e3c27b10c7c
---
apiVersion: ceph.rook.io/v1
kind: CephFilesystem
metadata:
name: cephfs
@feffi
feffi / spectre.c
Created January 15, 2018 19:11 — forked from ErikAugust/spectre.c
Spectre example code
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@feffi
feffi / boxstarter.sh
Last active November 14, 2016 19:29
## http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/feffi/11c3c8b374405c8be9d69366c18380af/raw/b71c04a5732f6288df177c2b834ddc5eef7d540e/boxstarter.sh
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$false # Save my password securely and auto-login after a reboot
# Update Windows and reboot if necessary
if (Test-PendingReboot) { Invoke-Reboot }
#Install-WindowsUpdate -AcceptEula
@feffi
feffi / pdns.conf
Created June 8, 2014 22:16
/etc/powerdns/pdns.conf
[...]
#################################
# launch Which backends to launch and order to query them in
#
# launch=
launch=gmysql
[...]
service pdns stop
@feffi
feffi / powerdns
Created June 8, 2014 21:59
PowerDNS Installation
aptitude install pdns-server pdns-backend-mysql
@feffi
feffi / rules.v4
Created June 2, 2014 06:19
/etc/iptables/rules.v4
# Generated by iptables-save v1.4.14 on Wed May 14 23:43:26 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
# accept all loop traffic, discard all malicious localloop traffic
-A INPUT -i lo -j ACCEPT
-A INPUT -d 127.0.0.0/8 ! -i lo -j REJECT --reject-with icmp-port-unreachable
@feffi
feffi / gist:7912880
Created December 11, 2013 15:54
Steam client broken update fix
rm -f '~/Library/Application Support/Steam/.crash'
@feffi
feffi / wikiawesome_usage.html
Created November 11, 2013 14:05
WikiAwesome usage
<i class="icon-file"></i> Test