Skip to content

Commit

Permalink
20231120
Browse files Browse the repository at this point in the history
  • Loading branch information
aircjm committed Nov 18, 2023
1 parent 2a698ca commit e53b0ee
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
37 changes: 37 additions & 0 deletions source/_posts/2023/Mac 下完全删除java环境.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: Mac 下完全删除java环境
date: 2023-03-02 16:04:21
createDate: [[2023-03-02]]
updateAt: 2023-03-02 16:04:21
publish: true
draft: true
cards-deck: Default
tags: #Java #mac
---

tags: #Java #mac

公司发的mac上面已经有java环境了,但是环境是有问题的,需要完全卸载掉。

```bash
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin


sudo rm -rf /System/Library/Frameworks/JavaVM.framework
sudo rm -rf /usr/bin/java
sudo rm -rf /usr/bin/javac
sudo rm -rf /usr/bin/javadoc
sudo rm -rf /usr/bin/javah
sudo rm -rf /usr/bin/javap
sudo rm -rf /usr/bin/javaws
sudo rm -rf /var/db/receipts/com.oracle.jdk8u291.bom
sudo rm -rf /var/db/receipts/com.oracle.jdk8u291.plist
sudo rm -rf /var/db/receipts/com.oracle.jre.bom
sudo rm -rf /var/db/receipts/com.oracle.jre.plist
sudo rm -rf /var/root/Library/Preferences/com.oracle.javadeployment.plist
sudo rm -rf ~/Library/Preferences/com.oracle.java.JavaAppletPlugin.plist
sudo rm -rf ~/Library/Preferences/com.oracle.javadeployment.plist
sudo rm -rf ~/.oracle_jre_usage
```
有的可能出现无权限删除 这个不要紧,重启下就可以看到完全删除了。
28 changes: 28 additions & 0 deletions source/_posts/2023/foam使用指南.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: foam使用指南
date: 2023-06-13 23:30:29
createDate: [[2023-06-13]]
updateAt: 2023-06-13 23:30:29
publish: false
draft: true
cards-deck: Default
---

# foam 使用指南

开发使用 vscode 可以省事很多,毕竟用的人真的很多,而且现在 vscode 中的 foam 使用也很方便,公司对于软件有要求,遂从[[Obsidian]]迁移到了[[foam使用指南]]中。

## install

从官方插件库中进行安装,为了获得更好的使用体验,还需要添加一系列的插件。

1. markdown image
2. paste image
3. Markdown Checkbox https://marketplace.visualstudio.com/items?itemName=PKief.markdown-checkbox
4. TODO Highlight https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight

## 使用中的问题

@ref: https://zhuanlan.zhihu.com/p/178536985
@ref: https://github.com/Jackiexiao/10-minutes-to-foam
官方库链接 https://foambubble.github.io/foam/

0 comments on commit e53b0ee

Please sign in to comment.