每日壁纸: 南极丹科岛附近的巴布亚企鹅
-
壁纸喵
- 来源: Bing
- 2021/01/20
- 27
一次导入太多主题了,试了又用不上,想删了界面只提供单个删除。
还好装Xcode了,可以open ~/Library/Preferences/com.googlecode.iterm2.plist
用Xcode打开,定位到Custom Color Presets下面的主题名称上,长按住删除键即可很快删完。
const animals = [
{sort: 'dog'},
{sort: 'cat'},
{sort: 'tiger'}
]
to get a random one animal:
let animal = animals[Math.floor(Math.random() * animals.length)];