Skip to content

Instantly share code, notes, and snippets.

View lbeckman314's full-sized avatar
🌻
:(){ :|:& };:

Liam Beckman lbeckman314

🌻
:(){ :|:& };:
View GitHub Profile
{
"basics": {
"name": "Liam Beckman",
"label": "A self-driven developer with a passion for crafting software and solutions that work for people.",
"email": "liam@liambeckman.com",
"url": "https://liambeckman.com/code",
"summary": "A self-driven developer with a passion for crafting software and solutions that work for people."
},
"work": [
{
example
# Generated with protoc-gen-openapi
# https://github.com/google/gnostic/tree/master/cmd/protoc-gen-openapi
openapi: 3.0.3
info:
title: "GRIP API"
version: 0.7.1
paths:
/v1/driver:
get:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 17.0.6-amzn
git clone https://github.com/nextflow-io/nextflow -b tes-update-1.1
cd nextflow
make install
export NXF_MODE=ga4gh
export NXF_EXECUTOR=tes
{
"DocumentReference.yaml": {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"category": "data_file",
"description": " A reference to a document.\n \n A reference to a document of any kind for any purpose. Provides metadata\n about the document so that the document can be discovered and managed. The\n scope of a document is any seralized object with a mime-type, so includes\n formal patient centric documents (CDA), cliical notes, scanned paper, and\n non-patient specific documents like policy text.\n ",
"id": "DocumentReference",
"links": [
{
"backref": "DocumentReferences",
@lbeckman314
lbeckman314 / highlight_pmc.user.js
Last active October 30, 2019 16:28 — forked from cannin/highlight_pmc.user.js
Highlight PMC Text
// ==UserScript==
// @name Highlight PMC
// @namespace http://tampermonkey.net/
// @version 0.1
// @description TBA
// @author cannin
// @require https://cdn.jsdelivr.net/mark.js/8.6.0/mark.min.js
// @grant GM.getValue
// @grant GM.setValue
// @include http*://www.ncbi.nlm.nih.gov/pmc/articles/*
import junit.framework.TestCase;
//You can use this as a skeleton for your 3 different test approach
//It is an optional to use this file, you can generate your own test file(s) to test the target function!
// Again, it is up to you to use this file or not!
public class UrlValidatorTest extends TestCase {
var x = tabler()
document.getElementById("string-table").innerHTML = x;
function tabler() {
var myString = `
Did you ever hear the tragedy of Darth
Plagueis The Wise? I thought not. It’s not a story the
Jedi would tell you. It’s a Sith legend. Darth Plagueis
was a Dark Lord of the Sith, so powerful and so wise he
could use the Force to influence the midichlorians to
@lbeckman314
lbeckman314 / xbps-install
Last active April 15, 2018 21:01
wrapper for xbps-install that waits untill previous xbps-install command is done. Derived from apt wrapper by Radu Rădeanu (https://askubuntu.com/a/375031). Now supports many additional xbps-install processes via a queue implementation. Demo here: https://asciinema.org/a/zOW3ddDpApwvcWxn68OkE1hdP
#!/bin/bash
# wrapper for xbps-install that waits untill previous xbps-install command is done.
# adapted from script by Radu Rădeanu
# https://askubuntu.com/questions/132059/how-to-make-a-package-manager-wait-if-another-instance-of-apt-is-running
# this script may do many evil things! read it before installing it.
# save script as /usr/local/sbin/xbps-install
# chmod u+x /usr/local/sbin/xbps-install
# if instead you want this to be a wrapper for xbps-remove, then
# sed -i -e 's/-install/-remove/gc' /usr/local/sbin/xbps-remove
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf806c938
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 235225087 235018240 112.1G 7 HPFS/NTFS/exFAT