/M/

走向远方,看看风景


  • Home

  • Categories

  • Archives

  • Tags

  • About

Shadowsocks安装与优化,GFW相关资料

Posted on 2016-04-18
Words count in article 343

System: CentOS 6 x86

安装与基本配置:

经过对比,选择使用Shadowsocks-libev版本

安装

1
2
3
4
5
6
7
yum update
yum install build-essential autoconf libtool gcc zlib-devel openssl-devel git -y
git clone git://github.com/madeye/shadowsocks-libev.git
cd shadowsocks-libev
./configure
make
make install
Read more »

OS X El Capitan安装kext驱动后重建缓存的方法

Posted on 2016-04-18
Words count in article 9

rebuild kext cache:

sudo touch /System/Library/Extensions

reboot

黑苹果SIP设置选项以及XtraFinder正常运行所需设置

Posted on 2016-03-14 | In Hackintosh
Words count in article 283

黑苹果SIP设置

1
2
3
4
5
6
7
8
9
#define CSR_ALLOW_UNTRUSTED_KEXTS (1 << 0)
#define CSR_ALLOW_UNRESTRICTED_FS (1 << 1)
#define CSR_ALLOW_TASK_FOR_PID (1 << 2)
#define CSR_ALLOW_KERNEL_DEBUGGER (1 << 3)
#define CSR_ALLOW_APPLE_INTERNAL (1 << 4)
#define CSR_ALLOW_DESTRUCTIVE_DTRACE (1 << 5) /* name deprecated */
#define CSR_ALLOW_UNRESTRICTED_DTRACE (1 << 5)
#define CSR_ALLOW_UNRESTRICTED_NVRAM (1 << 6)
#define CSR_ALLOW_DEVICE_CONFIGURATION (1 << 7)

以上代码片段摘自Mac OS X的源码:csr.h

Read more »

【已解决】黑苹果无法进入Recovery系统

Posted on 2016-03-14 | In Hackintosh
Words count in article 32

Add the FakeSMC.kext and your ethernet kext to the folder EFI/Clover/kexts/10.11

Refer:

  • Clover Recovery HD not booting
  • Guide to make a bootable Recovery HD partition for clover

【已解决】Vim中输入空格出现倒置的问号

Posted on 2016-03-14
Words count in article 54

如果默认Shell为zsh,并且安装了oh-my-zsh与spf13-vim
,那么需要在.zshrc中加入export LANG=es_ES.UTF-8
然后使用source命令或者重启虚拟终端

参考:https://github.com/spf13/spf13-vim/issues/361

Mac脚本自启动后台运行

Posted on 2016-02-22
Words count in article 174

方法一:

  1. creat xxx.xxx.xxx.plist

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>xxx.xxx.xxx</string>
    <key>ProgramArguments</key>
    <array>
    <string>command</string>
    <string>parameter1</string>
    <string>parameter2</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    </dict>
    </plist>

    if you want to know the meanings of the items in the plist, please run man launchd & man launchd.plist

  2. add the plist file to /Library/LaunchAgents/ or ~/Library/LaunchAgents/
  3. sudo launchctl load /Library/LaunchAgents/xxx.xxx.xxx.plist

方法二:

  1. creat xxx.xxx.xxx.plist
  2. Install lunchy:gem install lunchy
  3. lunchy install /Library/LaunchAgents/xxx.xxx.xxx.plist
  4. lunchy start xxx.xxx.xxx.plist

方法三:

use the app Lingon
Lingon 1.2 is free, but some items of it are outdated
Lingon X 2.0 is not free.
Lingon 3 is in Mac APP Store, $10.

Intel NUC5i7RYH安装黑苹果OS X El Capitan 10.11

Posted on 2016-02-08 | In Hackintosh
Words count in article 217

教程:[Guide] El Capitan on the Intel Broadwell NUC
(需要一台Mac电脑)

在缺乏Mac电脑的情况下安装:

  1. 将BIOS进行若干设置,参考tonymacx86的帖子
  2. 使用TransMac软件将带有Clover引导的原版DMG映像写入U盘,映像可以在远景论坛上找到
  3. 将EFI分区的Clover文件换为最新版
  4. 加入
    • FakeSMC.kext
    • NVMeGeneric.kext
    • NullCPUPowerManagement.kext
    • config.plist
    • OsxAptioFixDrv-64.efi 或 OsxAptioFix2Drv-64.efi
    • nuc5i7-SSDTs
      (在tonymacx86的帖子上下载)
  5. 开始安装

遇到的问题:

安装时出现错误:An error occurred while extracting files from the package “Essentials.pkg”
原因及解决方法:一般是由于内存或硬盘“问题”造成的。比如我在安装过程中遇到这个错误后,将内存条拆掉一个后就可以正常安装了。安装完毕后,将内存条重新插上也一切正常。

大量照片自动按照拍摄日期分文件夹储存

Posted on 2015-11-20
Words count in article 125

方法一:

使用Total Commander
1,选中你要整理的文件。
2,选择“批量重命名”功能,快捷键好像是crtl+M。
3,在重命名规则里填入“[=tc.修改日期.YM][N]”
4,点开始就可以了

参考:

  • 如何批量新建日期文件夹,并按日期分拣文件? - 水木快照 JinghuaSoft
  • 照片管理技巧:Total Commander批量改名、自动按日期放入子目录土豆高清视频在线观看

方法二:

使用Adobe Lightroom

Oneplus one 由CM11S升级CM12.1S

Posted on 2015-11-20
Words count in article 212

条件:已刷入TWRP

  1. 下载cm-12.1-YOG4PAS1N0-bacon-signed.zip
  2. 放入手机内存盘
  3. 关机状态下,按住“电源键”+“音量下”直至屏幕亮,进入Recovery
  4. 点击“Install”,选择放入的cm-12.1-YOG4PAS1N0-bacon-signed.zip,等待完成即可。

CM12新特性

  1. 设置→显示&指示灯→LiveDisplay:类似于F.lux的屏幕色温条件功能,开启

参考资料:

  • 『新手引导』一加一手机最全刷机资源和教程——0904更新 - 玩机专区 - 一加手机社区官方论坛
  • 『玩机组出品』一键刷机工具—再次出击,新界面更Geek范 - 玩机专区 - 一加手机社区官方论坛
  • CyanogenMod - OnePlus Forums
  • [Guide] OTA Manual Install - Easy - OnePlus Forums
  • Mirrors for official Cyanogen roms & OTA updates - OnePlus Forums
  • [GUIDES][UNLOCK/ROOT/FLASH]How-To Guides For… | OnePlus One | XDA Forums
  • How to Install CyanogenMod on the OnePlus One (“bacon”) - CyanogenMod

iPad触控笔与笔记APP对比、选择

Posted on 2015-11-20
Words count in article 140

结论:

  1. 如果不是绘图的,不建议使用压感式触控笔
  2. 入门首选:Wacom bamboo solo
  3. 笔记APP:Notes Plus, 或 Notability

参考:

  • iPad 笔记应用 UPad、Noteshelf、goodNotes 哪个更值得买? - 知乎
  • iOS 上哪款手写笔记应用能满足大量文字书写的需求? - 知乎
  • iPad 上有哪些实用得令人惊艳的 App? - 知乎
  • iPad中有哪些可以学习的app? - 知乎
  • 有哪些适合 iPad 的触屏笔值得推荐? - 知乎
  • 你认为最棒的前十位 iOS 应用是哪些? - 知乎
1234…7
Mr.pc

Mr.pc

这家伙很懒,什么都没留下

67 posts
2 categories
126 tags
RSS
Creative Commons
0%
© 2014 - 2017 Mr.pc
Powered by Hexo
Theme - NexT.Pisces