-
Open html file with broswer
-
Open console, paste following code snippet
let base64png;
fetch('https://html2canvas.hertzen.com/dist/html2canvas.min.js')
.then(response => response.text())
.then(text => eval(text))Open html file with broswer
Open console, paste following code snippet
let base64png;
fetch('https://html2canvas.hertzen.com/dist/html2canvas.min.js')
.then(response => response.text())
.then(text => eval(text))| // disable on these sites | |
| const sites = [ | |
| /en.key-test.ru/, | |
| /github.com/, | |
| /hey.com/, | |
| /mail.protonmail.com/, | |
| /monkeytype.com/, | |
| /ssh.cloud.google.com/, | |
| /tetr.io/, | |
| /twitter.com/, |
GitHub REST API does have an api to get all the tags of a repo, and does have an api to get the latest release of a repo, but does not have one to get the latest tag π
π Use https://shields.io as the API!
jonz94@jonzWin11WS:~$ uname --help
Usage: uname [OPTION]...
Print certain system information. With no OPTION, same as -s.
-a, --all print all information, in the following order,
except omit -p and -i if unknown:
-s, --kernel-name print the kernel name
-n, --nodename print the network node hostname
-r, --kernel-release print the kernel release
| #!/bin/sh | |
| set -e | |
| # available styles: "fixed", "fixed-slab", "mono", "mono-slab", "term", "term-slab", "gothic", "ui" | |
| style="mono" | |
| # available orthographies: "cl", "hc", "j", "k", "sc", "tc" | |
| orthography="tc" |
| <# | |
| .SYNOPSIS | |
| Updates manifests and pushes them or creates pull-requests. | |
| .DESCRIPTION | |
| Updates manifests and pushes them directly to the master branch or creates pull-requests for upstream. | |
| .PARAMETER Upstream | |
| Upstream repository with the target branch. | |
| Must be in format '<user>/<repo>:<branch>' | |
| .PARAMETER App | |
| Manifest name to search. |
| import { PDFDocument } from 'pdf-lib'; | |
| async mergeMultiplgePdf(base64Pdfs: string[]): Promise<File> { | |
| const pdfDoc = await PDFDocument.create(); | |
| for (base64Pdf of base64Pdfs) { | |
| const url = `data:application/pdf;base64,${base64Pdf}`; | |
| const donorPdfBytes = await fetch(url).then((res) => res.arrayBuffer()); | |
| const donorPdfDoc = await PDFDocument.load(donorPdfBytes); |
| $historyPath = (Get-PSReadLineOption).HistorySavePath | |
| $directory = (Get-Item $historyPath).DirectoryName | |
| $basename = (Get-Item $historyPath).Basename | |
| $extension = (Get-Item $historyPath).Extension | |
| $timestamp = (Get-Date).ToString("yyyy-MM-ddTHH-mm-ssZ") | |
| $backupPath = "$directory\$basename-$timestamp-backup$extension" | |
| Copy-Item $historyPath $backupPath |
| import { Device } from '@capacitor/device'; | |
| import { isPlatform } from '@ionic/angular'; | |
| const hasDynamicIsland = async () => { | |
| if (!isPlatform('iphone')) { | |
| return false; | |
| } | |
| const { model: identifier } = await Device.getInfo(); |