Inspired by:
See Also:
| #!/bin/bash | |
| set -euxo pipefail | |
| { | |
| for path in "/system" "/data" "/cache" "/sdcard"; do | |
| dst="$path/xxx-wipe" | |
| echo "Fill $dst" | |
| dd if=/dev/urandom of="$dst" bs=1048576 conv=sync || true | |
| cat /dev/urandom > "$dst.1" || true | |
| sync |
Inspired by:
See Also:
| #!/bin/bash | |
| set -euo pipefail | |
| # Redirect everything to stdout and logfile | |
| exec > >(tee -a erase_tape.log) 2>&1 | |
| # {{ ansible_managed }} | |
| TAPE="{{ tape_backup__tape_drive }}" | |
| if [[ ! -c "${TAPE}" ]]; then |
| FROM mcr.microsoft.com/windows/servercore:ltsc2022 | |
| SHELL ["powershell", "-NoProfile", "-Command", "$ErrorActionPreference='Stop'; $ProgressPreference='SilentlyContinue'; $VerbosePreference='Continue'; "] | |
| RUN $hash = 'a6058d7c4c16bfa5bcd6fde051a92de8c68535fd7ebade55fc0ab1c41be3c8d5' \ | |
| ; Invoke-WebRequest -OutFile 'git_setup.exe' 'https://github.com/git-for-windows/git/releases/download/v2.43.0.windows.1/Git-2.43.0-64-bit.exe' \ | |
| ; if (Compare-Object $hash $(Get-FileHash 'git_setup.exe').Hash) { Write-Error 'CHECKSUM VERIFICATION FAILED!' -ErrorAction Stop } \ | |
| ; Start-Process -Wait 'git_setup.exe' -ArgumentList '/verysilent' \ | |
| ; Remove-Item -Force 'git_setup.exe' |
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory=$true)][string]$CommandLine = '' | |
| ) | |
| $ErrorActionPreference = 'Stop' | |
| # lifted from https://stackoverflow.com/questions/16686122/calling-createprocess-from-powershell | |
| Add-Type -TypeDefinition @" | |
| using System; |
| #!/bin/bash | |
| set -euf -o pipefail | |
| recipients=( | |
| 'root' | |
| ) | |
| journal_filter=( | |
| --priority 4 | |
| --since -1d |
| // ==UserScript== | |
| // @name Duplicate Kleinanzeigen Post | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Bietet eine "Anzeige duplizieren" Funktion beim Bearbeiten einer vorhandenen Anzeige in eBay Kleinanzeigen. | |
| // @license CC0 | |
| // @match https://www.ebay-kleinanzeigen.de/p-anzeige-bearbeiten.html?adId=* | |
| // @grant none | |
| // ==/UserScript== |
| FROM python:3.6-slim | |
| RUN apt-get update && apt-get install --no-install-recommends -y \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| curl | |
| RUN extractor='extractor_2.h5' \ | |
| && extractor_sha256='cdda15f239331b9535d80a94b4d75889ccb3b61d7b030c921bd2bfd7862b0adc' \ | |
| && extractor_path='/usr/local/lib/python3.6/site-packages/fawkes/model' \ |
| FROM golang:1.16-alpine as builder-linux | |
| RUN apk add \ | |
| vips-dev \ | |
| gcc \ | |
| musl-dev | |
| RUN mkdir /go/pkg \ | |
| && mkdir /tmp/go-cache \ | |
| && chmod ugo=rwX /go/pkg /tmp/go-cache |
| // ==UserScript== | |
| // @name Unblock Instagram scroll lock | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @author You | |
| // @match https://www.instagram.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |