Skip to content

Instantly share code, notes, and snippets.

@chvck
chvck / migrate.go
Created Jun 26, 2018
Migration from pelican to Ghost
View migrate.go
package main
import (
"bufio"
"encoding/json"
"fmt"
"os"
"path/filepath"
"regexp"
"strings"
View gist:2c11538691fc3a256f8407154c37f5bb
#!/bin/bash
GHOSTCRIPT_VER=9.21
wget https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/ghostscript-$GHOSTCRIPT_VER.tar.gz
tar -xvzf ghostscript-$GHOSTCRIPT_VER.tar.gz
rm ghostscript-$GHOSTCRIPT_VER.tar.gz
cd ghostscript-$GHOSTCRIPT_VER
./configure
make
sudo make install