https://www.gravatar.com/avatar/5f48da38e786436afece6f2e46196202?s=240&d=mp

Linux Shell

iCloud 空间 跨区家庭共享成功

背景 因为众所周知的原因,我主要使用美区。 上周在 色魔张大妈上看到有人 跨区共享 icloud 成功,我自己尝试多次,各种不成功,都是提示 区域问题 今天因为看到 v

Limit the maximum number of Goroutine and Using channel communication Demo

今天学习了一下 GoLang 协程和及其通信,写了一下 Demo package main import ( "fmt" "strconv" "sync" "time" ) // Maximum goroutine const goSize = 5 // Producer Producer type Producer struct { Item string } // Result result struct type Result struct { Code int Stdout string } // RunJob job func RunJob(item string) (result Result) { result.Code

Mac 使用中的各种问题

记录一下 在我使用Mac过程中遇到的问题及其解决方案。 1、LaunchPad 删除 App 出现问题的情况处理: defaults write com.apple.dock ResetLaunchPad -bool true;killall Dock ```注意:此命令会将你安

Mac 终端高亮

Mac 下的终端居然没有高亮。 先看最终效果: 将以下代码拷贝到 ~/.bash_profile 中: #enables colorin the terminal bash shell export export CLICOLOR=1 #sets up thecolor scheme for list export export LSCOLORS=gxfxcxdxbxegedabagacad #sets up theprompt color (currently a green similar to linux terminal) export PS1='[033[01;32m]u@h[033[00m]:[033[01;36m]w[033[00m]$ ' #enables colorfor iTerm export TERM=xterm-color ```