This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if 0 | |
pkg = libpulse | |
src = $(MAKEFILE_LIST) | |
app = $(basename $(src)) | |
CFLAGS = $(shell pkg-config --cflags $(pkg)) -x c | |
LDFLAGS = $(shell pkg-config --libs $(pkg)) | |
$(app): $(src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if 0 | |
src = $(MAKEFILE_LIST) | |
app = $(basename $(src)) | |
$(app): LDLIBS = -lX11 -lXi | |
$(app): $(src) | |
define source | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Command generator for setting DHCP Option 119 | |
This script converts the specified domain names to DHCP Option 119 | |
(Domain Search Option) and prints commands for various DHCP servers. | |
USAGE: | |
./dhcp_option119.py DOMAIN ... | |
EXAMPLE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dns.rdtypes.ANY.TKEY | |
import dns.resolver | |
import dns.update | |
import gssapi | |
import socket | |
import time | |
import uuid | |
def _build_tkey_query(token, key_ring, key_name): | |
inception_time = int(time.time()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- /etc/dbus-1/system.d/hidepid.conf --> | |
<!-- This prevents users from bypassing /proc hidepid= restrictions using 'systemctl status'. --> | |
<busconfig> | |
<!-- Allow root to use systemctl --> | |
<policy user="root"> | |
<allow send_destination="org.freedesktop.systemd1" | |
send_interface="org.freedesktop.systemd1.Manager" | |
send_member="GetUnitProcesses"/> | |
</policy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import bs4 | |
import os | |
import requests | |
import subprocess | |
import sys | |
def validate_xml_file(path, schema): | |
r = subprocess.call(["xmllint", "--noout", "--schema", schema, path]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** This most likely *will not* be updated with any further changes I make to my local version, so just copy-paste import it. ***/ | |
/* Hide junk */ | |
.sticky_support .site-header { | |
position: unset; | |
} | |
.inline-playlist { | |
display: none; | |
} |
OlderNewer