Skip to content

Instantly share code, notes, and snippets.

View ecoleman's full-sized avatar

Eric Coleman ecoleman

View GitHub Profile
@ecoleman
ecoleman / darkModeHandler.ts
Created May 5, 2020 22:41 — forked from hteumeuleu/darkModeHandler.ts
Outlook.com darkModeHandler
import ContentHandler from '../schema/ContentHandler';
import { transformElementForDarkMode, AlteredElement } from 'owa-dark-mode-utilities';
import {
ATTR_COLOR,
ATTR_BGCOLOR,
DATA_OG_STYLE_COLOR,
DATA_OG_ATTR_COLOR,
DATA_OG_STYLE_BACKGROUNDCOLOR,
DATA_OG_ATTR_BGCOLOR,
} from 'owa-content-colors';
Apr 4 04:43:57 primeevil kernel: audit: type=1702 audit(1455292390.665:11): op=linkat ppid=27003 pid=27007 auid=4294967295 uid=1004 gid=1000 euid=1004 suid=1004 fsuid=1004 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm="git" exe="/usr/bin/git" res=0
Apr 4 04:43:57 primeevil kernel: audit: type=1302 audit(1455292390.665:12): item=0 name="/srv/blank/projects/blankcms_com/app/files/source-cache/sandbox/.git/objects/pack/pack-6d44d632a872e6fa13445814ff48f327aa3107c5.pack" inode=2436251 dev=ca:00 mode=0100444 ouid=1001 ogid=1000 rdev=00:00 nametype=NORMAL
Apr 4 04:44:00 primeevil kernel: php[27010]: segfault at b3ba9b10 ip b3ba9b10 sp bfbc59cc error 14 in librt-2.18.so[b4a24000+7000]
Feb 12 15:53:14 primeevil systemd-coredump[27014]: Process 27010 (php) dumped core.
@ecoleman
ecoleman / Makefile
Last active August 29, 2015 14:18 — forked from isaacs/Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@ecoleman
ecoleman / gist:6168121
Last active December 20, 2015 17:19 — forked from anonymous/gist:6168097
window.accountSigner = function() {
$('.addSigner .addSignerBtn').each(function() {
var next_btn = $('#nextBtn');
$(this).click(function() {
var parent = $(this).parents('.addItem');
parent.addClass('close').hide();
parent.next('article').show();
#!/usr/bin/env php
<?php
/**
* Usage:
* pdepend --jdepend-xml=/tmp/jdepend.xml /path/to/source
*
* ./dependencies.php /tmp/jdepend.xml -o /tmp/jdepend.svg
*/
class Dependencies
{