普段はLinux(Arch Linux + i3)を使っているsheeplaが、Windowsでいい感じの環境を作るためにもがいた記録です。 「キーボード操作ですべてを完結させたい」「お気に入りのフォント・キーバインドを設定して生活したい」といったこだわりを捨てられない人におすすめです。 逆に、「安定した環境を使いたい」「Windowsのデフォルトの設定を壊したくない」「細々としたカスタマイズに時間を掛けたくない」人や商用のリッチなソフトウェアを多用する人にはあまり役に立たないかもしれません。
- Console / Cloud Shell access (via https://cloud.oracle.com)
- Go to the instance page and under Resources -> Console connection -> Launch Cloud Shell connection
- In Ubuntu OR any other Free tier Linux OS
# Download Alpine Linux and install it on disk
cd /
wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-virt-3.16.2-x86_64.iso
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
#!/bin/sh | |
echo -e "貴方は領主様から通常の講習を受けたはずですわ。 | |
これは通常、以下の3点に要約されますの: | |
#1) 市民の皆様のプライバシーを尊重すること。 | |
#2) タイプする前に考えること。 | |
#3) そしてノブレス・オブリージュを肝に銘じておくことですわ。 | |
" | |
exec sudo "${@}" |
We have Server machine, this computer with Headphones, and we have Client computer, this is remote PC with music =) On Server we should first open port for listening connections from Client :
# on ubuntu
sudo ufw allow from <Client_IP> to any port 4656 proto tcp
# on fedora ( with firewalld )
sudo firewall-ctl --add-port 4656/tcp
note: port 4656 just for sample. you can use any port you want
than on Server, from current user add listening for connections
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
[09/23/2023] | |
Refs: | |
1. http://mirror.cs.pitt.edu/archlinux/iso/2023.09.01/archlinux-bootstrap-2023.09.01-x86_64.tar.gz | |
2. https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-virt-3.18.0-x86_64.iso | |
3. https://wiki.alpinelinux.org/wiki/Replacing_non-Alpine_Linux_with_Alpine_remotely | |
4. https://wiki.archlinux.org/index.php/installation_guide#Configure_the_system | |
See also: | |
1. Convert to Debian https://gist.github.com/zengxinhui/ee0ad6b7c7f99e2ead6cd0d2bd6641fd |
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
#!/bin/sh | |
echo 'NOTE: You can now install cloudflared directly from Termux repos.' | |
echo 'NOTE: To install it from source instead, open the script and comment out the next two lines.' | |
pkg install cloudflared | |
exit | |
# ^ comment out these lines to proceed with the script | |
echo "--upgrading packages" | |
yes "" | pkg update |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/signal" | |
"syscall" | |
"time" | |
) |
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
/** | |
* Noto Sans CJK JP: https://www.google.com/get/noto/#sans-jpan | |
* Noto Sans JP: https://fonts.google.com/earlyaccess#Noto+Sans+JP | |
*/ | |
@font-face { | |
font-family: 'Noto Sans JP'; | |
font-style: normal; | |
font-weight: 100; | |
src: local("Noto Sans CJK JP"), | |
url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Thin.woff2) format('woff2'), |
NewerOlder