zoukankan      html  css  js  c++  java
  • VMWare 装mac os x 一个必备优化神器 beamoff

     

    https://blog.csdn.net/whitehack/article/details/47074403/

    VMWare 装mac os x 一个必备优化神器 beamoff

    http://files.cnblogs.com/files/yipu/beamoff.zip

    这个程序设置为登录启动比较好 
    源码很简单:

    //
    //  AppDelegate.m
    //  beamoff
    //
    //  Created by ANDREI VAYAVODA on 09.11.14.
    //  Copyright (c) 2014 ANDREI VAYAVODA. All rights reserved.
    //
    
    #import "AppDelegate.h"
    extern void CGSSetDebugOptions(int);
    extern void CGSDeferredUpdates(int);
    
    typedef enum {
        disableBeamSync = 0,
        automaticBeamSync = 1,
        forcedBeamSyncMode = 2
    } beamSyncMode;
    
    
    @interface AppDelegate ()
    
    @property (weak) IBOutlet NSWindow *window;
    @end
    
    @implementation AppDelegate
    
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
        int mode = disableBeamSync;
    
        CGSSetDebugOptions(mode ? 0 : 0x08000000);
        CGSDeferredUpdates(mode);
        [self.window close];
        [NSApp terminate:self];
    }
    
    - (void)applicationWillTerminate:(NSNotification *)aNotification {
        // Insert code here to tear down your application
    }
    
    @end
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40

    beamoff 在github 上的地址: 
    https://github.com/JasF/beamoff

    另外还有一个必须做的优化

    “系统偏好设置” 进入”辅助功能” 然后勾选”减少透明度”

    另一个:

    “系统偏好设置”进入”Dock” 最小化窗口时使用: 选择“缩放效果”

    another:

    “系统偏好设置”进入”扩展”,然后将不使用的组件勾掉.

    这几步搞完以后,界面响应速度在我的pc上提升好几倍.

    beamoff 设置为开机自动运行方法

    下载 http://files.cnblogs.com/files/yipu/beamoff.zip 
    mac会自动解压 得到 beamoff.app 
    系统偏好设置 - 用户与群组 - 选中你自己的用户名 - 选择 “登录项” 选项卡 - 点 + 号 
    找到你下载的beamoff.app

  • 相关阅读:
    Git引用
    如何查看Git对象
    Git是如何存储对象的
    图形化的Git
    git中找回丢失的对象
    Git的Patch功能
    ES查看配置和查看全部配置
    增删改查
    Elasticsearch增、删、改、查操作深入详解
    ES博客链接
  • 原文地址:https://www.cnblogs.com/nafio/p/9560961.html
Copyright © 2011-2022 走看看