Skip to content

Instantly share code, notes, and snippets.

Avatar

Christian Heilmann codepo8

View GitHub Profile
View jokes.js
const e = [
'10 PRINT "BBC Developer Portal"
20 GOTO 10',
"THE HITCHHIKER'S GUIDE TO THE GALAXY
Infocom interactive fiction - a science fiction story
Copyright (c) 1984 by Infocom, Inc. All rights reserved.
Release 59 / Serial number 851108
You wake up. The room is spinning very gently round your head. Or at least it would be if you could see it which you can't.
It is pitch black.
>turn on lights
View triadgallery.js
let shown = false;
let currentindex = 0;
let bigdisp = document.createElement('div');
document.body.appendChild(bigdisp);
let sources = [...document.querySelectorAll('img')].map(i => i.src)
let all = sources.length;
bigdisp.style.zIndex = 10;
bigdisp.style.position = 'fixed';
bigdisp.style.right = '20px';
bigdisp.style.left = '20px';
@codepo8
codepo8 / transmission-resouces.md
Last active Jul 13, 2021
Resources of the Transmission64 "Cheating like a pro" presentation
View transmission-resouces.md
View Better JavaScript tooling for a changed world.md

Get the Slides of the presentation on noti.st

  • Emulation tools in Developer Tools allow you to simulate different mobile devices and network states (offline, bad connectivity and so on...)
  • Playwright is a npm package to remotely and headlessly test Chromium, WebKit and Gecko at the same time.
  • Edge Developer Tools for VS Code is an extension that embeds the developer tools inside Visual Studio code, making sure you don't need to switch contexts.
  • The issues pane in Browser Developer Tools doesn't only display problems sorted by category, but also gives context and "learn more" links.
  • A quick survey to tell us what you think about the things shown here and h
@codepo8
codepo8 / back-to-basics-talk.md
Last active Oct 30, 2020
Resources of Chris Heilmann's talk at Halfstack Online 2
View back-to-basics-talk.md

Back to basics resources

  • A long Twitter thread about how strange Facebook's HTML is with lots of arguments about generating HTML vs. readability of source code and performance
  • Playwright is a Node.js module that allows you to remotely drive Chromium, Firefox and Webkit browsers. Great for automated testing.

My pet project: CSDB Preview Bookmarklet

@codepo8
codepo8 / back-to-basics-talk.md
Created Oct 23, 2020
Resources of Chris Heilmann's talk at Halfstack Online 2
View back-to-basics-talk.md

Back to basics resources

@codepo8
codepo8 / DevToolsIgnite2020.md
Last active Aug 21, 2020 — forked from erdraud/DevToolsIgnite2020.md
This gist contains all the links and the slides that we can share from the Developer Tools talk for Ignite 2020
View DevToolsIgnite2020.md