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:
license: mit |
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") |
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 |
I hereby claim:
To claim this, I am signing this object:
# Plugin yubikey first! | |
# Check yubikey connection | |
ykinfo -a | |
# Change yubikey mode | |
ykpersonalize -m82 | |
# Plug yubikey out/in again now! |
# Admin commands | |
all: build up | |
build: | |
docker-compose build | |
up: | |
docker-compose up -d |
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 |
#!/usr/bin/env python | |
from SimpleHTTPServer import SimpleHTTPRequestHandler, test | |
class CustomRequestHandler(SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.add_content_disposition() | |
SimpleHTTPRequestHandler.end_headers(self) | |
def add_content_disposition(self): | |
self.send_header("Content-Disposition", 'filename="content_disposition.py"') |
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 |
docker pull nicr9/mdserver | |
docker run -dp 4000:4000 -v /home/$USER/notes:/opt/notes nicr9/mdserver |