Skip to content

Instantly share code, notes, and snippets.

View leachim6's full-sized avatar

Mike Donaghy leachim6

View GitHub Profile
@leachim6
leachim6 / web-servers.md
Created February 26, 2023 09:04 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@leachim6
leachim6 / esp8266-basis.ino
Created April 9, 2019 13:34 — forked from mhelff/esp8266-basis.ino
Basic Arduino sketch for ESP8266 including WifiManager and OTA update
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ArduinoOTA.h>
#include <WiFiManager.h>
void setup() {
Serial.begin(115200);
Serial.println("Booting");
WiFiManager wifiManager;
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
# Customized by: Mike Donaghy
# Last Modified: 12/19/2017 9:04:01 AM
#
# Install boxstarter:
#Set Set-ExecutionPolicy RemoteSigned
#. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
@leachim6
leachim6 / boxstarter.ps1
Last active December 19, 2017 17:21 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
# Customized by: Mike Donaghy
# Last Modified: 12/19/2017 9:04:01 AM
#
# Install boxstarter:
#Set Set-ExecutionPolicy RemoteSigned
#. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
@leachim6
leachim6 / virt-install-centos
Created March 15, 2017 15:47 — forked from giovtorres/virt-install-centos
Install CentOS cloud images on KVM using cloud-init
#!/bin/bash
## **Updates to this file are now at https://github.com/giovtorres/virt-install-centos **
# Take one argument from the commandline: VM name
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
docker create \
--name=plex \
--net=host \
-e VERSION=latest \
-e PUID=990 -e PGID=998 \
-v /mnt/data/docker/plex/config:/config \
-v /mnt/data/Video/TV:/data/tvshows \
-v /mnt/data/Video/Movies:/data/movies \
-v /mnt/data/docker/plex/transcode:/transcode \
linuxserver/plex

Keybase proof

I hereby claim:

  • I am leachim6 on github.
  • I am leachim6 (https://keybase.io/leachim6) on keybase.
  • I have a public key whose fingerprint is 1369 B4E0 967D 3FDC 3019 0294 31AC 9601 176C 3B26

To claim this, I am signing this object:

/private/tmp/libzzip-MS8k/zziplib-0.13.62/uses/missing: line 54: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
/private/tmp/libzzip-trx3/zziplib-0.13.62/uses/missing: line 54: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.in'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /usr/local/lib/libz.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols: