- Install
kubectl-neat-diff
d="$(mktemp -d)" && git clone https://github.com/djosix/kubectl-neat-diff "$d" && cd "$d" && make install && cd - && rm -r "$d"
- Install
colordiff
sudo apt install colordiff
import os | |
import json | |
import re | |
import glob | |
import time | |
import traceback | |
import functools | |
import subprocess as sp | |
from datetime import datetime | |
from threading import Thread, Event |
vim ~/.zshrc
, add history-substring-search
to the plugin array.
66 # Which plugins would you like to load?
67 # Standard plugins can be found in ~/.oh-my-zsh/plugins/*
68 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
69 # Example format: plugins=(rails git textmate ruby lighthouse)
70 # Add wisely, as too many plugins slow down shell startup.
71 plugins=(zsh-autosuggestions zsh-completions history-substring-search)
import sys | |
import inspect | |
import traceback | |
import importlib | |
import readline | |
import contextlib | |
__all__ = [ | |
'probe', |
#!/usr/bin/env python3 | |
import socket, os | |
class DNSBinLeaker: | |
def __init__(self, dnsbin_id, leak_id='leak'): | |
assert len(dnsbin_id) == 20 | |
assert all(c in '0123456789abcdef' for c in dnsbin_id) | |
assert 0 < len(leak_id) < 20 and leak_id.isalnum() |
// ==UserScript== | |
// @name JAV101 Likes Ratio | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://v.jav101.com/* | |
// @grant none | |
// ==/UserScript== |
import requests, re, random | |
sess = requests.Session() | |
def test(answers, time_fn): | |
assert len(answers) == 35 | |
res = sess.get('https://test.mensa.no') | |
m = re.search(r'authorizationToken = (.+);', res.text) |
import numpy as np | |
import random | |
import os | |
import time | |
data = [ | |
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, | |
0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, | |
0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, | |
0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, |