$ aws configure --profile=myaws1
次回以降、ターミナルログインのたびに以下のコマンドを実行すれば、そのプロファイルが使用される
上級者向けコンテンツ
https://fedibird.com/@kimura03/103261444392071749 https://raspidon.mamemo.online/@mamemomonga/103261451824891362 https://raspidon.mamemo.online/@mamemomonga/103261468775845279 https://raspidon.mamemo.online/@mamemomonga/103283998990411640 https://oransns.com/@nacika/103284018097578035 https://raspidon.mamemo.online/@mamemomonga/103284026325794334
$ sudo apt install xrdp
$ sudo sh -c 'cat > /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf' << 'EOS'
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.color-manager.create-device" ||
action.id == "org.freedesktop.color-manager.create-profile" ||
action.id == "org.freedesktop.color-manager.delete-device" ||
action.id == "org.freedesktop.color-manager.delete-profile" ||
action.id == "org.freedesktop.color-manager.modify-device" ||
ArduinoチームがつくってるCLIのArduino
$ cd
$ mkdir bin
| apt install jq | |
| bash << 'EOS' | |
| GH_USERNAME=mamemomonga | |
| curl -s "https://api.github.com/users/$GH_USERNAME/keys" | jq -r '.[]|.key+" '$GH_USERNAME'@github/"+(.id|tostring)' | |
| EOS |
| #!/bin/bash | |
| set -eu | |
| # デフォルトのパスワードが作成され ~/passwords.txt で保存されます。 | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "please run as root" | |
| exit 1 | |
| fi |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| my @d=qw(リ ン ソ); | |
| my $d; | |
| sub c { $d.=$d[int(rand($#d))] } | |
| foreach(1..20) { | |
| $d.="マ"; | |
| foreach(0..2) { c } |
| #!/bin/bash | |
| set -eu | |
| RESULT="$(pbpaste | perl -E 'my $url=<>; chomp; $url=~m#(/dp/[^/]+)(?:\?|/)#; say "https://amazon.co.jp$1"')" | |
| echo "$RESULT" | |
| echo "$RESULT" | pbcopy |