Skip to content

Instantly share code, notes, and snippets.

View changanmoon's full-sized avatar

Tiffany Fung changanmoon

View GitHub Profile
@changanmoon
changanmoon / ms_mac.md
Last active December 25, 2024 00:57
Direct links for macOS version of Microsoft apps.

Microsoft Mac Downloads

These links were copied formerly from https://macadmins.software/.

All links on this gist point to Microsoft's official download on its Content Delivery Network (CDN).

Package Release CFBundle Identifier Download
Microsoft 365 and Office 2021 Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / MAU) N/A https://go.microsoft.com/fwlink/?linkid=525133
Microsoft 365 BusinessPro Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / Teams / Defender Shim / MAU) N/A h
@changanmoon
changanmoon / config.yml
Created November 12, 2024 05:07
Issue template configuration file. This file is placed in `.github/ISSUE_TEMPLATE`.
blank_issues_enabled: false
@changanmoon
changanmoon / feature_request.yml
Last active December 1, 2024 09:22
Feature Request issue template. This file is placed in `.github/ISSUE_TEMPLATE`.
name: Feature Request
description: Feature request on this project.
labels: [Feature Request]
body:
- type: markdown
attributes:
value: |
⚠️ Important: Before submitting your issue, please first search for existing issues (including closed and pinned issues).
Always comment on an existing issue instead of making one.
@changanmoon
changanmoon / bug_report.yml
Last active December 1, 2024 09:22
Bug Report issue template. This file is placed in `.github/ISSUE_TEMPLATE`.
name: Bug Report
description: Report bugs related to this project.
labels: [Bug]
body:
- type: markdown
attributes:
value: |
⚠️ Important: Before submitting your issue, please first search for existing issues (including closed and pinned issues).
Always comment on an existing issue instead of making one.
@changanmoon
changanmoon / prepare_ubuntu.sh
Last active November 12, 2024 03:56
Prepare an Android ROM development environment on Ubuntu Server
#!/bin/bash
# For building Android ROMs, it is recommended to reserve at least 150 GB storage space on your disk.
# This script will enable `ccache`, which could help you speed up building ROMs.
# Fix problem with sudo apt get update: "The repository cdrom... does not have a Release file"
sudo echo "" > /etc/apt/sources.list
# Fix dpkg
sudo dpkg --configure -a
@changanmoon
changanmoon / clean_xattr.sh
Last active November 16, 2024 10:08
A script to clean file metadata on macOS
#!/bin/bash
# This shell script will remove all the metadata given below.
# It can be helpful if you care about privacy issues, as metadata records some file information, like files' download sources.
# Use it with caution. Please don't use it in some special folders (e.g., app bundles).
# If you find other metadata attributes that could be displayed via `ls -la@O` command on macOS, feel free to send your comments, and I'll update this file.
sudo xattr -d -r com.apple.FinderInfo ./*
sudo xattr -d -r com.apple.metadata:kMDItemDownloadedDate ./*
sudo xattr -d -r com.apple.metadata:kMDItemWhereFroms ./*