View memory_usage.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Append the following to /etc/config/dhcp:

config boot 'linux'                        
        option filename 'pxelinux.0'       
        option serveraddress 'YOUR.SERVER.IP.HERE'
        option servername 'HP Deployment'  
        list dhcp_option '186,'
        list dhcp_option '187,8017'      
        list dhcp_option '252,\\boot\BCD'
View lego_00-namespace.yaml
apiVersion: v1
kind: Namespace
name: kube-lego
View recwin
#!/usr/bin/env python3
import argparse
import subprocess
import time
import os
import re
parser = argparse.ArgumentParser(description='Record window')
parser.add_argument('-window-id', type=int)
parser.add_argument('-fps', type=int, default=30)
View cache_stat.cpp
// compile with: g++ -fPIC -shared -std=c++11 cache_stat.cpp -ldl -O3 -o
#include <functional>
#include <sys/stat.h>
#include <dlfcn.h>
#include "lrucache.hpp"
typedef int (*xstat_type)(int ver, const char *pathname, struct stat *buf);
typedef int (*xstat64_type)(int ver, const char *pathname, struct stat64 *buf);
typedef int (*fxstatat_type)(int ver, int dirfd, const char *path, struct stat *stat_buf, int flags);
View gitlab.yaml
apiVersion: v1
kind: List
- kind: ReplicationController
apiVersion: v1
name: gitlab
namespace: internal
replicas: 1
View cloud-config-master-node.yaml
hostname: node-01
- ssh-rsa <redacted>
advertise-client-urls: http://node-01.mux.lan:2379
import struct
import hashlib
from datetime import datetime
t =
ci = 0
for i in xrange(0, 2**42):
buf = struct.pack('Q', i)
m = hashlib.sha256()
from torrent.database import mongo
from flask import Blueprint, Response, current_app, request
from bencode import bencode
from IPy import IP
from socket import inet_pton, inet_ntop, ntohs, htons, AF_INET, AF_INET6
from struct import pack
bp = Blueprint('tracker', __name__)
class TrackerFailure(Exception):
View evil
# This script disables execution of commands and echoes messages to the user, to disable type: "wat"
# To install this, you need to have access to the user's home directory.
# sudo -u <user> -i sh -c 'cp /path/to/evil ~/.evil && cp ~/.bashrc ~/.bashrc.ebak && echo ". ~/.evil" >> ~/.bashrc'
shopt -s extdebug
function disable_evil() {
rm ~/.evil
rm ~/.bashrc