Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
#!/bin/bash | |
# Script Name: Script Name: wpdebug.sh | |
# Description: A script for enabling or disabling WordPress debugging mode in the wp-config.php file. | |
# Author: Roy McKenzie | |
# Date: April 23, 2024 | |
# Version: 1.0 | |
# | |
# Usage: ./wpdebug.sh [install|uninstall|enable|disable|tail|delete] | |
# | |
# Options: |
A quick breakdown of lighting in the restir-meets-surfel
branch of my renderer, where I revive some olde surfel experiments, and generously sprinkle ReSTIR on top.
Please note that this is all based on work-in-progress experimental software, and represents a single snapshot in development history. Things will certainly change 😛
Due to how I'm capturing this, there's frame-to-frame variability, e.g. different rays being shot, TAA shimmering slightly. Some of the images come from a dedicated visualization pass, and are anti-aliased, and some show internal buffers which are not anti-aliased.
Can be used for streaming data (webcam or screen capture) from the Windows to WSL
Run from a WSL terminal
ip route list default | awk '{print $3}'
############ WordPress #################### | |
# Disable logging for favicon and robots.txt | |
location = /favicon.ico { | |
try_files /favicon.ico @empty; | |
access_log off; | |
log_not_found off; | |
expires max; | |
} |
/* | |
* spi_max7221.c | |
* | |
* Created: 7/14/2020 8:49:34 PM | |
* Author : https://aki-technical.blogspot.com | |
*/ | |
#include <avr/io.h> | |
#define F_CPU 4000000UL |
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)