因为增强了GateKeeper的安全性,所以该选项被隐藏。 目的在于避免除Mac AppStore和正规签名外的未知或未签名App在系统内被任意执行,从而威胁用户隐私和系统安全。 但这也导致很多不是从AppStore中下载的软件或破解版的软件将无法使用, 这也造成了很多不便。 在macOS Sierra系统中GateKeeper 默认是打开的, 所以我们只需关掉GateKeeper即可看到任何来源的选项了。
1.打开应用程序->实用工具->终端 2.在终端中输入命令 sudo spctl --master-disable 3.敲回车, 然后验证口令后即可(电脑密码, 注意:输入密码时屏幕上不会有任何显示,实际已经输入,输入完后敲回车即可)。 4.要关闭的话输入 sudo spctl --master-enable
如果你不想打开这个全局设置, 你也可以针对某个应用开启选项
同上操作,输入命令时换成以下命令 1 sudo xattr -rd com.apple.quarantine /Applications/应用.app 注意 “应用.app” 换成你需要解锁的app, 例如QQ的安装路径是 /Applications/QQ.app 1 sudo xattr -rd com.apple.quarantine /Applications/QQ.app
管理员
/admin
创建物品
/spawnitem 物品ID 888
去除地图迷雾
/fullbright
金条
/spawnitem goldbar 500
星核碎片
/spawnitem corefragmentore 500
老虎尾巴
/spawnitem tigertailbac
氙气灯背包
/spawnitem xenonpac
恶魔有角假发
/spawnitem demonhornshead
传送枪
/spawnitem translocator
古代全息图
/spawnitem hologram1
古代星门
/spawnitem ancientgate
最终果汁
/spawnitem ultimatejuice 500
完美套装
/spawnitem perfecthead
/spawnitem perfectchest
/spawnitem perfectpants
EX咖喱棒
/spawnitem legendblade
物质枪模块
/spawnitem manipulatormodule 500
/* https://cnodejs.org/topic/561fe37af232828110a077a2 */
虽然我是个软粉,但不得不说window的文件系统太烂。慢就不说了,还什么 “文件目录过长无法删除 ” 真是不负责。 偏偏npm的包又尼玛长,随便安个grunt就删不了。我已经预感到前端妹子要找我了--“哎呀,这个node_modules怎么删不掉呀。”
于是写了个专门的cli工具 fuckwinfsdel。
非常快而且强力,试过200多层的目录,win自家命令行还有什么杀软的粉碎机都无能无力。用我的轻松搞定。
安装
npm install fuckwinfsdel -g
使用
fuckwinfsdel youdir
例
fuckwinfsdel node_modules
将会删除当前目录下 node_modules 文件夹。
fuckwinfsdel D:\expressgit\node_modules
将会删除D:\expressgit\node_modules文件夹。
项目地址 https://github.com/hezedu/fuckwinfsdel
#安装git git
cd .atom/packages
#git clone URL(在github上有)
cd atom-script
npm install
#2—5最好在gitCMD里实现
#OK
—– BEGIN LICENSE —–
Anthony Sansone
Single User License
EA7E-878563
28B9A648 42B99D8A F2E3E9E0 16DE076E
E218B3DC F3606379 C33C1526 E8B58964
B2CB3F63 BDF901BE D31424D2 082891B5
F7058694 55FA46D8 EFC11878 0868F093
B17CAFE7 63A78881 86B78E38 0F146238
BAE22DBB D4EC71A1 0EC2E701 C7F9C648
5CF29CA3 1CB14285 19A46991 E9A98676
14FD4777 2D8A0AB6 A444EE0D CA009B54
—— END LICENSE ——
—– BEGIN LICENSE —–
Alexey Plutalov
Single User License
EA7E-860776
3DC19CC1 134CDF23 504DC871 2DE5CE55
585DC8A6 253BB0D9 637C87A2 D8D0BA85
AAE574AD BA7D6DA9 2B9773F2 324C5DEF
17830A4E FBCF9D1D 182406E9 F883EA87
E585BBA1 2538C270 E2E857C2 194283CA
7234FF9E D0392F93 1D16E021 F1914917
63909E12 203C0169 3F08FFC8 86D06EA8
73DDAEF0 AC559F30 A6A67947 B60104C6
—— END LICENSE ——
# opening and closing windows and popovers
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
# smooth scrolling
defaults write -g NSScrollAnimationEnabled -bool false
# showing and hiding sheets, resizing preference windows, zooming windows
# float 0 doesn't work
defaults write -g NSWindowResizeTime -float 0.001
# opening and closing Quick Look windows
defaults write -g QLPanelAnimationDuration -float 0
# rubberband scrolling (doesn't affect web views)
defaults write -g NSScrollViewRubberbanding -bool false
# resizing windows before and after showing the version browser
# also disabled by NSWindowResizeTime -float 0.001
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false
# showing a toolbar or menu bar in full screen
defaults write -g NSToolbarFullScreenAnimationDuration -float 0
# scrolling column views
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0
# showing the Dock
defaults write com.apple.dock autohide-time-modifier -float 0
defaults write com.apple.dock autohide-delay -float 0
# showing and hiding Mission Control, command+numbers
defaults write com.apple.dock expose-animation-duration -float 0
# showing and hiding Launchpad
defaults write com.apple.dock springboard-show-duration -float 0
defaults write com.apple.dock springboard-hide-duration -float 0
# changing pages in Launchpad
defaults write com.apple.dock springboard-page-duration -float 0
# at least AnimateInfoPanes
defaults write com.apple.finder DisableAllAnimations -bool true
# sending messages and opening windows for replies
defaults write com.apple.Mail DisableSendAnimations -bool true
defaults write com.apple.Mail DisableReplyAnimations -bool true
killall Dock;killall Finder