Skip to content

Instantly share code, notes, and snippets.

Avatar
✌️
always

Ashley ablwr

✌️
always
View GitHub Profile
View 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"`)
View 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
make_ocr.sh
View 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"`)
View gist:65516cd54e84b19e31ab9fad683cc448
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();
View bwf2.0
<!DOCTYPE html>
<html>
<head>
<title>BWF MetaEdit display</title>
<style>
body {
margin: 0;
padding: 0;
font-family: sans-serif;
width: 100%;
View pointers
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)
View convmv --list
7bit-jis
AdobeStandardEncoding
AdobeSymbol
AdobeZdingbat
ascii
ascii-ctrl
big5-eten
big5-hkscs
cp1006
cp1026
View full fits error
$ ng edu.harvard.hul.ois.fits.Fits -i tmp/empty.txt -o /tmp/output.txt > /dev/null
Oct 04, 2018 4:07:11 PM com.martiansoftware.nailgun.NGSession run
INFO: Server unexpectedly exited with unhandled exception
javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
at java.xml/javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:305)
at java.xml/javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:261)
at java.xml/javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:140)
at org.apache.commons.configuration.XMLConfiguration.createDocumentBuilder(XMLConfiguration.java:579)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:687)
at org.apache.commons.configuration.XMLConfiguration.load(XMLConfiguration.java:654)
View qctools-export-crash
Process: QCTools [46581]
Path: /Volumes/VOLUME/QCTools.app/Contents/MacOS/QCTools
Identifier: net.mediaarea.qctools.mac
Version: 0.9 (1.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: QCTools [46581]
User ID: 501
Date/Time: 2018-06-14 11:43:40.060 -0400
You can’t perform that action at this time.