life_expectancy_income_population.json
county_presidential_election_income_unemployment.json
jupyter notebook for creating the life expectancy json
interactive widgets in jupyter notebook that create vega chart
# | |
# Lenovo Throttle Fix configuration for my HP Zbook Studio G5 | |
# (undervolt settings are motherboard dependent and will likely not | |
# apply to your system.) | |
# | |
# Fixes the 15W/35W throttling issue in Linux :) | |
# | |
[GENERAL] | |
# Enable or disable the script execution | |
Enabled: True |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} |
#!/usr/bin/env python | |
import dpkt, pcap, socket | |
from ipaddr import IPv4Address, IPv6Address | |
import syslog | |
class HTTPRequest(): | |
def __init__(self, host, uri, ip = None, user_agent = None): | |
self.uri = uri | |
self.user_agent = user_agent | |
self.host = host |
import argparse | |
import itertools | |
import json | |
import logging | |
import os | |
import random | |
import time | |
from typing import Dict, List, Optional, Union |
version: '3' | |
# | |
# Config for powerdns is saved in /opt/powerdns/ | |
# | |
# Take pdns.conf from https://raw.githubusercontent.com/psi-4ward/docker-powerdns/master/pdns.conf | |
# and create /opt/powerdns/pdns/conf.d/api.conf with | |
# | |
# api=yes | |
# api-key=6d238bb754ffe84d9b1fdc967cb16a546ea7a32cdd2438497912137440bd0c75 | |
# webserver-address=0.0.0.0 |
import argparse | |
import logging | |
import os | |
import requests | |
import sys | |
import urllib.parse | |
from typing import Optional | |
import pyotp |
#!/bin/ksh | |
export BASE=${HOME} | |
echo "Removing cache and output directory..." | |
rm -rf ${BASE}/data/rpki-client/cache/* | |
rm -rf ${BASE}/data/rpki-client/output/* | |
echo "Running rpki-client" | |
exec /usr/sbin/rpki-client -vv -t /etc/rpki/ripe.tal -d ${BASE}/data/rpki-client/cache/ ${BASE}/data/rpki-client/output/ |
Make sure you run XQuartz if you are using a mac and that DISPLAY is set on the host machine.
$ export DISPLAY=:0
And SSH to the target machine with forwarding enabled (ssh -Y [host]
)
Inspect the environment by running:
$ flatpak run --filesystem=~/.xauth com.jetbrains.IntelliJ-IDEA-Community --command=sh -c "export DISPLAY=$DISPLAY"
# ... | |
samba: | |
image: dperson/samba | |
restart: unless-stopped | |
command: >- | |
-u "user;badpass" | |
-u "timemachine_rmbp;${TIMEMACHINE_RMBP_PASSWORD}" | |
-s "data;/media/data;yes;yes;yes;all" | |
ports: | |
- 139:139 |