<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mac | Hessian's Blog</title><link>https://hessian.cn/cat/mac</link><description>Hessian 的技术笔记：Linux、C++、网络与嵌入式</description><language>zh-CN</language><atom:link href="https://hessian.cn/cat/mac/index.xml" rel="self" type="application/rss+xml"/><item><title>彻底删除Docker Desktop for Mac</title><link>https://hessian.cn/p/1664.html</link><pubDate>Thu, 14 Apr 2022 14:39:54 +0800</pubDate><guid>https://hessian.cn/p/1664.html</guid><description>Docker Desktop for Mac 4.6 增加了一个新特性VirtioFS（戳这里看Docker官方Blog介绍），虽然截止目前（4.7版本）为止还是实验性的（Experimental），但是98%的文件读写性能提升还是太有诱惑力了。&#10;昨天手欠开了一下想尝试一番，结果点击Apply之后就一直转圈圈，等了2个钟头之后我放弃了。然后重启Docker，发现无法启动，这下就懵了。&#10;</description></item><item><title>我真是万万也没有想到 居然是支付宝的锅</title><link>https://hessian.cn/p/1510.html</link><pubDate>Fri, 19 May 2017 13:33:26 +0800</pubDate><guid>https://hessian.cn/p/1510.html</guid><description>很长一段时间以来，我的chrome打开网页就经常出现err_network_changed。一直我也没找到到底什么原因，我也以为是之前用什么SwitchyOmega、Lantern之类的代理导致的问题，墙都不翻了，真是万万也没有想到。。。&#10;</description></item><item><title>Docker在Mac下挂在/Users之外的目录</title><link>https://hessian.cn/p/1502.html</link><pubDate>Wed, 09 Dec 2015 21:28:02 +0800</pubDate><guid>https://hessian.cn/p/1502.html</guid><description>Docker在Mac下是在VirtualBox虚拟机中运行的。VirtualBox是用共享的形式把宿主机的目录暴露给docker的container，因为默认只挂载了/Users目录，所以Docker的Data Volume都只能mount到/Users目录下面的东西。&#10;</description></item><item><title>不改路由表实现智能选择线路，提升访问国内外网站速度</title><link>https://hessian.cn/p/1472.html</link><pubDate>Tue, 15 Jul 2014 15:39:54 +0800</pubDate><guid>https://hessian.cn/p/1472.html</guid><description>互联网发明以后，我们可以很容易的去访问世界各地的知识资源。但是受限于网络环境的原因，部分资源我们去访问的时候会很慢，或者访问不了，这时候我们可以通过跳板、隧道、虚拟私有网络等形式去进行访问。在使用虚拟私有网络的过程中，大部分软件会通过修改网关地址将所有数据都通过虚拟私有网络进行传递，然而我们很多时候访问某些特定资源，比如本地资源时并不希望数据通过虚拟私有网络，这怎么办呢？&#10;</description></item><item><title>你可能不知道的Shell | 酷壳 – CoolShell.cn</title><link>https://hessian.cn/p/1054.html</link><pubDate>Fri, 23 Nov 2012 09:08:18 +0800</pubDate><guid>https://hessian.cn/p/1054.html</guid><description>via 你可能不知道的Shell | 酷壳 – CoolShell.cn.&#10; &#10;Shell也叫做命令行界面，它是*nix操作系统下用户和计算机的交互界面。Shell这个词是指操作系统中提供访问内核服务的程序。&#10;</description></item><item><title>让Vim更好用 for Mac OS X</title><link>https://hessian.cn/p/1026.html</link><pubDate>Thu, 08 Nov 2012 09:41:25 +0800</pubDate><guid>https://hessian.cn/p/1026.html</guid><description>参考文章：&#10;谁说Vim不是IDE？（一） 谁说Vim不是IDE？（二） 谁说Vim不是IDE？（三）  &#10;其实@池建强 大哥在他的《谁说Vim不是IDE？》中已经都已经说的很清楚了。我这篇博文就相当于个笔记和备忘，以后需要的时候可以快速的配置起一个好用的Vim环境。&#10;</description></item><item><title>怎么打开/查看MySQL的SQL记录？</title><link>https://hessian.cn/p/1018.html</link><pubDate>Fri, 02 Nov 2012 17:13:52 +0800</pubDate><guid>https://hessian.cn/p/1018.html</guid><description>我们在开发的时候经常经常遇到在程序中增加调试语句很麻烦的情况，这时候难免会想如果Mysql能看到我们执行了什么SQL语句就好了。&#10;实际上MySQL是有这个功能的，在MySQL 5.1的时候我们就可以通过mysqld的-l参数来启动mysql来记录查询日志。&#10;</description></item><item><title>修复zsh svn1.7 自动完成的问题</title><link>https://hessian.cn/p/181.html</link><pubDate>Wed, 16 May 2012 12:12:51 +0800</pubDate><guid>https://hessian.cn/p/181.html</guid><description>更新svn(subversion)到1.7后 zsh 的svn自动完成就傻X了。&#10;错误： _arguments:comparguments:312: invalid argument: [–cl]:arg:&#10;修改方法&#10;打开文件：/usr/share/zsh/4.3.11/functions/_subversion&#10;</description></item><item><title>Deploy PHP Development Environment on Macintosh OS</title><link>https://hessian.cn/p/542.html</link><pubDate>Mon, 16 Jan 2012 12:41:00 +0800</pubDate><guid>https://hessian.cn/p/542.html</guid><description>— PREPARE —&#10;1. Install MacPort&#10;2. sudo port install pcre jpeg libpng mcrypt ImageMagick&#10;3. Download PHP, Nginx, Redis, MySQL&#10; &#10;— Compile &amp; Install —&#10;1. MySQL dmg&#10;2. Nginx&#10;./configure –prefix=/opt/nginx&#10;make&#10;make install&#10;3. Redis&#10;make PREFIX=/opt/redis install&#10;4. PHP&#10;./configure –prefix=/opt/php53 –with-config-file-path=/opt/php –with-mysql=mysqlnd –with-pdo-mysql=mysqlnd –with-iconv=/opt/local –with-xsl –enable-xml –with-libxml-dir –disable-rpath –enable-safe-mode –enable-bcmath –enable-shmop –enable-sysvsem –enable-inline-optimization –with-libexpat-dir=/usr/lib –with-curl –with-curlwrappers –enable-mbregex –enable-ftp –with-gd –enable-zip –enable-sockets –enable-soap –enable-mbstring=all –with-mcrypt=/opt/local –enable-gd-native-ttf –with-freetype-dir=/opt/local –with-zlib –without-pdo-sqlite –enable-fpm –with-snmp –without-sqlite –without-pdo-sqlite –with-openssl –with-jpeg-dir=/opt/local –with-png-dir=/opt/local –with-xpm-dir=/opt/local&#10;</description></item></channel></rss>