Skip to content

Instantly share code, notes, and snippets.

Alan Orth alanorth

Block or report user

Report or block alanorth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@alanorth
alanorth / hpc-openssl-benchmarks.md
Created Jun 10, 2019
Benchmarking HPC's fastest node (compute03) against the new AMD EPYC processor in compute05 using OpenSSL (2019-06).
View hpc-openssl-benchmarks.md

OpenSSL Benchmarks

Versions of software used:

  • CentOS Linux release 7.6.1810 (Core)
  • openssl-1.0.2k-16.el7_6.1.x86_64
  • glibc-2.17-260.el7_6.5.x86_64
  • Linux 3.10.0-957.12.2.el7.x86_64

compute03

Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz:

@alanorth
alanorth / PKGBUILD
Created Apr 24, 2019
Arch PKGBUILD for Alacritty v0.3.2
View PKGBUILD
# Maintainer: Christian Rebischke <chris.rebischke@archlinux.org>
# Maintainer: Jiachen YANG <farseerfc@archlinux.org>
# Contributor: kpcyrd <git@rxv.cc>
# Contributor: quininer <quininer@live.com>
pkgbase='alacritty'
pkgname=('alacritty' 'alacritty-terminfo')
pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
_pkgver=0.3.2
pkgver=$_pkgver
pkgrel=1
@alanorth
alanorth / cgspace-metadata.md
Last active Jul 17, 2019
Possible changes to CGSpace metadata fields to align more with DC, QDC, and DCTERMS as well as CG Core v2.
View cgspace-metadata.md

Possible Changes to CGSpace Metadata Fields

With reference to CG Core v2 draft standard by Marie-Angélique as well as DCMI DCTERMS.

  • dc.contributor.author→dcterms.creator
    • for people
  • cg.creator.id→cg.creator.identifier
    • ORCID identifiers
  • dc.title→dcterms.title
  • dc.format.extent→dcterms.extent
  • dc.date.issued→dcterms.issued
@alanorth
alanorth / PKGBUILD
Created Jan 20, 2019
Arch Linux PKGBUILD for tuned 2.10.0 using Python 2.
View PKGBUILD
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
# Contributor: Iwan Timmer <irtimmer@gmail.com>
# Contributor: Timothée Ravier <tim at siosm dot fr>
# Contributor: Tom <reztho at archlinux dot org>
pkgname=tuned
pkgver=2.10.0
pkgrel=1
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
arch=('any')
@alanorth
alanorth / add-dc-rights.py
Last active Nov 5, 2018
Add usage rights (dc.rights) to items from CSV.
View add-dc-rights.py
#!/usr/bin/env python
#
# add-dc-rights.py 1.1.1
#
# Copyright 2018 Alan Orth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@alanorth
alanorth / PKGBUILD
Created Nov 2, 2018
Updated PKGBUILD for python36 version 3.6.7
View PKGBUILD
pkgname=python36
pkgver=3.6.7
pkgrel=1
_pybasever=3.6
_pymajver=3
pkgdesc="Major release 3.6 of the Python high-level programming language"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.python.org/"
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
@alanorth
alanorth / web01.sh
Created Oct 18, 2018
Script to launch QEMU in user mode
View web01.sh
#!/usr/bin/env bash
#
# See: https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html
# See: https://wiki.archlinux.org/index.php/QEMU
#
# Host preparation (as root):
#
# ip link add br0 type bridge
# ip addr add 172.20.0.1/16 dev br0
# ip link set br0 up
@alanorth
alanorth / PKGBUILD
Created Oct 15, 2018
A test PKGBUILD for dput 1.0.2
View PKGBUILD
# Maintainer: Jan Dolinar <dolik.rce@gmail.com>
# Contributor: Andre Klitzing <andre () incubo () de>
pkgname=dput
pkgver=1.0.2
pkgrel=1
pkgdesc="Debian package upload tool"
arch=('any')
url="http://packages.qa.debian.org/dput"
license=('GPL')
depends=('gnupg')
@alanorth
alanorth / PKGBUILD
Created Oct 8, 2018
Arch Linux PKGBUILD for libpod 0.9.3.1
View PKGBUILD
# Maintainer: xstaticxgpx (optimum.reflex<at>gmail<dot>com)
pkgname=libpod
pkgver=0.9.3.1
pkgrel=1
provides=('podman')
replaces=('podman')
pkgdesc="Utility for running OCI-based containers."
arch=('x86_64')
url="https://github.com/containers/libpod"
@alanorth
alanorth / open-refine.txt
Created Aug 20, 2018
Open Refine custom text facet to detect weird Unicode characters that usually indicate some encoding error. This allows you to find the characters and fix them manually.
View open-refine.txt
or(
isNotNull(value.match(/.*\uFFFD.*/)),
isNotNull(value.match(/.*\u00A0.*/)),
isNotNull(value.match(/.*\u200A.*/)),
isNotNull(value.match(/.*\u2019.*/)),
isNotNull(value.match(/.*\u00b4.*/))
)
You can’t perform that action at this time.