Skip to content

Instantly share code, notes, and snippets.

View apcro's full-sized avatar
💭
Github's user dashboard really is rubbish

Tom Gordon apcro

💭
Github's user dashboard really is rubbish
  • Typeform
View GitHub Profile
@apcro
apcro / gist:99ced7c8a5b20fd77622e7394c2049ac
Last active July 15, 2022 11:27
Installing libvips from source and making it work
Installing `libvips` from source on Ubuntu 18.04 Bionic
(See the first comment at https://gist.github.com/apcro/99ced7c8a5b20fd77622e7394c2049ac for a formatted version of this gist)
<code>
wget https://github.com/libvips/libvips/releases/download/v8.8.2/vips-8.8.2.tar.gz
tar -xvf vips-8.8.2.tar.gz
cd vips-8.8.2
./configure
</code>
@apcro
apcro / devert
Last active November 9, 2019 07:10 — forked from cfr/devert
Fix vertical video by placing a blurred image in the background. This script accepts a width/height for resizing.
#!/usr/bin/env sh
# original from http://stackoverflow.com/a/30819570/187663
if [ $# -lt 2 ]
then
echo "Usage: devert {input video filename} {input image filename}"
echo "Usage: devert {input video filename} {input image filename} {width} {height}"
echo ""
echo "Excluding the width and height will generate a video at 1280x720"
exit;
fi
@apcro
apcro / hide_github_newsfeed.txt
Last active November 9, 2018 11:50
Hiding the news feed on GitHub
Use the following filter on AdBlock Plus to hide the News Feed on your GitHUb dashboard:
github.com##.news.column