`master` is protected branch

本文最后更新于(2024-2-24 22:04:44),链接可能失效,内容可能难以复现。请注意甄别。
引用《关于受保护分支》 最近需要删除几张图床上的图片,在推送的时候报错`master` is protected branch
  1. 进入网页https://github.com/[username]/[repositoriesname]
  2. 点击Settings-Branches
  3. 在Branch protection rules下点击Add rules
  4. Branch name pattern填入master
  5. 拉动页面到最下方找到Rules applied to everyone including administrators
  6. 点击Create,之后输入密码确认即可。

使用vlmcsd激活出现错误0x8007000d

本文最后更新于(2022-1-21 16:10:39),链接可能失效,内容可能难以复现。请注意甄别。
待激活的产品和kms激活服务器不能安装在同一台电脑上。最简单的方法就是远程激活或者采用虚拟机桥接网络的方式激活。 此方法可以激活截止目前的所有版本。 引用https://github.com/Wind4/vlmcsd/issues/6#issuecomment-577540676
Because it’s not a bug or problem with vlmcsd. The reason for this error in this case is because the KMS server and the KMS client (Windows/Office) that’s being activated are on the same machine using “localhost” or “127.0.0.1” as the KMS server. This is not supported by Microsoft and there is nothing that can be done to “fix” this on the vlmcsd end. If you’re seeing this error, and you are using a virtual network adapter (either VPN or TeamViewer) to circumvent this limitation, or if your vlmcsd server is running on a different machine or VM, please submit a new bug report with all the pertinent details, like IP addresses of the vlmcsd server and the machine trying to get activated.

qq账号无法在手机登录

本文最后更新于(2021-8-31 19:53:39),链接可能失效,内容可能难以复现。请注意甄别。
© Sunplace,2021 一个很长时间不在手机上登录的QQ账户,需要在手机登录。尝试以下方法无效
  • 手机验证
  • 实名认证+人脸识别
  • 好友辅助验证
我经过4次上述的验证流程失败后,终于找到了一种曲线救国的解决方法。本方法全网首发,抄袭的都是伞兵。 准备工作 一台安卓手机,这台手机可以是自己的也可以是别人的。 操作步骤
  1. 下载一个旧版本的QQ,我使用豌豆荚下载历史版本QQ2018
  2. 卸载之前的QQ,安装QQ2018并登录
  3. 登录后提示升级,会自动跳回登录界面(一定要确定登陆成功
  4. 点击升级下载最新版或者在应用商店里手动更新QQ到最新版
  5. 登录最新版QQ
  6. (使用别人的手机、登录另外一台手机)这样可以在登陆验证的时候用原来的QQ扫码验证之后,另一台手机就可以成功登录了
 

预装Office迁移

本文最后更新于(2024-3-5 11:10:34),链接可能失效,内容可能难以复现。请注意甄别。
© Sunplace,2021

引言

出厂的Windows设备(笔记本电脑、台式主机、平板)都会自带Windows和Office。Windows的激活信息是绑定主机的,Office的激活信息是绑定账号的。也就是说,预装的Office(OEM)在电脑废弃的时候依旧能给一些没有预装Office的设备(通常是组装台式机)激活使用。

从Office2007到目前的Office2019都有OEM版本,我用使用过的Office预装版本为Office2016和Office2019家庭和学生版(Home and Student),不保证其他OEM版本是否可行,也不适用于Office365

迁移之前,我们来看看Office各个版本对Windows的最低安装要求。

Office版本 可以正常运行的Windows版本
Office 2003
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2008
  • Windows Server 2008 R2
  • Windows Vista
  • Windows XP
  • Windows Server 2003 R2
  • Windows Server 2003
  • Windows 2000 (Service Pack 3 与 4)
Office 2007
  • Windows XP SP2及之后版本
Office 2010
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2008
  • Windows Vista Service Pack 1
  • Windows Server 2003 R2
  • Windows XP Service Pack 3(仅32位)
Office 2013
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows RT
  • Windows Server 2012
  • Windows Server 2008 R2
Office 2016
  • Windows 7 Service Pack 1 及之后版本
Office 2019
  • Windows 10 v1809 及之后版本
  • Windows Server 2019
Office 2021
  • Windows 11
  • Windows 10
  • Windows 10 LTSC 2021
  • Windows 10 LTSC 2019
  • Windows Server 2022
  • Windows Server 2019
Microsoft 365
  • Windows 11
  • Windows 10
  • Windows Server 2019
  • Windows Server 2016

迁移前操作(在已预装Office的设备上)

如果你已经激活,请记住绑定的微软账户Office版本,并跳过本步骤。

  1. 启动预装的Office[1],可以是Word、Excel等任一个,不要启动Get Office。
  2. 根据提示信息[2],激活Office。
[1]没有预装Office是无法迁移激活信息的。 [2]没有激活提示信息弹出?在文件-账户选项中查看激活信息,显示产品已激活,有属于某个邮件地址的信息。可以跳过本步骤。如果显示未激活或重装系统导致激活丢失,请安装cssemerg97275补丁,再尝试。

迁移操作(在未预装Office的设备上)

  1. 下载安装对应版本的Office。可以登录https://account.microsoft.com/services下载安装包,或者用Office Tool Plus下载安装包。
  2. 打开Office的任何程序,在文件-账户里登录邮件地址激活。
  3. 如果邮箱地址绑定多个Office,会让你选择。OEM Office激活信息是能在一台电脑上使用,除非激活之后不联网。

share appleid 003

本文最后更新于(2023-2-12 14:22:04),链接可能失效,内容可能难以复现。请注意甄别。
© Sunplace,2021 iOS出现验证apple id弹窗,一般是在恢复的时候。如果这个id是[email protected],就是在你备份之前使用过爱思助手下载安装过APP。 这些APP在爱思助手上显示的标签是共享正版,也就是说此APP是使用[email protected]这个账户下载的。 如果这是一台首次激活的机器,那必定是翻新机无疑。 最简单的方法就是卸载之前的APP,使用自己的ID登录AppStore下载APP。如果你这个APP有重要数据且没有同步到iCloud,或者这个APP是付费版,那就继续往下阅读。 解决方法:
  • APP有重要数据的,需事先备份。
  • 在手机上删除这些APP(不是卸载)。
  • 方法一:打开AppStore登录自己的账户下载。尽量不使用共享正版APP。
  • 方法二:连接爱思助手重新下载共享正版
  • 方法三:替换购买信息,使共享正版变为苹果正版
  1. 打开爱思助手(此时不要连接手机)。
  2. 搜索APP(以百度地图为例),下载(可以下载旧版本)。
  3. 找到下载后的ipa文件,用压缩文件打开(或者改后缀ipa为zip,记得替换后改回ipa)。
  4. iTunesMetadata.plist解压出来。
  5. 关闭爱思助手,打开旧版本(12.6.3.6)iTunes,连接手机。
  6. 下载最新版(以百度地图为例),打开文件夹C:\Users\[用户名]\Music\iTunes\iTunes Media\Mobile Applications
  7. 找到下载好的ipa文件,把里面的iTunesMetadata.plist提取出来,为了防止重名,可以改为iTunesMetadata2.plist
  8. 用记事本打开iTunesMetadata2.plist,找到购买信息。
    <key>appleId</key>
    	<string>[your_email_address]</string>
    (...)
    <dict>
    		<key>accountInfo</key>
    		<dict>
    			<key>AccountStoreFront</key>
    			[your_info]
    		</dict>
    		<key>purchaseDate</key>
    		<string>2020-03-19T12:34:24Z</string>
    	</dict>
  9. 复制替换掉:
    1<key>appleId</key>
    	<string>[email protected]</string>
    (...)
    	<dict>
    		<key>accountInfo</key>
    		<dict>
    			<key>AccountStoreFront</key>
    			<string>143465-19,32</string>
    			<key>AppleID</key>
    			<string>[email protected]</string>
    			<key>DSPersonID</key>
    			<integer>11466437223</integer>
    			<key>DownloaderID</key>
    			<integer>0</integer>
    			<key>FamilyID</key>
    			<integer>0</integer>
    			<key>PurchaserID</key>
    			<integer>11466437223</integer>
    		</dict>
    		<key>purchaseDate</key>
    		<string>2019-09-17T07:12:26Z</string>
    	</dict>
  10. 替换掉爱思助手下载的ipa文件里的iTunesMetadata.plist
  11. 用爱思助手或者iTunes安装ipa(如果需要升级,iTunes下载最新APP覆盖安装即可)
  • 方法四:使用iOS旧版APP下载工具。(仅适用于非中国内地appleid)
    1. 打开iTunes(12.6.3.6)。
    2. 登录非中国内地appleid。
    3. 连接手机。
    4. 打开iOS旧版APP下载工具,选区,搜索关键字。
    5. 选中左列右键,单击查看旧版
    6. 选中右列右键,单击选中版本
    7. 在iTunes里搜索到下载的APP,进入下载页面。
    8. iOS旧版APP下载工具点击启动
    9. 在iTunes点击下载即可。