[Solved] Xbox (Beta) Game Pass Download Error 0x0000001

I recently subscribed Xbox Game Pass, however some games cannot be installed with 0x0000001 error. All methods from Microsoft forum or Reddit are not working for me. After wasted a lot of time, I found my way to solve the problem.

Method 1: Set Correct Group

  1. Press Win + R
  2. Type “lusrmgr.msc” and press “Enter”
  3. Double click your user and go to the “Member of” tab.
  4. Make sure it is “Administors” and “Users”
  5. If not, click “Add…” to add them back

Method 2: Create an Local Administor Account

  1. Go to “Settings”
  2. Find “Family & other users”
  3. Click “Add someone else to this PC”
  4. Click “Add a user without a Microsoft account”
  5. After created the account, click “Change account type”, and select “Administor” from dropdown list.
  6. Logout your current account and login your new account
  7. Try to open Xbox (Beta) and download some games.

NativeScript + Vue + Typescript

https://www.nativescript.org/blog/nativescript-vue-with-class-components

npm install -g @vue/cli @vue/cli-init

vue init nativescript-vue/vue-cli-template <project-name>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component
export default class MyComp extends Vue {
  @Prop() private msg: string;
}
</script>

CentOS cannot bootup after remove gnome

https://docs.bmc.com/docs/display/DISCO113/Booting+in+rescue+mode+on+CentOS+7

It stopped at “Started Update UTMP about System Runlevel Changes.”

Following the URL instruction and add this systemd.unit=multi-user.target

After login, change the default target using this command:
systemctl set-default multi-user.target

MariaDB Galera Cluster 筆記

原本 MySQL 加Cluster 的方法實在很麻煩,又要mysqldump又長downtime,仲要好難SET。今日無意中發現MariaDB Galera Cluster加入Cluster Node 係方便好多!

基本上跟住呢個教學做就OK
https://ahmermansoor.blogspot.com/2019/02/install-mariadb-galera-cluster-on-centos-7.html
( mysql_secure_installation 嗰一步唔使做 )

但有個卡關位係,因為本身個MariaDB 比較大,Cluster Node 開始Sync 嘅時候,多過1分30秒,systemd 當start fail!

解決方法係喺 /etc/systemd/system/mysqld.service, 喺 [Service] 下面加返 TimeoutStartSec = 60m

另外/etc/my.cnf 如果有啲特別設定,最好都複雜埋去啲 Cluster Node 。

仲有只支援 InnoDB,MyISAM 同步唔到新加的資料,要留意。