= 2010-10-29 = [[PageOutline]] == 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 }}} {{{ #!graphviz digraph "brew-dep" { rankdir=LR; node [shape=record]; "fontconfig"->"mplayer"; "freetype"->"fontconfig"; "freetype"->"libcaca"; "freetype"->"mplayer"; "gettext"->"git"; "gettext"->"libidn2"; "gettext"->"wget"; "giflib"->"libcaca"; "giflib"->"mplayer"; "icu4c"->"node"; "imlib2"->"libcaca"; "imlib2"->"mplayer"; "jpeg"->"libcaca"; "jpeg"->"mplayer"; "libcaca"->"mplayer"; "libevent"->"tmux"; "libidn2"->"wget"; "libpng"->"fontconfig"; "libpng"->"freetype"; "libpng"->"libcaca"; "libpng"->"mplayer"; "libtiff"->"libcaca"; "libtiff"->"mplayer"; "libunistring"->"libidn2"; "libunistring"->"wget"; "ncurses"->"htop"; "ncurses"->"tmux"; "oniguruma"->"jq"; "openssl@1.1"->"libevent"; "openssl@1.1"->"nmap"; "openssl@1.1"->"tmux"; "openssl@1.1"->"wget"; "pcre2"->"git"; "protobuf"->"mosh"; "readline"->"sqlite"; "readline"->"tig"; "bash-completion"; "coreutils"; "dos2unix"; "gettext"; "icu4c"; "libpng"; "libunistring"; "lsusb"; "mtr"; "ncurses"; "oniguruma"; "openssl"; "openssl@1.1"; "p7zip"; "pcre2"; "pidof"; "protobuf"; "readline"; "sbt"; "scala"; "tree"; "unrar"; "youtube-dl"; } }}} == 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 }}}