View Dockerfile_GoAccess
This file contains 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" |
View create_onion_service.sh
This file contains 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='/var/lib/docker/volumes/nextcloud_gitellaweb/_data' |
View catalogue_quarto.yml
This file contains 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 |
View catalogue_Punctum_Books.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View computational_book_jupyter.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View computational_books_quarto.yml
This file contains 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 |
View computational_book_render.sh
This file contains 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 | |
############################################################ |
View filter_and_save_to_new_workbook.bas
This file contains 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 |
View eprints_rest.php
This file contains 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: eprints_rest.php | |
# @version: 0.1 | |
# @creation_date: 2019-07-22 | |
# @license: The MIT License <https://opensource.org/licenses/MIT> | |
# @author: Simon Bowie <sb174@soas.ac.uk> | |
# @purpose: Testing the EPrints RESTful API | |
?> | |
<?php |
View crossref_doi_checker.php
This file contains 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: crossref_doi_checker.php | |
# @version: 0.1 | |
# @license: The MIT License (MIT) <https://mit-license.org/> | |
# @purpose: Checks a single text file of DOIs (one per line with Unix EOLs) against the Crossref API. | |
# Run as 'php crossref_doi_checker.php '$doi_file'' e.g. 'php crossref_doi_checker.php doi_file.txt' | |
# @author: Simon Bowie <simonxix@riseup.net> | |
# @acknowledgements: | |
# https://github.com/CrossRef/rest-api-doc | |
?> |
NewerOlder