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
// ==UserScript== | |
// @name Websocket debugger | |
// @namespace thomas-rosenau.de | |
// @version 1 | |
// @grant none | |
// @include * | |
// @run-at document-start | |
// ==/UserScript== | |
((main) => { |
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, body { | |
color: white; | |
background: #2581c4; | |
font-family: sans-serif; | |
} | |
body { | |
animation: fadeIn linear backwards .5s 1.5s; | |
} | |
svg { | |
position: fixed; |
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
<filetype binary="false" description="PowerShell" name="PowerShell"> | |
<highlighting> | |
<options> | |
<option name="LINE_COMMENT" value="#" /> | |
<option name="COMMENT_START" value="<#" /> | |
<option name="COMMENT_END" value="#>" /> | |
<option name="HEX_PREFIX" value="" /> | |
<option name="NUM_POSTFIXES" value="" /> | |
<option name="HAS_BRACES" value="true" /> | |
<option name="HAS_BRACKETS" value="true" /> |
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
'use strict'; | |
var esprima = require('esprima'); | |
var esmangle = require('esmangle'); | |
var escodegen = require('escodegen'); | |
module.exports = code => { | |
let ast = esprima.parse(code); | |
let optimized = esmangle.optimize(ast, null); | |
optimized = ast; |
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
GIMP Palette | |
Name: Material Design | |
Columns: 14 | |
# | |
239 235 233 brown 50 | |
215 204 200 brown 100 | |
188 170 164 brown 200 | |
161 136 127 brown 300 | |
141 110 99 brown 400 | |
121 85 72 brown 500 |
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
javascript: void (function { | |
var guid = 'anchor_detector'; | |
// save scroll pos | |
var hash = location.hash.replace(/^#/, ''); | |
var yTop = null; | |
if (/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(hash)) { | |
var focusedElement = document.querySelector(`#${hash}, [name="${hash}"]`); | |
if (focusedElement) { |
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
javascript: void (function (main) { | |
var script = document.createElement('script'); | |
script.onload = main; | |
script.src = 'https://davidshimjs.github.io/qrcodejs/qrcode.min.js'; | |
document.head.appendChild(script).parentNode.removeChild(script); | |
})(function () { | |
var size = 400; | |
var qr = new QRCode(document.body, { | |
text: location.href, | |
width: size, |
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
# help for “get-help” cmdlet and “foo.ps1 -?” call, cf. https://technet.microsoft.com/en-us/library/dd819489.aspx | |
<# | |
.SYNOPSIS | |
A brief description of the function or script. This keyword can be used | |
only once in each topic. | |
.DESCRIPTION | |
A detailed description of the function or script. This keyword can be | |
used only once in each topic. |
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
// ==UserScript== | |
// @name %name% | |
// @namespace %namespace% | |
// @description %description% | |
// @include %include% | |
// @exclude %exclude% | |
// @version 1 | |
// @noframes | |
// @grant none | |
// @run-at document-end |