Browsed by
分类: 未分类

iOS 下 DS Video 播放多音轨文件无法播放问题,已解决(更新于2025 年5月3日)

iOS 下 DS Video 播放多音轨文件无法播放问题,已解决(更新于2025 年5月3日)

问题:iOS 下 DS Video 播放多音轨文件,点击“播放”按钮后,会弹出选择音轨界面(如图),选择音轨,接下来怎么办?我试了怎么操作都无法播放。在音轨上长按不会触发播放视频,只能下滑,再次点击播放图标,回到刚才的选择音轨界面,进入循环。

reddit 上找到答案啦,竟然是个 UI Bug。语言栏的右侧有一个按钮,字体颜色和背景色都是黑色,结果看到不到按钮。解决办法:选择好音轨后,点击右上角黑色区域就可正常播放(如图示)。DS Video 官方真让人无语啊,这个 Bug 有好几年了,官方一直没更新。一度怀疑 DS Video 还有没有开发组。

GIF自动化工具:利用macOS Automator工作流,将视频片段转换成可分享的GIF,玩转GIF制作

GIF自动化工具:利用macOS Automator工作流,将视频片段转换成可分享的GIF,玩转GIF制作

如果你想在 macOS(苹果电脑)上轻松将视频片段转换成能在微博、微信上分享的GIF,那你就来着啦。这篇文章将带你一步步安装FFmpeg(一个强大的免费多媒体处理工具),并创建一个macOS Automator工作流来自动化完成这一过程。最终,你将能在Finder中右键点击视频文件,选择中我们创建的工作流,轻松将视频转换为GIF动画。来吧,开干!


第一步:安装Homebrew(如已安装,请直接跳到第二步)

使用macOS的包管理器Homebrew安装FFmpeg最为简便。如未安装Homebrew,按以下步骤操作:

  1. 打开终端应用(位于“应用程序 > 实用工具”或通过Spotlight搜索)。
  2. 粘贴以下命令并按下回车:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  3. 按照屏幕提示完成安装(根据网速可能需要几分钟,最好能科学上网)。
  4. 安装完成后,输入以下命令验证:
    brew --version
    

    如果显示类似Homebrew 4.x.x的版本号,说明安装成功!

    iTerm brew 版本


第二步:安装FFmpeg(如已安装,直接跳到第三步)

安装Homebrew后,FFmpeg的安装也非常简单:

  1. 在终端中输入:
    brew install ffmpeg
    
  2. 按下回车,等待Homebrew自动下载安装FFmpeg及其依赖项(可能需要几分钟)。
  3. 安装完成后,运行以下命令检查:
    ffmpeg -version
    

    若显示版本号(如ffmpeg version 6.x.x),则一切就绪!

    iTerm ffmpeg 版本

虽然FFmpeg已能手动转换视频,但频繁输入命令效率低下。接下来我们用Automator实现自动化。


第三步:打开Automator并创建新工作流

Automator可创建自定义工作流来简化重复任务(如视频转GIF)。设置步骤如下:

  1. 打开Automator(通过“应用程序”或Spotlight)。
  2. 选择文档类型时,勾选快速操作(旧版macOS中为“服务”),点击选取
  3. 在工作流窗口顶部配置:
    工作流收到当前:下拉菜单中选择“影片文件”。
    位于:选择“Finder.app”,使得该功能在Finder右键菜单中生效。

第四步:添加转换视频为GIF的Shell脚本

将FFmpeg与Automator联动的核心步骤如下:

  1. 在左侧资源库中,找到并选择实用工具
  2. 运行Shell脚本动作拖入右侧工作区。
  3. 在脚本编辑框中设置:
    Shell:选择/bin/zsh(或/bin/bash)。
    传递输入:选择“作为自变量”。
  4. 替换默认脚本为以下内容:
for f in "$@"
   do /opt/homebrew/bin/ffmpeg -i "$f" -vf "fps=15,scale=640:-1" -f gif "${f%.*}.gif"
done

脚本解析
for f in "$@":遍历Finder中选中的每个文件。
/opt/homebrew/bin/ffmpeg:调用FFmpeg(brew 安装后的默认路径,你可以在命令行窗口输入 which ffmpeg,返回的是你的 ffmpeg 路径)。
 
-i "$f":指定输入视频文件。
-vf "fps=15,scale=640:-1":设置GIF为每秒15帧,宽度640像素(高度自动保持比例)。
-f gif:输出为GIF格式。
"${f%.*}.gif":输出文件与输入同名,仅扩展名改为.gif


第五步:保存快速操作

  1. 点击文件 > 保存
  2. 命名为易记的名称(如“转换GIF”,我用的名称是“Convert to GIF”),保存后该功能将出现在Finder右键菜单中。

第六步:测试功能

操作演示

  1. 在Finder中找到视频文件(如.mov.mp4)。
  2. 右键点击文件,悬停至快速操作(旧版为“服务”),选择转换GIF
  3. 稍等片刻,同文件夹内将生成同名GIF文件(如video.gif)。

若未生效,请检查脚本中的FFmpeg路径,并确认视频格式受支持。


进阶:自定义GIF参数

可通过修改脚本调整输出效果:

• 将fps=15改为fps=30可提升流畅度(但会增加文件大小)。
• 将scale=640:-1改为scale=320:-1可减小GIF宽度。
• 在-i "$f"前添加-ss 5 -t 10可裁剪视频(如从第5秒开始,持续10秒)。

修改后保存Automator脚本并重新测试即可。


结语

现在你已拥有一个Mac上快速转换视频为GIF的自动化工具!无论是制作表情包、分享教程还是娱乐,这一工作流都能节省大量时间。试试看吧,欢迎分享你的使用体验!

苹果电脑安装工作流

当然,你可以直接下载我制作好的视频片段转GIF自动化工具。附件为zip格式,macOS 下载双击即可解压出 转换GIF.Workflow文件。再次双击转换GIF.Workflow,就把转换GIF的工作流到了你的苹果电脑上。

选中视频(可以多选),试试一键转换 GIF 吧。

祝你玩转GIF制作!?

免费稳定使用 DeepSeek-V3 及 DeepSeek-R1 的方法汇总(更新于 2025 年 3月 9 日)

免费稳定使用 DeepSeek-V3 及 DeepSeek-R1 的方法汇总(更新于 2025 年 3月 9 日)

  1. https://yuanbao.tencent.com 腾讯元宝,满血版 DeepSeek-R1,免费且不限使用次数。腾讯元宝有腾讯资讯和公众号内容为语料基础,文字输出比官方更像人话。
  2. https://chat.deepseek.com 当然官方本该是首选,受限于官方算力资源,DeepSeek 太过热门。官方只给一次提问 DeepSeek R1 的机会,要是追问 DeepSeek R1,大概率会收到 DeepSeek 罢工的消息:“服务器繁忙,请稍后重试。”
  3. https://www.cursor.com Cursor 编辑器不限量使用 DeepSeek-V3 免费不限次数。
  4. https://github.com/marketplace/models/azureml-deepseek/DeepSeek-V3/playground GitHub Models DeepSeek-V3 每天 8 次免费使用。
  5. https://github.com/marketplace/models/azureml-deepseek/DeepSeek-R1/playground GitHub Models DeepSeek-R1 每天 8 次免费使用。
  6. https://www.perplexity.ai 每天免费 5 次(需要科学上网)
  7. https://poe.com/Deepseek-V3-FW 由 fireworks.ai 提供每月 10 次免费使用(需要科学上网)。
  8. https://poe.com/DeepSeek-R1-FW 由 fireworks.ai 提供每月 10 次免费使用(需要科学上网)。
如何用 Obsidian 打造个人第二大脑:一步步教程(更新于2025年3月)

如何用 Obsidian 打造个人第二大脑:一步步教程(更新于2025年3月)

在信息爆炸的时代,我们每天接触到的知识、灵感和任务如同潮水般涌来。如何高效地捕捉、管理并利用这些信息?答案可能是“第二大脑”——一个数字化的个人知识管理系统。而 Obsidian,这款基于 Markdown 的笔记工具,正因其灵活性和强大的链接功能,成为打造第二大脑的理想选择。本文将带你一步步学会如何用 Obsidian 构建属于自己的第二大脑,帮助你整理思路、提升创造力。

什么是第二大脑?

“第二大脑”是一个概念,由效率专家 [[Tiago Forte]] 提出,指的是利用外部工具来存储、组织和管理我们的知识和想法,从而减轻大脑的记忆负担。Obsidian 的核心优势在于其双向链接功能,让笔记之间形成网络,而不是传统的文件夹式结构。这种方式模仿了人类大脑的联想思维,非常适合构建动态的知识体系。

下面,我们将从下载安装到高级用法,分步骤教你打造自己的第二大脑。


第一步:下载并安装 Obsidian

  1. 获取软件
    前往 Obsidian 官网 下载适用于你的操作系统(Windows、Mac 或 Linux)的版本。Obsidian 完全免费(有付费插件和同步服务可选),安装过程简单快捷。
  2. 创建第一个 Vault
    启动 Obsidian 后,你需要创建一个 “Vault”(库),它是你的笔记存储空间。选择一个本地文件夹(如 “我的第二大脑”),点击 “创建”。这个文件夹将包含所有 Markdown 文件和相关资源。
  3. 熟悉界面
    Obsidian 的界面分为左侧文件树、中央编辑区和右侧预览区(可切换)。初次使用时,花几分钟熟悉这些区域,尤其是 “新建笔记” 按钮和基本的 Markdown 语法(例如 # 表示标题,* 表示列表)。

第二步:建立核心笔记结构

第二大脑的关键是有序的结构。以下是推荐的起步框架:

  1. 首页(Home)
    创建一个名为 “Home.md” 的笔记,作为你的导航中心。在这里添加常用链接,例如:

    - [[项目]]
    - [[灵感]]
    - [[读书笔记]]
    - [[日常记录]]
    

    双括号 [[ ]] 是 Obsidian 的双向链接语法,点击即可跳转到对应笔记(若不存在会自动创建)。

  2. 核心分类
    根据个人需求创建几个主要类别,例如:

    • 项目(Projects):记录正在进行的工作或学习计划。
    • 领域(Areas):长期关注的主题,如健康、技术、财务。
    • 资源(Resources):保存文章、书籍、课程等外部资料。
    • 归档(Archive):存放已完成或暂时搁置的内容。
  3. 每日笔记(Daily Notes)
    打开设置(左下角齿轮图标),启用 “Daily Notes” 插件。每天自动生成一个日期命名的笔记(如 “2025-02-21.md”),用于记录随手想法、待办事项或日记。这是第二大脑的“输入端”。

第三步:捕捉与整理信息

第二大脑的生命力在于持续输入和关联。以下是具体方法:

  1. 快速记录
    在每日笔记中,随时记下灵感、任务或阅读摘录。例如:

    - 今天读到《原子习惯》,习惯堆叠的概念很有趣 [[读书笔记/原子习惯]]
    - 下午完成博客草稿 [[项目/博客计划]]
    
  2. 建立链接
    当你提到某个主题时,使用 [[ ]] 创建链接。例如,“原子习惯” 可以链接到一个独立的笔记,里面详细记录你的读书心得。这样,信息不再是孤岛,而是逐渐形成网络。
  3. 标签(Tags)
    为笔记添加标签以便检索,例如 #习惯#生产力。在左侧面板的 “搜索” 中输入标签即可快速筛选相关内容。

第四步:利用插件增强功能

Obsidian 的社区插件是其强大之处。以下是几个推荐插件及其用法:

  1. Dataview
    • 作用:将笔记变成动态数据库。
    • 用法:安装后,在笔记中输入:
      TABLE file.mtime AS "修改时间" 
      FROM #项目
      

      这会生成一个包含所有带 #项目 标签笔记的表格。

  2. Kanban
    • 作用:创建看板视图管理任务。
    • 用法:新建一个笔记,输入:
     ### To Do
     - 写博客
     ### In Progress
     - 阅读《原子习惯》
     ### Done
     - 健身计划
    

    即可生成一个任务看板。
    Pasted image 20250223112601.png

  3. Excalidraw
    • 作用:手绘图表和思维导图。
    • 用法:安装后新建 Excalidraw 文件,绘制流程图或概念图并嵌入笔记。

前往 “设置 > 社区插件 > 浏览” 下载这些插件,记得先关闭 “安全模式”。


第五步:可视化你的知识网络

Obsidian 的 “Graph View” 是第二大脑的亮点。点击左侧的图表图标,你会看到所有笔记及其链接形成的网络图:

  • 节点:每个圆点代表一个笔记。
  • 连线:表示笔记之间的双向链接。
  • 调整:通过过滤功能(右上角设置)突出显示特定标签或文件夹。

随着笔记增加,这个图会越来越像你大脑的“可视化版本”,帮助你发现隐藏的关联。例如,你可能发现 “习惯堆叠” 和 “时间管理” 之间有意外的联系,从而激发新想法。


第六步:养成使用习惯

工具再强大,也需要坚持使用。以下是一些建议:

  1. 每日回顾
    花 5-10 分钟整理每日笔记,将零散想法归类到对应主题。
  2. 定期优化
    每隔几周检查你的 Vault,合并重复内容,删除过时笔记。
  3. 随时迭代
    第二大脑不是静态的,随着你的需求变化,不断调整结构和方法。

进阶技巧:让第二大脑更智能

当你熟悉基础后,可以尝试以下高级玩法:

  1. Zettelkasten 方法
    每条笔记只记录一个独立想法,通过链接串联成知识网络。例如:

    • “习惯堆叠” 链接到 “行为心理学”。
    • “行为心理学” 链接到 “巴甫洛夫实验”。
  2. 嵌入内容
    使用 ![[]] 嵌入其他笔记、图片或 PDF。例如:

    ![[读书笔记/原子习惯#第一章]]
    

    这会直接显示指定笔记的片段。
    Pasted image 20250223114131.png

  3. 同步与备份
    使用 Obsidian Sync(付费)或免费工具(如 Git、Dropbox)确保数据安全。

结语

打造第二大脑是一个从无序到有序、从碎片到系统的过程。Obsidian 凭借其灵活的双向链接和插件生态,让这一过程变得简单而有趣。通过本文的步骤,你可以从零开始,建立一个属于自己的知识管理中心。无论是学习、工作还是生活,它都将成为你的得力助手。

现在,下载 Obsidian,创建你的第一个 Vault,开始捕捉你的想法吧,让我们一起探索第二大脑的无限可能。

macOS / OS X 如何清除 homebrew 缓存

macOS / OS X 如何清除 homebrew 缓存

MacBook Pro (13-inch, Mid 2012)

最近将老旧的 MacBook Pro (13-inch, Mid 2012) 升级到 SSD 固态硬盘,磁盘空间告急,想着 homebrew 一直使用从没有来没有清理过缓存,查询 man brew 看到 cleanup 命令如下。

cleanup [--prune=days] [--dry-run] [-s] [formulae]  
              For  all installed or specific formulae, remove any older versions from the cellar. In addition, old downloads from the Homebrew
              download-cache are deleted.

              If --prune=days is specified, remove all cache files older than days.

              If --dry-run or -n is passed, show what would be removed, but do not actually remove anything.

              If -s is passed, scrubs the cache, removing downloads for even the latest versions of formulae. Note downloads for any installed
              formulae will still not be deleted. If you want to delete those too: rm -rf $(brew --cache)

cleanup 命令会删除旧版 cellar,以及所有 brew 缓存。好吧,正是想要的。

~ brew cleanup
Removing: /usr/local/Cellar/aria2/1.20.0... (21 files, 4MB)
Removing: /usr/local/Cellar/aria2/1.30.0... (22 files, 3.9MB)
Removing: /usr/local/Cellar/aria2/1.31.0... (22 files, 3.9MB)
Removing: /usr/local/Cellar/autojump/21.6.9... (11 files, 73.9KB)
Removing: /usr/local/Cellar/autojump/22.3.0... (21 files, 246.2KB)
Removing: /usr/local/Cellar/autojump/22.5.0... (24 files, 254.0KB)
Removing: /usr/local/Cellar/cairo/1.14.2... (122 files, 6.4MB)
Removing: /usr/local/Cellar/cairo/1.14.4... (118 files, 5.9MB)
Removing: /usr/local/Cellar/cairo/1.14.6_1... (118 files, 5.9MB)
Warning: Skipping cmake: most recent version 3.8.2 not installed
Warning: Skipping homebrew/php/composer: most recent version 1.4.2 not installed
Warning: Skipping dnscrypt-proxy: most recent version 1.9.5 not installed
Warning: Skipping elasticsearch: most recent version 5.4.1 not installed
Removing: /usr/local/Cellar/ffmpeg/2.4.3... (217 files, 39.9MB)
Removing: /usr/local/Cellar/ffmpeg/2.8.1_1... (228 files, 45.4MB)
Removing: /usr/local/Cellar/ffmpeg/3.0... (230 files, 48MB)
Removing: /usr/local/Cellar/ffmpeg/3.0.1... (230 files, 47.7MB)
Removing: /usr/local/Cellar/ffmpeg/3.2.2... (239 files, 51.3MB)
Removing: /usr/local/Cellar/flow/0.22.0... (7 files, 5.7MB)
Removing: /usr/local/Cellar/flow/0.22.1... (7 files, 5.7MB)
Removing: /usr/local/Cellar/flow/0.37.4... (8 files, 5.5MB)
Removing: /usr/local/Cellar/flow/0.43.1... (8 files, 5.9MB)
Removing: /usr/local/Cellar/fontconfig/2.11.1... (449 files, 2.6MB)
Removing: /usr/local/Cellar/fontconfig/2.11.1_2... (450 files, 2.9MB)
Removing: /usr/local/Cellar/freetype/2.6.3... (61 files, 2.5MB)
Removing: /usr/local/Cellar/freetype/2.6_1... (61 files, 2.5MB)
Removing: /usr/local/Cellar/freetype/2.7... (61 files, 2.4MB)
Removing: /usr/local/Cellar/freetype/2.7.1... (62 files, 2.5MB)
Removing: /usr/local/Cellar/fribidi/0.19.7... (61 files, 373.2KB)
Removing: /usr/local/Cellar/gdbm/1.11... (17 files, 370.7KB)
Removing: /usr/local/Cellar/gdbm/1.12... (18 files, 486.9KB)
Removing: /usr/local/Cellar/gettext/0.19.3... (1,925 files, 12.7MB)
Removing: /usr/local/Cellar/gettext/0.19.4... (1,925 files, 15.7MB)
Removing: /usr/local/Cellar/gettext/0.19.6... (1,926 files, 16.4MB)
Removing: /usr/local/Cellar/gettext/0.19.7... (1,934 files, 16.7MB)
Removing: /usr/local/Cellar/ghostscript/9.16... (720 files, 57.9MB)
Removing: /usr/local/Cellar/ghostscript/9.18... (719 files, 61MB)
Removing: /usr/local/Cellar/ghostscript/9.19... (717 files, 61.4MB)
Removing: /usr/local/Cellar/ghostscript/9.21... (717 files, 64.2MB)
Removing: /usr/local/Cellar/giflib/4.2.3... (39 files, 603.4KB)
Removing: /usr/local/Cellar/git/2.12.2... (1,454 files, 33.0MB)
Removing: /usr/local/Cellar/glib/2.44.1... (421 files, 16.8MB)
Removing: /usr/local/Cellar/glib/2.46.1_1... (426 files, 22.4MB)
Removing: /usr/local/Cellar/glib/2.46.2... (426 files, 22.4MB)
Removing: /usr/local/Cellar/glib/2.50.2... (427 files, 22.4MB)
Removing: /usr/local/Cellar/glib/2.52.0... (430 files, 22.5MB)
Removing: /usr/local/Cellar/go/1.6... (5,624 files, 276.3MB)
Removing: /usr/local/Cellar/go/1.7.4_1... (6,438 files, 250.7MB)
Removing: /usr/local/Cellar/go/1.8.1... (7,030 files, 281.8MB)
Removing: /usr/local/Cellar/gobject-introspection/1.44.0... (197 files, 9.7MB)
Removing: /usr/local/Cellar/gobject-introspection/1.46.0... (199 files, 9.7MB)
Removing: /usr/local/Cellar/gobject-introspection/1.46.0_1... (221 files, 10MB)
Removing: /usr/local/Cellar/gobject-introspection/1.50.0... (172 files, 9.6MB)
Removing: /usr/local/Cellar/harfbuzz/0.9.40... (82 files, 3.2MB)
Removing: /usr/local/Cellar/harfbuzz/1.0.4... (97 files, 3.4MB)
Removing: /usr/local/Cellar/harfbuzz/1.2.1... (123 files, 4.4MB)
Removing: /usr/local/Cellar/harfbuzz/1.2.6... (123 files, 4.5MB)
Removing: /usr/local/Cellar/harfbuzz/1.3.4... (132 files, 4.5MB)
Removing: /usr/local/Cellar/icu4c/56.1... (262 files, 63.7MB)
Removing: /usr/local/Cellar/icu4c/57.1... (265 files, 65.0MB)
Removing: /usr/local/Cellar/icu4c/58.1... (242 files, 65MB)
Removing: /usr/local/Cellar/imagemagick/6.8.7-7... (1,434 files, 15.9MB)
Removing: /usr/local/Cellar/imagemagick/6.9.3-6... (1,459 files, 17.9MB)
Removing: /usr/local/Cellar/imagemagick/6.9.7-0... (1,465 files, 22.2MB)
Removing: /usr/local/Cellar/imagemagick/7.0.5-4... (1,522 files, 22.6MB)
Removing: /usr/local/Cellar/imagemagick/7.0.5-5... (1,522 files, 22.4MB)
Removing: /usr/local/Cellar/jbig2dec/0.12... (11 files, 278.9KB)
Removing: /usr/local/Cellar/ldns/1.6.17_2... (544 files, 5.5MB)
Removing: /usr/local/Cellar/libass/0.13.0... (9 files, 497.9KB)
Removing: /usr/local/Cellar/libass/0.13.2... (9 files, 502.0KB)
Removing: /usr/local/Cellar/libass/0.13.4... (10 files, 511.2KB)
Removing: /usr/local/Cellar/libevent/2.0.21... (53 files, 1.7MB)
Removing: /usr/local/Cellar/libevent/2.0.22... (53 files, 1.6MB)
Removing: /usr/local/Cellar/libffi/3.0.13... (15 files, 377KB)
Removing: /usr/local/Cellar/libgpg-error/1.17... (18 files, 291.5KB)
Removing: /usr/local/Cellar/libgpg-error/1.19... (18 files, 310.4KB)
Removing: /usr/local/Cellar/libgpg-error/1.21... (19 files, 419.4KB)
Removing: /usr/local/Cellar/libgpg-error/1.25... (20 files, 441.4KB)
Removing: /usr/local/Cellar/libksba/1.3.3... (13 files, 343.1KB)
Removing: /usr/local/Cellar/libpng/1.5.18... (23 files, 977.7KB)
Removing: /usr/local/Cellar/libpng/1.6.13... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.15... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.17... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.18... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.19... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.21... (25 files, 1.2MB)
Removing: /usr/local/Cellar/libpng/1.6.26... (26 files, 1.2MB)
Removing: /usr/local/Cellar/libsodium/0.5.0... (61 files, 1007.0KB)
Removing: /usr/local/Cellar/libsodium/1.0.11... (66 files, 1.1MB)
Removing: /usr/local/Cellar/libsodium/1.0.8... (64 files, 1MB)
Removing: /usr/local/Cellar/libtiff/4.0.3... (256 files, 3.4MB)
Removing: /usr/local/Cellar/libtiff/4.0.4... (259 files, 3.4MB)
Removing: /usr/local/Cellar/libtiff/4.0.6... (261 files, 3.4MB)
Removing: /usr/local/Cellar/libtiff/4.0.7... (248 files, 3.3MB)
Removing: /usr/local/Cellar/libtiff/4.0.7_2... (248 files, 3.4MB)
Removing: /usr/local/Cellar/libtiff/4.0.7_3... (248 files, 3.4MB)
Removing: /usr/local/Cellar/libtool/2.4.6... (70 files, 3.7MB)
Removing: /usr/local/Cellar/libvorbis/1.3.5... (158 files, 2.3MB)
Removing: /usr/local/Cellar/libvpx/1.4.0... (16 files, 1.4MB)
Removing: /usr/local/Cellar/libvpx/1.5.0... (16 files, 1.4MB)
Removing: /usr/local/Cellar/libvpx/1.6.0... (16 files, 1.4MB)
Removing: /usr/local/Cellar/libxml2/2.9.3... (276 files, 9.8MB)
Removing: /usr/local/Cellar/libxml2/2.9.4... (276 files, 9.8MB)
Removing: /usr/local/Cellar/libxml2/2.9.4_2... (277 files, 9.8MB)
Removing: /usr/local/Cellar/libxslt/1.1.28_1... (147 files, 3.0MB)
Removing: /usr/local/Cellar/libyaml/0.1.6_1... (8 files, 330.9KB)
Removing: /usr/local/Cellar/little-cms2/2.7... (17 files, 1MB)
Removing: /usr/local/Cellar/maven/3.2.2... (79 files, 7.8MB)
Removing: /usr/local/Cellar/maven/3.3.9... (94 files, 9.6MB)
Removing: /usr/local/Cellar/minisign/0.6_1... (4 files, 26.2KB)
Removing: /usr/local/Cellar/mongodb/3.4.0... (17 files, 261.4MB)
Removing: /usr/local/Cellar/mongodb/3.4.3... (17 files, 266.4MB)
Removing: /usr/local/Cellar/mysql/5.6.25... (9,841 files, 314.1MB)
Removing: /usr/local/Cellar/mysql/5.7.11... (12,818 files, 435MB)
Removing: /usr/local/Cellar/mysql/5.7.16... (13,511 files, 439MB)
Removing: /usr/local/Cellar/mysql/5.7.17... (321 files, 234.4MB)
Warning: Skipping nginx: most recent version 1.12.0_1 not installed
Warning: Skipping node: most recent version 8.0.0_1 not installed
Warning: Skipping openjpeg: most recent version 2.1.2_1 not installed
Removing: /usr/local/Cellar/openssl/1.0.1g... (1,229 files, 10.6MB)
Removing: /usr/local/Cellar/openssl/1.0.1h... (1,229 files, 10.4MB)
Removing: /usr/local/Cellar/openssl/1.0.1j... (1,236 files, 10.6MB)
Removing: /usr/local/Cellar/openssl/1.0.2c... (1,634 files, 12MB)
Removing: /usr/local/Cellar/openssl/1.0.2d... (1,638 files, 11.7MB)
Removing: /usr/local/Cellar/openssl/1.0.2d_1... (1,638 files, 11.7MB)
Removing: /usr/local/Cellar/openssl/1.0.2g... (1,678 files, 12.0MB)
Removing: /usr/local/Cellar/openssl/1.0.2j... (1,695 files, 12MB)
Removing: /usr/local/Cellar/openssl/1.0.2k... (1,696 files, 12MB)
Removing: /usr/local/Cellar/openssl@1.1/1.1.0e... (6,303 files, 15.4MB)
Warning: Skipping pango: most recent version 1.40.6 not installed
Warning: Skipping passenger: most recent version 5.1.4 not installed
Removing: /usr/local/Cellar/pcre/8.37... (203 files, 5.3MB)
Removing: /usr/local/Cellar/pcre/8.38... (203 files, 5.4MB)
Removing: /usr/local/Cellar/pcre/8.39... (203 files, 5.4MB)
Warning: Skipping pdf2htmlex: most recent version 0.14.6_14 not installed
Warning: Skipping homebrew/php/php-cs-fixer: most recent version 2.3.2 not installed
Removing: /usr/local/Cellar/php55/5.5.30... (328 files, 48.0MB)
Removing: /usr/local/Cellar/php55/5.5.32... (328 files, 48.0MB)
Warning: Skipping homebrew/php/php55-mcrypt: most recent version 5.5.38 not installed
Warning: Skipping homebrew/php/php70: most recent version 7.0.19_11 not installed
Warning: Skipping homebrew/php/php71: most recent version 7.1.5_17 not installed
Removing: /usr/local/Cellar/pixman/0.32.6... (12 files, 1.4MB)
Removing: /usr/local/Cellar/pixman/0.32.8... (12 files, 1.2MB)
Removing: /usr/local/Cellar/pkg-config/0.29... (10 files, 625.4KB)
Removing: /usr/local/Cellar/pkg-config/0.29.1... (10 files, 627.2KB)
Removing: /usr/local/Cellar/pkg-config/0.29.1_2... (10 files, 627.5KB)
Warning: Skipping poppler: most recent version 0.55.0 not installed
Warning: Skipping postgresql: most recent version 9.6.3 not installed
Removing: /usr/local/Cellar/python3/3.5.1... (3,543 files, 52.7MB)
Removing: /usr/local/Cellar/python3/3.5.2_3... (7,720 files, 109.4MB)
Removing: /usr/local/Cellar/rbenv/0.4.0... (32 files, 49.8KB)
Removing: /usr/local/Cellar/rbenv/1.0.0... (36 files, 61.9KB)
Removing: /usr/local/Cellar/readline/6.3.8... (46 files, 2MB)
Removing: /usr/local/Cellar/readline/7.0.1... (46 files, 2MB)
Warning: Skipping ruby-build: most recent version 20170523 not installed
Removing: /usr/local/Cellar/scons/2.4.1... (408 files, 3.7MB)
Removing: /usr/local/Cellar/sqlite/3.11.0... (10 files, 2.8MB)
Removing: /usr/local/Cellar/sqlite/3.11.0_1... (10 files, 2.8MB)
Removing: /usr/local/Cellar/sqlite/3.12.0... (10 files, 2.8MB)
Removing: /usr/local/Cellar/sqlite/3.15.2... (11 files, 2.9MB)
Removing: /usr/local/Cellar/sqlite/3.18.0... (11 files, 3.0MB)
Removing: /usr/local/Cellar/sqlite/3.7.15.2... (11 files, 1.9MB)
Removing: /usr/local/Cellar/sqlite/3.8.2... (10 files, 2.0MB)
Removing: /usr/local/Cellar/ssh-copy-id/6.6p1... (7 files, 164.2KB)
Removing: /usr/local/Cellar/ssh-copy-id/7.1p1... (7 files, 335KB)
Removing: /usr/local/Cellar/ssh-copy-id/7.2p2... (7 files, 310.4KB)
Removing: /usr/local/Cellar/ssh-copy-id/7.3p1... (8 files, 309.2KB)
Removing: /usr/local/Cellar/tag/0.7.5... (4 files, 46.2KB)
Removing: /usr/local/Cellar/tag/0.8.1... (4 files, 49.6KB)
Removing: /usr/local/Cellar/texi2html/1.82... (108 files, 2MB)
Warning: Skipping tomcat: most recent version 8.5.15 not installed
Removing: /usr/local/Cellar/tree/1.6.0... (7 files, 96.7KB)
Removing: /usr/local/Cellar/ttfautohint/1.3... (8 files, 250.7KB)
Removing: /usr/local/Cellar/ttfautohint/1.5... (8 files, 266KB)
Removing: /usr/local/Cellar/unison/2.48.3... (6 files, 3.6MB)
Removing: /usr/local/Cellar/unixodbc/2.3.2_1... (34 files, 954.8KB)
Warning: Skipping unrar: most recent version 5.5.3 not installed
Removing: /usr/local/Cellar/watchman/3.9.0... (17 files, 254.0KB)
Removing: /usr/local/Cellar/watchman/4.4.0... (22 files, 386.2KB)
Warning: Skipping wget: most recent version 1.19.1_1 not installed
Removing: /usr/local/Cellar/wxmac/3.0.2... (812 files, 39.5MB)
Removing: /usr/local/Cellar/wxmac/3.0.2_2... (809 files, 23.7MB)
Removing: /usr/local/Cellar/x264/r2601... (10 files, 3.3MB)
Removing: /usr/local/Cellar/x264/r2728... (11 files, 3.3MB)
Removing: /usr/local/Cellar/xz/5.2.1... (91 files, 1.4MB)
Removing: /usr/local/Cellar/xz/5.2.2... (91 files, 1.4MB)
Warning: Skipping yarn: most recent version 0.24.6 not installed
Removing: /usr/local/Cellar/yasm/1.3.0... (44 files, 3.1MB)
Warning: Skipping youtube-dl: most recent version 2017.05.29 not installed
Removing: /usr/local/Cellar/zlib/1.2.8... (11 files, 361.6KB)
==> This operation has freed approximately 4.4GB of disk space.

清理出 4.4G 空间,大功告成。

(完)

五个值得收藏的免费图片资源站,解决公众号主图难题

五个值得收藏的免费图片资源站,解决公众号主图难题

还在为找公众号主题图而犯愁吗?找一个合适而又不侵权的图片总是不容易,那么这五个免费图片资源站你一定要收藏好。这些站点的图片都采用CC0许可协议,也就是说你可以复制、分发、修改或用于商用,do-what-ever-you-want(做你想做任何事)。

1) https://pexels.com/

特点:支持标签搜索,登录后可点喜欢;每天100张高质量免费图片;热门图片、热门搜索以及下载次数排行都是非常有用的功能。

pexels

2) http://pixabay.com

特点:登录后并上载10张 CC0 图片可以全站免广告;支持点赞图片,收藏图片,Follow 图片拥有人;相似图片功能非常好用。

pixabay

3) https://unsplash.com

特点:每天更新高分辨率图片,除点赞功能外,支持自建集合,可以将自己喜欢的图片分门别类,如果其它站点是语义标签或者图片进行关联,unsplash 的集合则像带有强烈的个人喜好,很多图片集非常有帮助。

unsplash

4) https://stocksnap.io

特点:除按标签搜索,stocksnap 支持按日期、趋势、浏览次数、下载次数、喜欢数的排序(正排序和倒排序)。

free-image-stocksnap

5) http://librestock.com/

特点:和以下四个不同的是,官方宣称整个47个免费图片 CC0 授权站点,让你一次搜个够。如果前四个仍不能找到合适的图片,这一款一定可以帮到你。

librestock

如何解压 tar.gz 文件?

如何解压 tar.gz 文件?

解压 .tar 文件

$ tar xvf filename.tar

解压 .gz (.gzip) 文件

$ gunzip filename.gz

解压 .tar.gz 文件

$ tar -xzf filename.tar.gz
“斜杠青年”《双重职业》究竟是那本书?

“斜杠青年”《双重职业》究竟是那本书?

前几天从文章你和 “斜杠青年” 的距离只有三步了解到“斜杠青年”提到《双重职业》。

斜杠青年来源于英文 Slash,出自《纽约时报》专栏作家麦瑞克·阿尔伯撰写的书籍《双重职业》

于是想找到来这本书。

已知信息,“斜杠青年”、Slash、 《双重职业》、作者中文名字麦瑞克·阿尔伯,是 New York Times 专栏作家。

先用作者中文名字麦瑞克·阿尔伯检索,再用“斜杠青年” + Slash 查询,能查询到的多篇文章,大家介绍都类似,只有这本书的中文名称《双重职业》无法找到更多有用信息。分别使用“双重职业”或“麦瑞克·阿尔伯”都不能找到更多关于原书的信息。看来对这本书的中文引进没有想像中那么引起大家的广泛关注,或者根本没有中文版出现。

那只好使用英文词语搜索了“Slash New York Times Career”,Bingo,结果中出现了“Marci Alboher”… Her new book, The Encore Career Handbook: How to Make a Living and a … author of One Person/Multiple Careers: The Original Guide to the Slash “/” Career … for The New York Times and the “Working the New Economy” blog for Yahoo.

就是她了。

于是找到了这本书《One Person/Multiple Careers: A New Model for Work/Life Success》,可惜没有kindle版。

14697131194389

书名直译应该是《一个人/多种职业:工作/生活双赢新模型》,而且作者的名字直译应该是“麦瑞茜·埃尔伯赫”,不知道是那位翻译成现在这个样子。

—–

7月29日更新,今天再使用关键词搜索时发现知乎上有一条问答提到了这本书正确的英文书名和作者的英文名字。这篇文章写于6月22日,昨天发布到博客上,当时检索时没有找到任何可用信息,也可能当时没有留意那条知乎信息。

 


参考备注: