Skip to content

Instantly share code, notes, and snippets.

View pwhelan's full-sized avatar

Phillip Whelan pwhelan

View GitHub Profile
@pwhelan
pwhelan / nginx.conf
Created October 14, 2021 15:59
Fluent Bit Nginx Exporter Metrics instructions
server {
listen 80;
listen [::]:80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /status {
stub_status;
# cloud config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG8X2VlbiNMCcesk12bI9drHPgKg9K38K2hUG0TX1fNP3nWmbFzxYbnQZRryIUYOXlIVR2NIRR/CCJEbArwo6BOX9MpTHFSZuFPvLOq3zqLGxMsmGPjTeT3C3hXaEia7YRFLZey7q3P3c58BHWh07qge4Eg3k0xWjIT7uNzfzDq7PyAAOp7Eme5Kb7Sj13xXzSrdx6IfZu6VtHRCi0qQ6iYjLO4vKyC07iYrxM+tv0l6K8YmPMFfU+OL/Sq7CQnEGBmXRrrH/iDlqTvkq5oDchDZuJJcQfgulMKq7Guo3JjgRErrsKdWEVp1da27ED8ggXsSQNp7MaxU59OVN88viL
@pwhelan
pwhelan / Dockerfile
Created April 23, 2020 20:26
Dockerfile for compiling z/OS GCC cross compiler
# https://blog.the-leviathan.ch/?p=1344
FROM ubuntu:18.04
RUN apt-get -y update && \
apt-get install -y git build-essential flex bison texinfo rsync
RUN git clone -b v5.3.12 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
RUN cd linux && \
make ARCH=s390 config && \
05 00 <- alpha identifier
06 07
91 65 69 14 00 10 f5
0b 60
51 <-
TP-MTI: 01
TP-RD: 00
TP-VPF: 10
TP-SRR: 00
01. 0:00:00 Terranoise - Shifting Patterns
02. 0:05:26 Sick Noise vs Inner Coma - Amino Acid
03. 0:09:42 KinDzaDza - BilaNebuba
04. 0:14:22 Paralocks - Tactical Error
05. 0:19:00 Mergel - Morning Delirium
06. 0:24:20 Organoise - Inside-Out-R-Space
07. 0:44:34 Damaru Records - Breakdown 167 bpm
08. 0:50:26 Audiopathik - Mind-Meld
09. 0:53:50 Furious - Mutant 25 (Mimic Vat Remix) 172
10. 1:00:24 Mr Hades - Orchestra
We couldn’t find that file to show.
[playlist]
X-GNOME-Title=Full Moon - RAINBOWS!
NumberOfEntries=15
File1=Music/Psytrance/2014/Metta - In Love - 2014 - FLAC/07 - Metta & Glosolalia - Rainbow Reconnection.flac
Title1=Rainbow Reconnection
File2=Music/Psytrance/2013/VA - Twisted Mind - 2013 - FLAC/07 - Sick Noise vs Inner Coma - Amino Acid.flac
Title2=Amino Acid
File3=Music/Psytrance/2013/VA - Contaminated Entities - 2013 - FLAC/09 - Antagon - Atmosphere.flac
Title3=Atmosphere
File4=Music/Psytrance/2013/VA - Twisted Mind - 2013 - FLAC/11 - Loose Connection vs Sick Noise - Pulsar.flac
@pwhelan
pwhelan / .htaccess
Created March 3, 2014 10:28
HTaccess File
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
@pwhelan
pwhelan / alluvium.conf
Last active August 29, 2015 13:56
Apache config for eman
<VirtualHost *:80>
ServerName alluvium.dev
ServerAdmin psikmike@yahoo.com
DocumentRoot /home/psikmike/Code/eman/public
DirectoryIndex index.php
SetEnv APPLICATION_ENV "development"
@pwhelan
pwhelan / gist:8776916
Created February 2, 2014 23:54
Make asynchronous calls synchronous in PHP 5.5 with generators!
We couldn’t find that file to show.