Skip to content

Instantly share code, notes, and snippets.

View muink's full-sized avatar
🍭
🍭 🍭

Anya Lin muink

🍭
🍭 🍭
  • Azeroth land
View GitHub Profile
@muink
muink / SSD-write-optimize-and-cache-user-data-path-custom-for-chrome.md
Last active January 10, 2025 05:01
SSD写入优化与Chrome 自定义缓存/用户数据路径

SSD写入优化与Chrome 自定义缓存/用户数据路径

随着大容量消费级SSD的普及,更多的用户选择使用SSD作为系统盘或程序盘 而在享受急速体验的同时,一小部分人认识到了SSD的寿命=容量*P/E次数=总可写入量 于是各种减少写入优化SSD的文章也如雨后春笋后冒了出来,虽有一定借鉴意义,可过于极端的配置却导致一定的易用性缺失 用户应该根据自己SSD的实际情况,有选择的进行优化

1. 首先了解自己SSD的容量颗粒介质可写入总量(TBW)

  • 通常SSD的总可写入量(TBW)=容量*可P/E总数,也有些厂商会标注出产品的TBW以方便用户查询
  • 对于使用SLC介质的SSD(例如Intel企业级)通常其P/E总数在100000次以上,即使64G的容量也有6250TBW的可写入量
@muink
muink / remove_crw.cmd
Created February 21, 2016 08:05 — forked from xvitaly/remove_crw.cmd
Remove telemetry updates for Windows 7 and 8.1
echo Uninstalling KB3075249 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
echo Uninstalling KB3080149 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
echo Uninstalling KB3021917 (telemetry for Win7)
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
echo Uninstalling KB3022345 (telemetry)
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
echo Uninstalling KB3068708 (telemetry)
start /w wusa.exe /uninstall /kb:3068708 /quiet /norestart
<!DOCTYPE html>
<html lang="zh-TW">
<head>
<meta charset="UTF-8">
<title>使用 Notepad++ 作為 GitHub 預設的文字編輯器</title>
</head>
<body>
<blockquote>參考來源:<a href="http://www.buildmeimfamous.net/2013/12/use-notepadplusplus-with-git-as-default-editor</a></blockquote>
<p><code>GitHub</code> 雖然提供界面讓使用者可以直接輸入內容,但因為 git 的開發目的主要是為了撰寫程式,所以沒有考慮中文顯示的問題。如果要在文章中鍵入中文,建議採用外部編輯器,在這裡推廌使用 Notepad++。</p>
<h2>如何將 Notepad++ 設定成 GitHub 的預設編輯器</h2>
@muink
muink / Git Configs
Created March 2, 2016 03:30 — forked from tacsio/Git Configs
My git config
git config --global user.name "Tarcisio Coutinho"
git config --global user.email "[email protected]"
git config --global color.ui true
git config --global alias.s status
git config --global alias.c checkout
git config --global alias.b branch
git config --global alias.lol log --oneline --graph --decorate
@muink
muink / Fetch-offline-install-update-package-form-Adobe-CC-Desktop.md
Last active February 23, 2024 11:21
Adobe CC Desktop提取离线安装包与更新包方法

Adobe CC Desktop提取离线安装包与更新包方法

常备离线安装包以方便在无网络/网络速度慢或被防火墙阻断连接的环境中再次安装使用

新工具推荐

  • CCMaker 这个工具非常方便,可以作为本篇工具的完全替代品
  • 不过需注意的是下载离线包时可能需要让CCMaker.exeCCMaker.tmp 这两个进程走科学上网通道

工具准备

  1. 已安装好的 CreativeCloud 桌面软件
@muink
muink / Remove-the-has-been-unnecessary-drivers.md
Created May 15, 2016 03:12
移除windows中已不需要的驱动程序

移除windows中已不需要的驱动程序

操作步骤

  1. 右键计算机>管理>设备管理器
  2. 选中计算机名>操作>添加传统硬件
  3. 下一步>安装我手动从列表选择的硬件(高级)
  4. 下一步>选择显示所有设备
  5. 下一步>将显示本机已存驱动程序
  6. 选择准备要删除的驱动>下一步
  7. 下一步>安装硬件>显示已安装但可能无法正确运行

跨区安装锁区play应用

需要的东西

  1. 出口节点为锁区国家的隧道
  2. [APK Downloader][]
  3. google帐号
  4. 一台可以正常使用GMS的Android设备

操作步骤

  1. 在设备上登入google帐号
@muink
muink / manually-repair-system-bootloader-on-legacy-mbr.md
Last active April 18, 2019 17:26
换ssd无损迁移windows系统(重建mbr引导)

换ssd无损迁移windows系统(重建mbr引导)

  1. 将ssd挂上现有电脑系统
  2. 把ssd用mbr方式分区
  3. 创建第一个100M-200M的ntfs主分区, 并将其设置为活动分区, 作为引导分区放置引导文件
  4. 创建第二个ntfs主分区作为系统分区放置系统文件
  5. 可选的其他分区
  • 并不建议分过多分区, 尤其是逻辑分区, 一般1-3个主分区足矣
  1. 在PE或其他电脑使用Link Shell Extension进行分区对分区的智能镜像(为了处理windows下的硬链接), 将原有c盘文件同步到ssd系统分区
  2. Link Shell Extension无法镜像NTFS压缩文件, 须使用fastcopy-m完全复制文件/文件夹的时间和其他属性,勾选复制ACL控制列表连带复制权限
@muink
muink / fastboot_commands.txt
Created May 29, 2016 07:56 — forked from zhuowei/fastboot_commands.txt
Huawei Nexus 6P Angler fastboot commands
List grabbed from running `strings` on the bootloader; it's probably incomplete.
Most of these commands are untested, and all of them sound like they can seriously break your phone. Be careful.
Tested: (all on a bootloader unlocked device)
fastboot oem uart enable: changes "Console" on the bootloader screen to say "ttyHSL0,115200,n8";
probably enables serial messages; haven't checked since I don't know where the Nexus 6P's uart is
fastboot oem ramdump enable: changes "Download mode" on the bootloader screen to say "ENABLED" instead of "DISABLED".
@muink
muink / win7-reinstall-patch-required.txt
Last active July 17, 2017 09:35
win7重灌需要安装的补丁
正常检查更新需要的补丁:
KB3102810
KB3112343
KB3135445
KB3138612
KB3172605
SP2补丁包:
KB3020369
KB3125574
2016年月度更新: