This file contains 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
<html> | |
<head> | |
<title>We need a way to wrap console.log and preserve the file and line number</title> | |
<script> | |
function customLog() { | |
var processedArguments = arguments; | |
// Do something with the arguments besides logging them, maybe format them or store them | |
// ... | |
// Send the output to Developer Tools |
This file contains 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
Verifying my Blockstack ID is secured with the address 1KfdWMJuVKdLB2eCLXNxnkmU1TmdzC9rfM https://explorer.blockstack.org/address/1KfdWMJuVKdLB2eCLXNxnkmU1TmdzC9rfM |
This file contains 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
var view = new View(); | |
view.width = 1024; | |
view.height = 768; | |
view.render(); |
This file contains 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 OrderIdentifierGenerator { | |
static characters = '234567CDFGHJKLMNPQRTVWXYZ'; | |
// Generate a new identifier | |
static generate() { | |
const partialIdentifier = OrderIdentifierGenerator.generatePartialIdentifier(); | |
let identifier = ( | |
partialIdentifier.slice(0, 3) + |
OlderNewer