2019-10-29
Python
- 需求:怎麼產生 pip package 的相依關係圖呢?
- 解法:https://pypi.org/project/pipdeptree/
- 安裝:
#sh ~$ sudo pip install pipdeptree
- 產生相依圖:
#bash ~$ sudo pip install graphviz ~$ pipdeptree --graph-output dot
homebrew
~$ brew tap caskroom/fonts caskroom/versions homebrew/cask homebrew/core jlhonora/lsusb
~$ brew list bash-completion icu4c mosh openssl@1.1 sqlite coreutils jq mplayer p7zip tig dos2unix libcaca mtr pcre2 tmux fontconfig libevent ncurses pidof tree freetype libidn2 nmap protobuf unrar gettext libpng node readline wget git libunistring oniguruma sbt youtube-dl htop lsusb openssl scala
~$ brew cask list cleanmymac flash-npapi skype visual-studio-code docker font-dejavu-sans slack zoomus evernote messenger spectacle zulu8 firefox pomotodo tableau-public
Mac OS
- 問題:收到警告,硬碟空間快滿了,可是佔最多的是 System?
- 參考:
- https://support.apple.com/zh-tw/HT206996
- https://www.imore.com/how-reclaim-disk-space-system-macos-high-sierra
- Purging local backups
#sh ~$ tmutil listlocalsnapshotdates ~$ tmutil deletelocalsnapshots <snapshot_date>
- Purging local backups
- https://macpaw.com/how-to/startup-disk-full-on-mac-os-x
- 使用 CleanMyMac 來找出佔用硬碟空間的主因
#sh ~$ bew cask install cleanmymac
- 使用 Gemini 2 來找出重複的檔案
- 使用 CleanMyMac 來找出佔用硬碟空間的主因
Last modified 7 months ago
Last modified on May 8, 2024, 7:56:40 AM