Skip to content

Instantly share code, notes, and snippets.

View ablwr's full-sized avatar
✌️
always

Ashley Blewer ablwr

✌️
always
View GitHub Profile
CUNY-TV (NY, USA)
New York Public Library (USA)
University of Washington (USA)
Media Archive for Central England (UK)
Bay Area Video Coalition (CA, USA)
NHMAAC (DC, USA)
Laboratorio de Preservación Audiovisual (LAPA), Universidad de la República (Uruguay)
Cornell University Library's AV Preservation Lab (NY, USA)
Stanford Media Preservation Lab (CA, USA)
Florida State University (USA)
@ablwr
ablwr / overlay-chat.html
Last active July 20, 2021 12:39
Overlay chat text on Daily Prebuilt
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fullscreen embedded prebuilt with chat overlay</title>
<script crossorigin src="https://unpkg.com/@daily-co/daily-js"></script>
<style>
#chatBox {
@ablwr
ablwr / franklin-prioritization
Last active December 29, 2020 16:50
franklin-prioritization
“Technology needs to be examined as a method of power and control.”
“What needs to be emphasized is that technologies are developed and used within
a particular social, economic, and political context. They arise out of a social
structure, they are grafted to it, and they may reinforce it or destroy it,
often in ways that are neither foreseen nor foreseeable.”
“All these infrastructures could have been designed differently if the first
design priority had been human development rather than technological development.
Many technological systems, when examined for context and overall design, are
@ablwr
ablwr / make_thumbs.sh
Created May 14, 2020 15:24
make_thumbs.sh
#!/bin/bash
basefolder="/home/ashley/Development/personal/vasulka-archive-archive/thumbs"
for i in $(find * -iname '*.pdf');
do
if [ `dirname $i` != "." ]
then
dirpath="${i%/*}"
dir_arr=(`echo $dirpath | tr "/" "\n"`)
@ablwr
ablwr / make_json.sh
Created May 14, 2020 15:02
make_json.sh
#!/bin/bash
printf '['
#
LC_ALL=C
for i in $(find ocrarchive/ -iname '*.txt');
do
printf '{"title":"'
printf "$i"
@ablwr
ablwr / make_ocr.sh
Last active May 14, 2020 15:01
make_ocr.sh
#!/bin/bash
basefolder="/home/ashley/Development/personal/vasulka-archive-archive/ocr"
for i in $(find * -iname '*.pdf');
do
if [ `dirname $i` != "." ]
then
dirpath="${i%/*}"
dir_arr=(`echo $dirpath | tr "/" "\n"`)
let weatherInCascadiaNow = async function getWeather() {
return fetch('https://api.weather.gov/gridpoints/SEW/121,70/forecast')
.then(response => response.json())
.then(data => {
return data.properties.periods[0].shortForecast
})
.then(output => document.getElementById('h1').innerHTML = output)
};
weatherInCascadiaNow();
@ablwr
ablwr / bwf2.0
Created February 14, 2020 22:13
<!DOCTYPE html>
<html>
<head>
<title>BWF MetaEdit display</title>
<style>
body {
margin: 0;
padding: 0;
font-family: sans-serif;
width: 100%;
linux-vdso.so.1 (0x00007fff56be4000)
libavdevice.so.58 => /home/linuxbrew/.linuxbrew/lib/libavdevice.so.58 (0x00007f2efca17000)
libavcodec.so.58 => /home/linuxbrew/.linuxbrew/lib/libavcodec.so.58 (0x00007f2efb29c000)
libavformat.so.58 => /home/linuxbrew/.linuxbrew/lib/libavformat.so.58 (0x00007f2efae6b000)
libpostproc.so.55 => /home/linuxbrew/.linuxbrew/lib/libpostproc.so.55 (0x00007f2efac4f000)
libswscale.so.5 => /home/linuxbrew/.linuxbrew/lib/libswscale.so.5 (0x00007f2efa9c4000)
libavutil.so.56 => /home/linuxbrew/.linuxbrew/lib/libavutil.so.56 (0x00007f2efa6c7000)
libuchardet.so.0 => /home/linuxbrew/.linuxbrew/lib/libuchardet.so.0 (0x00007f2efa4a4000)
libX11.so.6 => /home/linuxbrew/.linuxbrew/lib/libX11.so.6 (0x00007f2efa189000)
libswresample.so.3 => /home/linuxbrew/.linuxbrew/lib/libswresample.so.3 (0x00007f2ef9f69000)