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
// Synthesize a dialog via Chrome's built-in speech synthesis. | |
// Hardcoded to British Male / US Female, slightly slowed down, | |
// with random pauses between lines. | |
// Copy&paste this into Chrome's Console. | |
// You might have to copy the first 2 lines individually / with delay / twice; | |
// getVoices() takes a while? (Chrome 57) | |
var msg = new SpeechSynthesisUtterance(); | |
var voices = speechSynthesis.getVoices(); |
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
#!/bin/bash | |
# Quickly create/queue an one-image-only post, tumblr-style. | |
img="$1" | |
title="$2" | |
status="$3" | |
category="image" # change this! | |
author=1 # also this. |
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
# premade for copy&paste: :) ;) :( :D :P <3 | |
php -r "echo html_entity_decode(':‌)');" | xclip -selection clipboard |
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
#!/bin/bash | |
# Replaces all textures in Q3A with Nick Cage, as pitched by Nerdcore | |
# http://www.nerdcore.de/2017/10/05/that-time-some-gamedev-replaced-every-texture-with-nicolas-cage/ | |
# commenting on @AmazingThew | |
# https://twitter.com/AmazingThew/status/915787837349531648 | |
# Example output: | |
# https://vimeo.com/237570637 | |
# | |
# USAGE |
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
#!/bin/bash | |
# create a slideshow from images, with nice blending | |
# using MLT or ffmpeg | |
# adapted from https://superuser.com/a/834035 | |
# | |
# beware of the ffmpeg command, it eats memory quickly | |
# USAGE | |
# 1 pass images as arguments |
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
<html><body> | |
<p>There's output from a similar system which works <a href="#working">below</a>.</p> | |
<div> | |
<h3>Graphics Feature Status</h3> | |
<ul class="feature-status-list"><li><span>Canvas: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Flash: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Flash Stage3D: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Flash Stage3D Baseline profile: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Compositing: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Multiple Raster Threads: </span><span class="feature-green">Enabled</span></li><li><span>Native GpuMemoryBuffers: </span><span class="feature-green">Hardware accelerated</span></li><li><span>Rasterization: </span><span class="feature-yellow">Software only, hardware acceleration unavailable</span></li><li><span>Video Decode: </span><span class="feature-green">Hardware a |
NewerOlder