Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = new PaymentRequest([{ | |
supportedMethods: "secure-payment-confirmation", | |
data: { | |
// List of credential IDs obtained from the bank. | |
credentialIds, | |
rpId: "fancybank.com", | |
// The challenge is also obtained from the bank. | |
challenge: new Uint8Array([21,31,105 /* 29 more random bytes generated by the bank */]), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const publicKey = { | |
// The challenge should be created by the bank server and sent to the iframe. | |
challenge: new Uint8Array([21,31,105 /* 29 more random bytes generated by the server */]), | |
// Relying Party: | |
rp: { | |
name: "Fancy Bank", | |
}, | |
// User: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6462 testRunner.dumpAsText | |
3249 testRunner.waitUntilDone | |
3224 testRunner.notifyDone | |
2098 testRunner.log | |
2011 eventSender.mouseMoveTo | |
1730 eventSender.keyDown | |
1297 eventSender.mouseUp | |
1294 eventSender.mouseDown | |
644 internals.isPreloaded | |
556 testRunner.completeTest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rr record ./out/Default/content_shell http://www.google.com | |
rr: Saving execution to trace directory `/usr/local/google/home/smcgruer/.local/share/rr/content_shell-17'. | |
shared memfd open() failed: Function not implemented | |
DevTools listening on ws://127.0.0.1:46311/devtools/browser/03f83acf-51dc-42e4-84c9-5c90586075eb | |
[70439:70439:0328/111826.606496:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateNewContext. | |
[70439:70439:0328/111826.608135:ERROR:gpu_info_collector.cc(64)] gl::init::CreateGLContext failed | |
[70439:70439:0328/111826.608963:ERROR:gpu_info_collector.cc(187)] Could not create context for info collection. | |
[70439:70439:0328/111826.609822:ERROR:gpu_init.cc(62)] gpu::CollectGraphicsInfo failed. | |
[70439:70439:0328/111826.687492:WARNING:x11_util.cc(1422)] X error received: serial 183, error_code 2 (BadValue (integer parameter out of range for operation)), request_code 154, minor_code 24 (X_GLXCreateNewContext) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rr record ./out/Default/content_shell --single-process http://www.google.com | |
rr: Saving execution to trace directory `/usr/local/google/home/smcgruer/.local/share/rr/content_shell-16'. | |
shared memfd open() failed: Function not implemented | |
DevTools listening on ws://127.0.0.1:46379/devtools/browser/35b61d5d-3479-4947-85c3-65e8a0082d86 | |
[69544:69689:0328/111616.396185:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateNewContext. | |
[69544:69689:0328/111616.399948:ERROR:gpu_info_collector.cc(64)] gl::init::CreateGLContext failed | |
[69544:69689:0328/111616.400724:ERROR:gpu_info_collector.cc(187)] Could not create context for info collection. | |
[69544:69689:0328/111620.497418:ERROR:gl_context_glx.cc(177)] Failed to create GL context with glXCreateContextAttribsARB. | |
[69544:69689:0328/111620.497754:ERROR:gpu_info_collector.cc(64)] gl::init::CreateGLContext failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.scroller { | |
overflow: auto; | |
height: 100px; | |
width: 100px; | |
} | |
.rightToLeft { | |
direction: rtl; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Must be run with --js-flags="--expose-gc" --> | |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Test for Blink Reference Cycle crash</title> | |
<style> | |
.animate { | |
height: 100px; | |
width: 100px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Node(id : Int) { | |
var edges = List[Edge]() | |
def addEdge(other : Node, weight : Int) = { | |
val edge = new Edge(this, other, weight) | |
edges = edge :: edges | |
edge | |
} | |
override def toString() = id.toString |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This shell script sets up a symlink to tmp for google chrome's | |
# cache, if one doesnt already exist. Useful due to the size of | |
# chrome's cache. | |
# One downside is that you will end up with a different cache | |
# on each computer you use - but this isn't a massive problem tbh. | |
ACTUAL=/tmp/$USER/cache/google-chrome |
NewerOlder