Skip to content

Instantly share code, notes, and snippets.

View RicardoEPRodrigues's full-sized avatar

Ricardo Rodrigues RicardoEPRodrigues

View GitHub Profile
@RicardoEPRodrigues
RicardoEPRodrigues / build-linux.sh
Last active June 12, 2023 23:57
Unreal Engine UAT Game Build Automation (Win/Linux)
#!/bin/bash
set -e
set +x
echo "Building Game for Linux..."
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BUILD_DIR="${DIR}/Build/"
PROJECT="${DIR}/Game.uproject"
@RicardoEPRodrigues
RicardoEPRodrigues / build-epub.sh
Created July 21, 2022 13:39
From Latex to Epub with Pandoc
#!/bin/bash
# This script makes use of Pandoc (https://pandoc.org/) to convert from Latex to Epub
# While interesting, this solution does require further work on the Latex document. Here follows some suggestions:
#
# (1) Change document class to memoir. \documentclass{memoir}
# (2) Simple figures compile just fine, but subfigures and more complex solutions will be ignored. Convert complex solutions into simple, multiple figures to fix this.
# (3) The same applies to tables. Only very simple tables will be rendered. My suggestion is to take a high-resolution screenshot of the table and use a figure instead.
set -e