Skip to content

Instantly share code, notes, and snippets.

@Skylark95
Skylark95 / docker-compose.yml
Created May 12, 2020 23:17
Pretend You're Xyzzy Docker
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /etc/nginx/certs
@Skylark95
Skylark95 / bundlestars-promotion-steam-links.js
Created September 9, 2016 04:35
BundleStars Promotion Steam Links
@Skylark95
Skylark95 / youtube_encode.sh
Last active May 19, 2016 03:28
Encoding videos for YouTube with FFMpeg
# Source:
# Encoding videos for YouTube with FFMpeg
# https://www.virag.si/2015/06/encoding-videos-for-youtube-with-ffmpeg/
ffmpeg -i <input file> -codec:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -codec:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart <output_name>.mp4
@Skylark95
Skylark95 / concatdvd.sh
Last active May 8, 2016 03:14
VHS to DVD Linux - Using VLC and ffmpeg
#!/bin/bash
if [ -z $1 ] || [ -z $2 ]; then
echo "Usage: concatdvd CONCAT_STRING OUTPUT"
echo "Example: concatdvd \"concat:video1.mpg|concat:video2.mpg\" out.mpg"
exit 1
fi
ffmpeg -i $1 -c copy -f dvd $2
@Skylark95
Skylark95 / settings.xml
Created December 21, 2013 01:04
Maven Settings
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<!-- Login information for maven.skylark95.com to deploy artifacts -->
<id>maven.skylark95.com</id>
<username>ENTER_USERNAME_HERE</username>
@Skylark95
Skylark95 / ImgurAlbum.sh
Created July 10, 2013 22:52
Bash script to download images for an Imgur album
#!/bin/bash
#
# ImgurAlbum.sh
#
# Bash script to download images for an Imgur album
#
if [ -z "$1" ]; then
echo "ImgurAlbum: missing Album ID"
echo "Usage: ImgurAlbum [Album ID]"
exit