Skip to content

Instantly share code, notes, and snippets.

Avatar

Christian Heilmann codepo8

View GitHub Profile
View OCV snippet.js
document.body.addEventListener('click', e=>{
let t = e.target;
if(t.classList.contains('row')){
let p = t.parentElement.parentElement.parentElement;
let s = t.parentElement.parentElement;
s.style.background = 'yellow';
let elm = [...t.querySelectorAll('.display-text')];
elm = elm.filter(x=>x.innerText=='Edge\\Developer Tools');
if(elm[0]){
elm[0].parentElement.nextElementSibling.nextElementSibling.click();
View flight facts.md

Fact #01 - Sky Babies

Apart from a crash, the worst nightmare of every flight attendant is childbirth on board. Although extremely rare, nearly 60 babies were born in the sky!

https://www.cntraveller.in/story/explained-happens-baby-born-airplane/

Fact #02 - A long flight

The longest commercial flight you can book is a flight from Singapore to New York that lasts 18 hours 50 minutes... better get comfortable!

@codepo8
codepo8 / codeeurope2022.md
Last active Jun 2, 2022
Resources for the talk "Increasing developer effectivity by merging browser tooling and editors" at CodeEurope 2022
View bettertogether.md

Resources for "The better together story of Edge DevTools"

We'd love you to help us to spread the message of this idea, so if you need anything (screencasts, videos, help to write blog posts), feel free to contact Chris Heilmann.

This talk/presentation

Materials to watch/read/send to people

@codepo8
codepo8 / 7devsecrets.md
Last active Nov 16, 2021
Resources for the "7 Developer Tools secrets that shouldn't be secrets" talks
View 7devsecrets.md
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 12, 2022
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