openpgp4fpr:9AB58E301FE8EB6FB1BAB11C1FB723A707042D07
View Handyumzug.md
Handyumzug
Diese Beschreibung wurde nur für zwei Samsung-Handys getestet.
Wichtig: Nichts installieren oder konfigurieren ohne Aufforderung. Die SIM-Karte und die SD-Karte verbleiben im alten Handy, bis der passende Schritt weiter unten erreicht ist.
Annahme: Fotos wurden direkt auf der SD-Karte gespeichert. Fotos im Handyspeicher werden aber übernommen.
Annahme: Kontakte befinden sich nicht im Handyspeicher. Vermutlich funktioniert die Übernahme, wurde aber nicht getestet.
View ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ansible-playbook="docker container run -it --rm --mount type=bind,source=$(pwd),target=/$(basename $(pwd)) --workdir /$(basename $(pwd)) nicholasdille/ansible" | |
alias ansible-vault="docker container run -it --rm --mount type=bind,source=$(pwd),target=/$(basename $(pwd)) --workdir /$(basename $(pwd)) --entrypoint ansible-vault nicholasdille/ansible" | |
alias ansible-galaxy="docker container run -it --rm --mount type=bind,source=$(pwd),target=/$(basename $(pwd)) --workdir /$(basename $(pwd)) --entrypoint ansible-galaxy nicholasdille/ansible" |
View cloudflare.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_zone_id() { | |
local email=$1 | |
local token=$2 | |
local domain=$3 | |
curl -sLfH "X-Auth-Email: ${email}" -H "X-Auth-Key: ${token}" https://api.cloudflare.com/client/v4/zones | jq --raw-output ".result[] | select(.name == \"${domain}\") | .id" | |
} | |
get_zone_records() { | |
local email=$1 |
View docker-distribution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
docker_cli_plugin_metadata() { | |
local vendor="nicholasdille" | |
local version="v0.0.1" | |
local url="https://dille.name" | |
local description="Interact with a Docker registry" | |
cat <<-EOF | |
{"SchemaVersion":"0.1.0","Vendor":"${vendor}","Version":"${version}","ShortDescription":"${description}","URL":"${url}"} | |
EOF |
View gist:6db050ee2eb9aea656b991136f993b82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1AYDdmU7yydyKtNe6MuhmPEXmvjJaEBeAa https://explorer.blockstack.org/address/1AYDdmU7yydyKtNe6MuhmPEXmvjJaEBeAa |
View blockstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1AYDdmU7yydyKtNe6MuhmPEXmvjJaEBeAa https://explorer.blockstack.org/address/1AYDdmU7yydyKtNe6MuhmPEXmvjJaEBeAa |
View Reconnect.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$SessionOption = New-PSSessionOption -OutputBufferingMode Drop -IdleTimeout (60*60*2*1000) | |
Invoke-Command -ComputerName Server2 -SessionOption $SessionOption -InDisconnectedSession -Name MySession | |
Get-Session | |
$MySession = Get-Session -ComputerName Server2 | |
Enter-PSSession -Session $MySession |
View Test-ShouldProcess.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function New-Something {} | |
Function Test-ShouldProcess { | |
[CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')] | |
Param( | |
[Parameter()] | |
[switch] | |
$Force | |
) |
View onename.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "nicholasdille.id" is my Blockstack ID. https://onename.com/nicholasdille |
NewerOlder