Skip to content

Instantly share code, notes, and snippets.

Eric Gideon egid

Block or report user

Report or block egid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View free -m && cat proc cpuinfo
pi@raspberrypi ~/stratux $ free -m
total used free shared buffers cached
Mem: 927 510 416 0 19 432
-/+ buffers/cache: 58 868
Swap: 99 0 99
pi@raspberrypi ~/stratux $ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
View logs_stratux-uat.log
This file has been truncated, but you can view the full file.
START,Fri Sep 11 10:05:13 +0000 UTC 2015
START,Fri Sep 11 10:05:13 +0000 UTC 2015
START,Fri Sep 11 10:05:13 +0000 UTC 2015
View ello.css
/* Stylish rules for URLs on the domain
* author @egid
/* get rid of whatever that awful monospace is */
* {
font-family: 'Helvetica Neue', Arial, sans-serif;
/* reset their shitty reset */
View middleman-premailer-config.rb
require 'premailer'
# Helpers
# Integrated Premailer from
# Premailer API:
module PreMailer
class << self
egid / less-mq-ie.less
Last active Dec 18, 2015
variation of designed to duplicate the content of a media query for IE8
View less-mq-ie.less
Usage: the caller must have .content declared in its scope!
.mobile() {
@media all and (min-width: 480px) {
.ie-lt-ie9 &{
egid / gist:5464041
Created Apr 25, 2013
Using flexbox to set up a collapsible field that can grow with available space.
View gist:5464041
* {
padding: 0;
line-height: 1em;
font-size: 16px;
.parent {
max-width: 100%;
background: #eee;
egid / KEXP-now-playing.js
Created Apr 10, 2013
Just a proof of concept to see if I could semi-quickly check to see what the current KEXP track was. The plan is to dig into how Alfred extensions work and see if I can make use of this. It currently can only parse the contents of [the mini playlist](
View KEXP-now-playing.js
var getLiveTrack = function() {
// inefficiently get contents of first playlist element
var live = JSON.parse(document.getElementById('PlaylistItems').children[0].getAttribute('data-playlistitem').toString())
// inefficiently output results
if (live.ArtistName && live.TrackName) {
console.log(live.ArtistName + ' - ' + live.TrackName);
} else if (live.ArtistName) {
console.log(live.ArtistName + ' - unknown track');
} else if (live.TrackName) {
egid / progressive-template.html
Last active Dec 28, 2019
Forking the toggled progressive disclosure template found at the Campaign Monitor 2-column layout (originally at
View progressive-template.html
Progressive Disclosure Demo - Updated 15 August, 2012 by Ros
Thank you for taking a look under the hood of our progressive disclosure demo. Please note that this is a work in progress, so it's a tad messy and bound to change.
If you have any questions, feel free to pop a line to - we might learn something, too!
Known bugs
You can’t perform that action at this time.