Updated: Just use qutebrowser (and disable javascript). The web is done for.
This file contains hidden or 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
| sub, sup { | |
| /* Specified in % so that the sup/sup is the | |
| right size relative to the surrounding text */ | |
| font-size: 75%; | |
| /* Zero out the line-height so that it doesn't | |
| interfere with the positioning that follows */ | |
| line-height: 0; | |
| /* Where the magic happens: makes all browsers position |
This file contains hidden or 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
| /* | |
| jQuery.reduce - a jQuery plugin for functional programming | |
| @author John Hunter | |
| created 2010-09-17 | |
| use: $.reduce(arr, fnReduce, valueInitial); | |
| fnReduce is called with arguments: [valueInitial, value, i, arr] | |
| reduce will never be jQuery core - its not prototype :p (http://dev.jquery.com/ticket/1886) | |
| */ | |
| (function ($) { |
This file contains hidden or 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
| "use strict"; | |
| /* ============================================================================ | |
| Gibson Research Corporation | |
| UHEPRNG - Ultra High Entropy Pseudo-Random Number Generator | |
| ============================================================================ | |
| This is GRC's cryptographically strong PRNG (pseudo-random number generator) | |
| for JavaScript. It is driven by 1536 bits of entropy, stored in an array of | |
| 48, 32-bit JavaScript variables. Since many applications of this generator, | |
| including ours with the "Off The Grid" Latin Square generator, may require | |
| the deteriministic re-generation of a sequence of PRNs, this PRNG's initial |
This file contains hidden or 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
| ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=80:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='Lossless codecs vs corruption',drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=30:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2+80:text='by Dave Rice',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3 -vtag 2vuy intro_title.mov | |
| ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='JPEG-LS',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3 -vtag 2vuy jpegls_title.mov | |
| ffmpeg -f lavfi -i mandelbrot=s=1920x1080 -c:v jpegls -bsf noise -t 10 jpegls.mov | |
| ffmpeg -f lavfi -i color=color=black:s=1920x1080 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf:fontsize=100:fontcolor=white:x=(w-text_w)/2:y=(h-text_h-line_h)/2:text='Lossless JPEG',fade=in:0:20,fade=out:55:20" -c:v rawvideo -pix_fmt uyvy422 -t 3 |
This guide will focus on three things:
- Setting up the necessary environment.
- Texturing in 3DsMax.
- Exporting to a game-compatible format.
This guide will be using 3DsMax 2019, but what is done here should be doable in other versions of 3DsMax as well, albiet a bit differently. I will be assuming some familiarity with the programs involved.
This file contains hidden or 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 collections | |
| import math | |
| import os | |
| import cv2 | |
| import numpy as np | |
| import time | |
| MAX_LINES = 4000 | |
| N_PINS = 36*8 | |
| MIN_LOOP = 20 # To avoid getting stuck in a loop |
This file contains hidden or 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
| # taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
| # generate server.pem with the following command: | |
| # openssl req -new -x509 -keyout key.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 |