mirror of
https://github.com/lemeow125/Notes.git
synced 2025-02-22 14:08:08 +08:00
Compare commits
No commits in common. "71ede7ecbf7d4661025ce26d12a69c309b5c42e4" and "41f318fa0abd5c8d5bd7de1765a9d4080069a893" have entirely different histories.
71ede7ecbf
...
41f318fa0a
3 changed files with 6 additions and 44 deletions
|
@ -1,36 +0,0 @@
|
||||||
WSL Fix for world-writable directories
|
|
||||||
```bash
|
|
||||||
export ANSIBLE_CONFIG=./ansible.cfg
|
|
||||||
```
|
|
||||||
Ping
|
|
||||||
```bash
|
|
||||||
ansible all -m ping
|
|
||||||
```
|
|
||||||
Gather facts
|
|
||||||
```bash
|
|
||||||
ansible all -m gather_facts
|
|
||||||
|
|
||||||
# Limit to one device
|
|
||||||
ansible all -m gather_facts --limit ADDRESS
|
|
||||||
```
|
|
||||||
Elevate command to root user
|
|
||||||
```bash
|
|
||||||
# This will fail without sudo
|
|
||||||
ansible all -m apt -a update_cache=true
|
|
||||||
|
|
||||||
# This will succeed
|
|
||||||
# Equivalent to sudo apt-update
|
|
||||||
ansible all -m apt -a update_cache=true --become --ask-become-me-pass
|
|
||||||
```
|
|
||||||
Install packages
|
|
||||||
```bash
|
|
||||||
ansible all -m apt -a name=vim --become --ask-become-pass
|
|
||||||
```
|
|
||||||
Install/Update Package (multiple arguments)
|
|
||||||
```bash
|
|
||||||
ansible all -m apt -a "name=vim state=latest" --become --ask-become-pass
|
|
||||||
```
|
|
||||||
`sudo apt update` equivalent
|
|
||||||
```bash
|
|
||||||
ansible all -m apt -a "name=apt state=latest" --become --ask-become-pass
|
|
||||||
```
|
|
|
@ -1,12 +1,10 @@
|
||||||
### Browser Extensions
|
### Browser Extensions
|
||||||
- [https://github.com/Dj0ulo/OptiSearch](https://github.com/Dj0ulo/OptiSearch)
|
- [https://github.com/Dj0ulo/OptiSearch](https://github.com/Dj0ulo/OptiSearch)
|
||||||
### VSCode
|
### VSCode
|
||||||
#### Custom VSCode Theme
|
- Custom VSCode Theme
|
||||||
- [Fluent-UI-VSCode](https://marketplace.visualstudio.com/items?itemName=leandro-rodrigues.fluent-ui-vscode)
|
- https://marketplace.visualstudio.com/items?itemName=leandro-rodrigues.fluent-ui-vscode
|
||||||
- [VSCode Vibrancy Continued](https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued)
|
- [https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued](https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued)
|
||||||
- Terminal tab may be broken. You can fix it by following the GitHub issue [here](https://github.com/TheOld/vscode-fluent-ui/issues/53)
|
- Terminal tab may be broken. You can fix it by following this below
|
||||||
Edit `workbench.html` file at `Microsoft VS Code\resources\app\out\vs\code\electron-sandbox\workbench`
|
[https://github.com/TheOld/vscode-fluent-ui/issues/53](https://github.com/TheOld/vscode-fluent-ui/issues/53)
|
||||||
#### [JSON Crack](https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode)
|
- Edit `workbench.html` file at `Microsoft VS Code\resources\app\out\vs\code\electron-sandbox\workbench`
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 931 KiB |
Loading…
Reference in a new issue