Skip to content

Instantly share code, notes, and snippets.

Avatar

Phillip Whelan pwhelan

View GitHub Profile
View cloud-config.yml
# cloud config
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDG8X2VlbiNMCcesk12bI9drHPgKg9K38K2hUG0TX1fNP3nWmbFzxYbnQZRryIUYOXlIVR2NIRR/CCJEbArwo6BOX9MpTHFSZuFPvLOq3zqLGxMsmGPjTeT3C3hXaEia7YRFLZey7q3P3c58BHWh07qge4Eg3k0xWjIT7uNzfzDq7PyAAOp7Eme5Kb7Sj13xXzSrdx6IfZu6VtHRCi0qQ6iYjLO4vKyC07iYrxM+tv0l6K8YmPMFfU+OL/Sq7CQnEGBmXRrrH/iDlqTvkq5oDchDZuJJcQfgulMKq7Guo3JjgRErrsKdWEVp1da27ED8ggXsSQNp7MaxU59OVN88viL
@pwhelan
pwhelan / Dockerfile
Created Apr 23, 2020
Dockerfile for compiling z/OS GCC cross compiler
View Dockerfile
# 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 && \
View WEIRD-SMS.txt
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
View gist:1ea4e55d6d3dd4c80125
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.
View Full Moon - RAINBOWS!.pls
[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
View .htaccess
<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 Aug 29, 2015
Apache config for eman
View alluvium.conf
<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 Feb 2, 2014
Make asynchronous calls synchronous in PHP 5.5 with generators!
We couldn’t find that file to show.
@pwhelan
pwhelan / proxyapp.rb
Created Jul 5, 2012
ProxyApp for connecting Pow to PHP
View proxyapp.rb
require 'net/http'
class ProxyApp
def call(env)
begin
request = Rack::Request.new(env)
headers = {}
env.each do |key, value|
if key =~ /^http_(.*)/i
headers[$1] = value