Skip to content

Instantly share code, notes, and snippets.

Jeremy Wagner malchata

Block or report user

Report or block malchata

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
malchata / atom-stylesheet.less
Created Jul 14, 2017
Mein Stylesheetensteinenhausenflichendochen
View atom-stylesheet.less
* Your Stylesheet
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
View Median, Average, and p90th Image Request Size from HTTP Archive
* Obtained from the HTTP Archive's BigQuery dataset.
* Dataset table name: httparchive.summary_requests.2018_04_15_desktop
* BigQuery guide:
"type": "image",
"format": "jpg",
"Requests": "9153030",
malchata / measure-image-decode.js
Last active Aug 19, 2018
A super Jerry-rigged way of getting image decode times from traces captured using Puppeteer
View measure-image-decode.js
// This is Node script that uses Puppeteer (headless Chrome) to measure the decode time
// of a single image injected into a blank HTML document. It uses minimist to take command
// line arguments. Example usage: node measure-image-decode.js
// This example assumes you're running a local server to grab the blank document.
// Thanks to Paul Irish and Tim Kadlec for their input!
const puppeteer = require("puppeteer");
const argv = require("minimist")(process.argv.slice(2));
async function getDecode(url) {
malchata / styles.less
Created Apr 7, 2019
Just transferring over my atom styles to another machine the hard way.
View styles.less
atom-workspace {
--editor-font-size: 1.625rem;
atom-text-editor {
.cursor {
border-left: .25rem solid;
transition: opacity .1875s ease-out;
You can’t perform that action at this time.