Skip to content

Instantly share code, notes, and snippets.

View zvyn's full-sized avatar
🐧

Milan Oberkirch zvyn

🐧
View GitHub Profile
efibootmgr --create --disk /dev/sdc --part 1 --label "Something New" --loader "EFI\arch\vmlinuz-arch.efi" -@ new_cmdline.conf
@zvyn
zvyn / config.json
Created January 31, 2016 06:53 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#5b9aa9, 6.5%)",
"@brand-success": "#889a3a",
@zvyn
zvyn / dump-imap.py
Last active August 29, 2015 14:27 — forked from FiloSottile/dump-imap.py
Simple script to dump an IMAP folder into eml files
#!/usr/bin/env python3
#-*- coding:utf-8 -*-
import imaplib
import getpass
import argparse
argparser = argparse.ArgumentParser(description="Dump a IMAP folder into .eml files")
argparser.add_argument('-s', dest='host', help="IMAP host, like imap.gmail.com", required=True)
argparser.add_argument('-u', dest='username', help="IMAP username", required=True)
@zvyn
zvyn / maybe.py
Last active December 29, 2016 04:33 — forked from senko/maybe.py
# maybe.py - a Pythonic implementation of the Maybe monad
# Copyright (C) 2014. Milan Oberkirch <milan.py@oberkirch.org>
# Copyright (C) 2014. Senko Rasic <senko.rasic@goodcode.io>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: