Skip to content

Instantly share code, notes, and snippets.

View jakelogemann's full-sized avatar

Jake Logemann jakelogemann

  • Remote
  • 10:02 (UTC -04:00)
View GitHub Profile
@jakelogemann
jakelogemann / Dockerfile
Created January 15, 2024 16:55 — forked from adtac/Dockerfile
#!/usr/bin/env docker run
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
# syntax = docker/dockerfile:1.4.0
FROM node:20
WORKDIR /root
RUN npm install sqlite3

Keybase proof

I hereby claim:

  • I am jakelogemann on github.
  • I am biopandemic (https://keybase.io/biopandemic) on keybase.
  • I have a public key ASDes-20E_Sqf3xaD0MxOJGW0MANYAHYP5-OovTB5amoYQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am JakeLogemann on github.
  • I am biopandemic (https://keybase.io/biopandemic) on keybase.
  • I have a public key whose fingerprint is 35B0 9A2F 5D7A 213F 9A82 1C26 3CC2 71FA 9CB8 ADAA

To claim this, I am signing this object:

#!/bin/bash
# The setleds command allows you to set the keyboard leds. In this example, set NumLock on:
setleds -D +num
# To turn it off NumLock, enter:
setleds -D -num
# clear the screen
tput clear
@jakelogemann
jakelogemann / check-port-conns
Created June 9, 2014 21:30
Check Connections To Port
#!/bin/bash
# Lists connections on a given port, defaults to 80
PORT=${1:-80}
clear
while x=0; do
clear;
echo "Connections to $HOSTNAME:$PORT"
echo "[Updated: $(date)]";
echo "==============================";