Skip to content

Instantly share code, notes, and snippets.

View tschaefer's full-sized avatar
🐕
Octodog

Tobias Schäfer tschaefer

🐕
Octodog
View GitHub Profile
"nics": [
{
"nic_tag": "admin",
"ips": ["10.19.80.225/24", "addrconf"],
"gateways": ["10.19.80.1"],
"allow_ip_spoofing": true
}
]
@tschaefer
tschaefer / config.yaml
Created August 24, 2015 16:20
~/.config/beets/config.yaml
directory: /storage/media/music
import:
write: no
copy: no
move: no
resume: no
autotag: no
plugins: store fetchart
fetchart:
auto: no
@tschaefer
tschaefer / linux-error.txt
Created April 9, 2014 08:00
glibc linux error list
code[1] define[EPERM] str[Operation not permitted]
code[2] define[ENOENT] str[No such file or directory]
code[3] define[ESRCH] str[No such process]
code[4] define[EINTR] str[Interrupted system call]
code[5] define[EIO] str[Input/output error]
code[6] define[ENXIO] str[No such device or address]
code[7] define[E2BIG] str[Argument list too long]
code[8] define[ENOEXEC] str[Exec format error]
code[9] define[EBADF] str[Bad file descriptor]
code[10] define[ECHILD] str[No child processes]
@tschaefer
tschaefer / linux-error.c
Created April 9, 2014 07:57
glibc linux error list
#include <stdio.h>
#include <string.h>
#include <errno.h>
int main(void) {
struct error {
int code;
char *define;
};