linux

micron crucial ssd sudo StorageExecutiveClient.run

boot into uefi bios systemctl reboot —firmware-setup

unzip japanese filename unzip -Ocp932 filename.zip

[[Me.Areas.Linux.Start]]

https://gist.github.com/dingfanATyykj/0c1f766ac0841dd17d14d2072b8e4815

ubuntu 20 wired unmanaged

try

code /etc/NetworkManager/NetworkManager.conf
# NetworkManager.conf
[main]
plugins=ifupdown,keyfile
 
[ifupdown]
managed=true
 
[keyfile]
unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:wwan,except:type:ethernet,except:type:vlan
 
[device]
wifi.scan-rand-mac-address=no
 
sudo systemctl restart network-manager

https://superuser.com/a/1632034

if not working, try

https://askubuntu.com/a/1265396

[[Me.Resources.Linux.Command]]

share clipboard

https://twitter.com/yetone/status/1544291987490484224?s=20&t=1FHSKt6x7C1uUEMzw4j1NQ

ssh x11forwarding

gnome

disable tracker to make it faster

https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html

dotfiles

dotfiles

Manage your dotfiles with Ansible https://medium.com/espinola-designs/manage-your-dotfiles-with-ansible-6dbedd5532bb

https://github.com/geerlingguy/ansible-role-dotfiles

https://github.com/elnappo/dotfiles

https://thebroken.link/managing-dotfiles-with-ansible/

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#selecting-an-ansible-package-and-version-to-install

https://phelipetls.github.io/posts/introduction-to-ansible/

General-purpose dotfiles utilities https://dotfiles.github.io/utilities/

A curated list of dotfiles resources. https://github.com/webpro/awesome-dotfiles

ansible

https://github.com/ansible/ansible

use ansible to manage dotfiles

on ubuntu, don’t use pip to install ansible, because it will cause error while using sudo just use sudo apt install ansible

also install ansible-lint for vscode extension

sudo apt install ansible-lint

while using ansible-pull with github ssh url

sudo ansible-pull --accept-host-key --private-key path/to/your_private_key -U [email protected]:Ding-Fan/ansible_config.git

—accept-host-key only needed when first tile

sudo ansible-pull --private-key ~/.ssh/id_ed25519 -U [email protected]:Ding-Fan/ansible_config.git

Do not shoot this.