Skip to content

Instantly share code, notes, and snippets.

@IJMacD
IJMacD / Dockerfile
Created June 7, 2023 07:03
Docker version of vnstat-php-frontend
FROM php:8.2.6-apache
WORKDIR /src
RUN apt-get update && apt-get install wget unzip vnstat -y && \
wget https://github.com/Baton34/vnstat-php-frontend/archive/refs/heads/master.zip && \
unzip master.zip && \
cp -r vnstat-php-frontend-master/* /var/www/html
COPY config.php /var/www/html
VOLUME [ "/var/lib/vnstat" ]
@IJMacD
IJMacD / fatal-flight.xml
Last active August 7, 2017 12:20
Fatal Flight: The True Story of Britain's Last Great Airship by Bill Hammack
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
<channel>
<title>Fatal Flight</title>
<description>The True Story of Britain's Last Great Airship</description>
<link>http://engineerguy.com/airship/</link>
<language>en-us</language>
<copyright>Copyright 2017</copyright>
@IJMacD
IJMacD / dscovr.ps1
Last active March 9, 2021 23:20 — forked from MichaelPote/himawari.ps1
Windows Powershell Script to download the latest image from the DSCOVR satellite then set as the desktop background.
#
# DSCOVR:EPIC Downloader
#
#
#
# This script will scrape the latest image from the DSCOVR satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\DSCOVR\ and then set as the desktop background.
#
# http://epic.gsfc.nasa.gov/
#
@IJMacD
IJMacD / gist:8935525
Created February 11, 2014 14:11
LaTeX test

x^2 + c_D

@IJMacD
IJMacD / dabblet.css
Created November 12, 2013 15:30
Flexible Google-style progress indicator
/**
* Flexible Google-style progress indicator
*/
@keyframes progress {
50% { border-width: .5em 0; }
to { border-width: .5em 0 0 0; }
}
@keyframes rotate {
@IJMacD
IJMacD / dabblet.html
Created August 20, 2012 14:02
Untitled
<!-- content to be placed inside <body>…</body> -->
@IJMacD
IJMacD / dabblet.html
Created June 28, 2012 12:52
Untitled
<!-- content to be placed inside <body>…</body> -->
@IJMacD
IJMacD / dabblet.html
Created June 27, 2012 16:22
Untitled
<p>Hello, is it me you're looking for?