When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:
main {
max-width: 38rem;
padding: 2rem;
margin: auto;
}| #!/usr/bin/env bash | |
| set -eu | |
| to=$1 | |
| active=$(cat /etc/neo4j/neo4j.conf | grep "initial.dbms.default_database" | cut -d'=' -f2) | |
| echo "changing from *$active* to *$to*" | |
| sudo sed -i "s/initial.dbms.default_database=$active/initial.dbms.default_database=$to/g" /etc/neo4j/neo4j.conf |
| #!/bin/sh | |
| if [ "*$1" == "*" ]; then | |
| echo "usage: extract.sh src dst" | |
| fi | |
| if [ "*$2" == "*" ]; then | |
| echo "usage: extract.sh src dst" | |
| fi |
| ---# | |
| arch/x86/kernel/process.c:119 | |
| --- | |
| static int set_new_tls(struct task_struct *p, unsigned long tls) | |
| { | |
| struct user_desc __user *utls = (struct user_desc __user *)tls; | |
| if (in_ia32_syscall()) ## x ## | |
| return do_set_thread_area(p, -1, utls, 0); | |
| else |
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 5.10.0 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="clang version 11.1.0 ([email protected]:llvm/llvm-project.git 1fdec59bffc11ae37eb51a1b9869f0696bfd5312)" | |
| CONFIG_GCC_VERSION=0 | |
| CONFIG_LD_VERSION=0 | |
| CONFIG_CC_IS_CLANG=y | |
| CONFIG_LD_IS_LLD=y | |
| CONFIG_CLANG_VERSION=110100 |
| #!/usr/bin/env python3 | |
| # taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
| # generate server.xml with the following command: | |
| # openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
| # run as follows: | |
| # python simple-https-server.py | |
| # then in your browser, visit: | |
| # https://localhost:4443 | |
| import http.server |
| #!/usr/bin/env python3 | |
| import glob | |
| import os | |
| files = glob.glob("./callgraph/*") | |
| cmd = """awk 'FNR==NR {a[$0]++; next} !a[$0]' {} {} | sort | uniq >> x""" |
| Verifying my Blockstack ID is secured with the address 12M3oyd497SG2hza6vyPakhPgNhbDcSe5p https://explorer.blockstack.org/address/12M3oyd497SG2hza6vyPakhPgNhbDcSe5p |
| #!/usr/bin/env python | |
| import socket | |
| class NConnect: | |
| def __init__(self, host, port): | |
| self.host = host | |
| self.port = port | |
| self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
| Verifying my Blockstack ID is secured with the address 1FRwm4jfPt75h5n1PLc1vw3QkdisvyMiLt https://explorer.blockstack.org/address/1FRwm4jfPt75h5n1PLc1vw3QkdisvyMiLt |