I hereby claim:
- I am nicr9 on github.
- I am nicr9 (https://keybase.io/nicr9) on keybase.
- I have a public key whose fingerprint is 4C6E AE36 AC6C 945F A2B8 1EED 287C AD67 3FAA A6AC
To claim this, I am signing this object:
docker pull nicr9/mdserver | |
docker run -dp 4000:4000 -v /home/$USER/notes:/opt/notes nicr9/mdserver |
mkdir -p ~/src/github.com/Yubico | |
cd !$ | |
# dependancies | |
sudo apt-get install -y libusb-1.0-0-dev libusb-dev autoconf libtool asciidoc | |
# Build libyubikey-dev from source | |
git clone https://github.com/Yubico/yubico-c.git | |
cd yubico-c | |
autoreconf --install |
# Plugin yubikey first! | |
# Check yubikey connection | |
ykinfo -a | |
# Change yubikey mode | |
ykpersonalize -m82 | |
# Plug yubikey out/in again now! |
I hereby claim:
To claim this, I am signing this object:
sudo yum groupinstall 'Development tools' | |
sudo yum install ncurses ncurses-devel | |
mkdir -p ~/src/github.com/vim | |
cd !$ | |
git clone https://github.com/vim/vim.git | |
cd vim | |
./configure --prefix=/usr --with-features=huge --enable-pythoninterp --with-compiledby='@nicr9_' | |
make |
from sys import argv | |
from collections import defaultdict | |
import xml.etree.ElementTree as ET | |
import csv | |
import datetime | |
if __name__ == "__main__": | |
src = argv[1] | |
dest = argv[1] + ".kp.xml" | |
current_time = datetime.datetime.now().strftime("%Y-%m-%dT%H:%M") |
license: mit |
# Admin commands | |
all: build up | |
build: | |
docker-compose build | |
up: | |
docker-compose up -d |
yum update | |
#Install for compiling and configuring needs | |
yum install nano bzip2 gcc git pkgconfig autoconf automake libtool gperf byacc libxslt bison flex | |
#Install needed and available development libraries | |
yum install libxcb-devel libXcursor-devel pango-devel pcre-devel perl-Data-Dumper perl-Pod-Parser startup-notification-devel xcb-util-keysyms-devel xcb-util-devel xcb-util-wm-devel yajl-devel check-devel gettext-devel xterm | |
yum install xorg-x11-xkb-extras xorg-x11-xkb-utils-devel libxkbfile-devel libev-devel | |
#Add the following lines to a new file at the below location |
def without_params(func): | |
""" | |
Outer function takes target function and returns a wrapped one. | |
""" | |
def _without_params(*args, **kwargs): | |
""" | |
Inner function takes target arguments and makes the call. | |
""" | |
return func("Never gonna run around") |