junkyard.one icon selection
Icon | Source | Keywords |
---|---|---|
https://iconic.s3.amazonaws.com/coding.svg |
code, coding, script, program |
#!/usr/bin/env bash | |
function main () { | |
# show the usage page if no args are given, or if passed any derivation of "-h" "--help" "-?" etc | |
if [ $# -eq 0 ] || [[ "$1" =~ ^[-]{0,2}(h(elp)?|[?])$ ]]; then | |
local bold undl ital dark reset | |
bold=$(printf '\033[1m') | |
dark=$(printf '\033[2m') | |
ital=$(printf '\033[3m') | |
undl=$(printf '\033[4m') |
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' |