junkyard.one
icon selection
| Icon | Source | Keywords |
|---|---|---|
https://iconic.s3.amazonaws.com/coding.svg |
code, coding, script, program |
| #!/usr/bin/env bash | |
| # helper function for constructing escape sequences | |
| # this does NOT include the CSI character by default. | |
| # for that, see the [`csi`] function below this. | |
| function esc() { | |
| local -r escape="\x1b" | |
| local -a args=() | |
| local delim=";" prefix="" suffix="" code="" |
| Icon | Source | Keywords |
|---|---|---|
https://iconic.s3.amazonaws.com/coding.svg |
code, coding, script, program |
| /** | |
| * Setup custom localStorage instance. | |
| * If we can't find localStorage, use a Map to use as a 'sessionStorage' clone. | |
| * @returns {Storage} | |
| */ | |
| function setup () { | |
| var storage = localStorage | |
| ? localStorage | |
| : window.localStorage | |
| ? window.localStorage |
| #!/bin/bash | |
| function hex() { | |
| printf "%02X%02X%02X" ${*//','/' '} | |
| } | |
| [ $(basename -- $0) == "hex" ] && [ $# -gt 0 ] && echo $(hex "${*}") |
Svelte.dev: Tutorial • Docs • Examples • REPL • SvelteSociety
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| <?xml version="1.0" encoding="utf-8"?> | |
| <unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
| <settings pass="oobeSystem"> | |
| <component name="Microsoft-Windows-International-Core" processorArchitecture="arm64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <InputLocale>0409:00000409</InputLocale> | |
| <SystemLocale>en</SystemLocale> | |
| <UILanguage>en-US</UILanguage> | |
| <UILanguageFallback>en-US</UILanguageFallback> | |
| <UserLocale>en</UserLocale> | |
| </component> |
| /** | |
| * Cheerio Wrapper HTMLRewriter.ts | |
| * | |
| * Usage of cheerio here only simulates stream-oriented parser! It is slow! | |
| * This typescript port hasn't been tested, and probably doesn't work. | |
| */ | |
| import cheerio from 'cheerio' |