This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
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)<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Z-Index Example</title> | |
<style> | |
html, body { background-color: #00787F; } | |
.container { | |
position: relative; |
/* | |
* Vector Swizzle Extensions by Tyler Glaiel | |
* Version 1.0 | |
* Sample Usage: | |
Vector2 a = new Vector2(1, 2); | |
Vector4 b = a.yxxy(); | |
Debug.Log(b); //outputs (2.0, 1.0, 1.0, 2.0) | |
*/ | |
using UnityEngine; |
files: | |
/etc/nginx/conf.d/elasticbeanstalk/00_application2.conf: | |
owner: root | |
group: root | |
mode: "000644" | |
content: | | |
location / { | |
set $redirect 0; | |
if ($http_x_forwarded_proto != "https") { | |
set $redirect 1; |