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
| ":" /*prettier-ignore*/ //#;exec /usr/bin/env node --input-type=module - "$@" < "$0" | |
| import process from "process"; | |
| const { argv } = process; | |
| console.log(argv); |
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
| "app".foo(); // Fail. The method `foo` doesn't exist | |
| require('commonjs_mod'); // Modifies the String native | |
| "app".foo(); // no Fail. The method `foo` was added |
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
| <!DOCTYPE html> | |
| <meta charset="UTF-8"> | |
| <style> | |
| html{background:#333} | |
| </style> | |
| <!-- <script src="lib/monkey keycodes.js"></script> --> | |
| <script> |
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
| #lulz { | |
| width:480px; | |
| height:480px; | |
| border-collapse:collapse; | |
| } | |
| #lulz td { | |
| border: 2px solid black; | |
| } | |
| #lulz td.chosen { | |
| border-color: red; |
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
| html,body{font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;} | |
| *{margin:0;padding:0;} | |
| body{padding:2ex;} | |
| hr{margin:2ex 0;} | |
| html,body,input,td,th{font-size:100%;} | |
| div{border:4px solid #AEFFE6;background:#66FFCC;} | |
| p {border:2px solid #66FFCC;background:#ffc;color:#cc0;} |
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
| //html{width:320px} |
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
| // ActiveTable - a bookmarklet to make tables sortable and editable | |
| function init() { | |
| var aHrows = getHrows(); | |
| var numHrows = aHrows.length; | |
| var aHidden = getHiddenColumns(); | |
| ATpopup = document.createElement("div"); | |
| ATpopup.style.cssText = "position: absolute; visibility: hidden; padding: 0; font-family: Arial; background-color: rgba(255, 255, 255, 0.9); border-radius: .5em; text-align: center; box-shadow: .05em .05em .5em #00C;"; | |
| ATpopup.innerHTML = "<a href='sort' title='sort' onclick='sortColumn(); return false'><img border=0 src='http://stevesouders.com/images/sort_up_down.png' style='padding-top: 0.2em;'></a><br><a href='hide' style='color: #C00; font-family: monospace; font-size: 1.5em; text-decoration: none;' title='hide' onclick='hideColumn(); return false'>x</a>"; // TODO - use protocol-less URL for img |
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
| <!doctype html> | |
| <meta charset=utf-8> | |
| <title></title> | |
| <style>html{font-family:Helvetica Neue,Helvetica,sans-serif;}</style> | |
| <div id=RenderTarget> | |
| <h1>Loading…</h1> | |
| </div> | |
| <script type="text/babel"> |
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
| <element name="comment-form" constructor="CommentForm"> | |
| <template> | |
| <form class="commentForm" onSubmit={this.handleSubmit}> | |
| <input type="text" placeholder="Your name" ref="author" /> | |
| <input | |
| type="text" | |
| placeholder="Say something..." | |
| ref="text" | |
| /> |
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
| var regexp = LSD.RegExp({ | |
| 'fn_tail': '\\.', | |
| 'fn_arguments': '\\g<inside_round>', | |
| 'fn_name': '\\g<unicode>', | |
| 'fn': '\\g<fn_tail>?\\g<fn_name>\\(\\g<fn_arguments>\\)', | |
| 'block_arguments': '\\g<inside_curly>', | |
| 'block_body': '\\g<inside_curly>', | |
| 'block': '\\{\\g<block_arguments>?\\g<block_body>\\}', | |
NewerOlder