This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream platform { | |
server self-host-platform-1:3000; | |
} | |
server { | |
listen 80; | |
server_name platform.DOMAIN; | |
listen 443 ssl; | |
listen [::]:443 ssl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# @name: create_onion_service.sh | |
# @creation_date: 2022-09-02 | |
# @license: The MIT License <https://opensource.org/licenses/MIT> | |
# @author: Simon Bowie <ad7588@coventry.ac.uk> | |
# @purpose: Copies the Copim Hugo site, finds the correct onion address, replaces the Onion-Location header in the original, and replaces the base_url with the onion service address in the onion mirror. | |
# define variables | |
SOURCE_DIRECTORY='/home/[REDACTED]/website_inate/copim_website/public' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG ALPINE_VERSION=3.10.2 | |
# Builds a goaccess image from the current working directory: | |
FROM alpine:${ALPINE_VERSION} | |
ARG build_deps="build-base ncurses-dev autoconf automake git gettext-dev" | |
ARG runtime_deps="tini ncurses libintl gettext musl-utils libmaxminddb libmaxminddb-dev " | |
ARG geolib_path="/usr/local/share/GeoIP" | |
ARG geolib_filename="GeoCity.dat" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @name: _quarto.yml | |
# @creation_date: 2023-03-13 | |
# @license: The MIT License <https://opensource.org/licenses/MIT> | |
# @author: Simon Bowie <ad7588@coventry.ac.uk> | |
# @purpose: specifies Quarto book structure | |
project: | |
type: book | |
output-dir: docs |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @name: _quarto.yml | |
# @creation_date: 2023-03-07 | |
# @license: The MIT License <https://opensource.org/licenses/MIT> | |
# @author: Simon Bowie <ad7588@coventry.ac.uk> | |
# @purpose: specifies Quarto book structure | |
project: | |
type: book | |
output-dir: docs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# @name: render.sh | |
# @creation_date: 2023-03-07 | |
# @license: The MIT License <https://opensource.org/licenses/MIT> | |
# @author: Simon Bowie <ad7588@coventry.ac.uk> | |
# @purpose: Runs Jupyter Notebook files and renders using Quarto | |
# @acknowledgements: | |
# https://www.redhat.com/sysadmin/arguments-options-bash-scripts | |
############################################################ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# @name: new_books.php | |
# @version: 0.2 | |
# @license: GNU General Public License version 3 (GPLv3) <https://www.gnu.org/licenses/gpl-3.0.en.html> | |
# @purpose: Compile and display new books information for Imperial College Library | |
# @author: Simon Barron <s.barron@imperial.ac.uk> | |
# @acknowledgements: Based on a process by Ryan Edwards available at https://github.com/reedwards/automated-new-books-list | |
?> | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub filter() | |
Application.ScreenUpdating = False | |
Dim x As Range | |
Dim rng As Range | |
Dim rng1 As Range | |
Dim last As Long | |
Dim sht As String | |
Dim newBook As Excel.Workbook |
NewerOlder