| 🗨️ Have a question? Join Chat! | 🇯🇵 Learn Japanese | 📚 Resources | ❓ FAQ |
|---|
| $ErrorActionPreference = 'SilentlyContinue' | |
| $fs = 'fileserver' | |
| $drive = @{ | |
| 'Personal' = '\\{0}\{1}' -f $fs, $env:USERNAME | |
| 'Training' = '\\{0}\Training' -f $fs | |
| 'Transfer' = '\\{0}\Transfer' -f $fs | |
| } | |
| New-PSDrive -Name 'P' -PSProvider FileSystem -Root $drive.Personal -Description 'Personal Files' -Persist | |
| New-PSDrive -Name 'T' -PSProvider FileSystem -Root $drive.Training -Description 'Training Files' -Persist |
Reference https://stackoverflow.com/a/34407620/13287790
$ printf %s 'encode this'|jq -sRr @uri
encode%20this
$ jq -rn --arg x 'encode this' '$x|@uri'
encode%20this
# -r (--raw-output) outputs the raw contents of strings instead of JSON string literals. -n (--null-input) doesn't read input from STDIN.| esp=/efi | |
| distro=archlinux | |
| mkdir -p $esp/EFI/$distro | |
| # Generate UEFI Unified Image | |
| dracut --force --verbose --kver $(uname -r) $esp/EFI/$distro/linux+initramfs.efi.signed | |
| # Create UEFI boot manager entry | |
| efibootmgr --quiet --create --disk /dev/disk/by-label/EFI --label 'Arch Linux' --loader /EFI/$distro/linux+initramfs.efi.signed |
| <# | |
| .SYNOPSIS | |
| Test-Unattend.ps1 | |
| .DESCRIPTION | |
| Test-Unattend.ps1 | |
| .NOTES | |
| For additonal information please contact david.wallis@transunion.co.uk |
| # Maintainer: oliver < a t > first . in-berlin . de | |
| # Contributor: charlesthehawk at yahoo dot com | |
| # Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> | |
| pkgname=ocaml-sqlite3 | |
| _pkgname=sqlite3-ocaml | |
| pkgver=4.4.0 | |
| pkgrel=2 | |
| pkgdesc="SQLite3 bindings for OCaml" | |
| arch=('i686' 'x86_64') |
relates to moby/moby#32507, moby/buildkit#442
Doing some silly experimenting with RUN --mount:
# syntax=docker/dockerfile:1
FROM alpine AS stage1| // code courtesy of Toby team | |
| chrome.storage.local.get("state", o => ( | |
| ((f, t) => { | |
| let e = document.createElement("a"); | |
| e.setAttribute("href", `data:text/plain;charset=utf-8,${encodeURIComponent(t)}`); | |
| e.setAttribute("download", f); | |
| e.click(); | |
| })(`TobyBackup${Date.now()}.json`, o.state) | |
| )); |
Warning: this document has to be updated by pointing to https://github.com/SpenceKonde/ATTinyCore
This note describes the configuration of an ATtiny85 based microcontroller development board named Digispark and similar to the Arduino line. It is available in many online marketplaces for roughly 1 dollar (e.g., Ebay, Amazon, AliExpress) and is shipped fully assembled, including a V-USB interface (a software-only implementation of a low-speed USB device for Atmel's AVR microcontrollers). Coding is similar to Arduino: it uses the familiar Arduino IDE and is already provided with a ready-to-use bootloader (
| -- betterchapters.lua | |
| -- seeks forward until a black screen appears. | |
| -- default keybinding: b | |
| -- Keybind names: skip_scene | |
| script_name = mp.get_script_name() | |
| detect_label = string.format("%s-detect", script_name) | |
| detecting = false | |
| threshold = 0.9 | |
| detection_span = 0.05 | |
| negation = false |