Create a new bookmark in your browser, then copy/paste the minified code below into the URL field.
Use Bookmarklet Maker to minify and URI encode the bookmarklet.
Create a new bookmark in your browser, then copy/paste the minified code below into the URL field.
Use Bookmarklet Maker to minify and URI encode the bookmarklet.
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| #!/bin/bash | |
| # Clone/pull every repo you have access to in a github org into a directory. | |
| # Source: https://gist.github.com/drichardson/4f1e831e0feece632ef4cb179955864c | |
| set -euo pipefail | |
| # Max repos to checkout. | |
| LIMIT=500 | |
| usage() { |
| #pragma once | |
| #include "CoreMinimal.h" | |
| #include "Engine/World.h" | |
| #include "EngineUtils.h" | |
| DECLARE_LOG_CATEGORY_EXTERN(LogWorldSingleton, Log, All); | |
| /* |
| #pragma once | |
| #include "CoreMinimal.h" | |
| #include "Engine/World.h" | |
| #include "EngineUtils.h" | |
| /* | |
| * TWorldSingleton is a weak pointer to a actor in a level, which is only a | |
| * singleton by convention of only one actor of that type being in a UWorld. |
| #!/bin/sh | |
| # Is pycodestyle is installed? | |
| which pycodestyle &> /dev/null | |
| if [[ $? -ne 0 ]]; then | |
| cat <<-EOF | |
| pre-commit hook failed. pycodestyle is not installed. | |
| Run the following and try your commit again: | |
| pip install pycodestyle |
| #!/usr/bin/python3 | |
| import json | |
| import sys | |
| import urllib.request | |
| import os | |
| scriptname=os.path.basename(__file__) | |
| usage=f'''Missing username. |
| <# | |
| .SYNOPSIS | |
| Outputs to a UTF-8-encoded file *without a BOM* (byte-order mark). | |
| .DESCRIPTION | |
| Mimics the most important aspects of Out-File: | |
| * Input objects are sent to Out-String first. | |
| * -Append allows you to append to an existing file, -NoClobber prevents | |
| overwriting of an existing file. | |
| * -Width allows you to specify the line width for the text representations |
| function reset { | |
| Set-Buffer-Width-To-Screen-Width | |
| Clear-Host | |
| } | |
| function Set-Buffer-Width-To-Screen-Width { | |
| $h = Get-Host | |
| $ui = $h.UI.RawUI | |
| $bufferSize = $ui.BufferSize | |
| $windowSize = $ui.WindowSize |