Submit packages to winget

Create your package manifest 1 winget install wingetcreate 1 wingetcreate new 1 wingetcreate update --urls <InstallerUrl1> <InstallerUrl2> --version <Version> <PackageIdentifier> 1 Get-FileHash a2fa_Windows_x86_64.zip Validate your manifest 1 winget validate \<path-to-the-manifests> Tested your manifest locally This feature needs to be enabled by administrators. To enable it, run ‘winget settings –enable LocalManifestFiles’ as administrator. 1 winget settings --enable LocalManifestFiles 1 winget install --manifest .\manifests\c\csyezheng\a2fa\0.16.2 Test your manifest with Windows Sandbox 1 powershell .

dotfiles

General /etc/profile /etc/profile initializes system-wide variables for login shells only. /etc/profile should be sourced by all POSIX sh-compatible shells upon login: it sets up $PATH and other environment variables .profile The $HOME/.profile file is an individual user profile. The .profile was the original profile configuration for the Bourne shell (a.k.a., sh). $HOME/.profile is not a part of the zsh startup files and is not sourced by zsh. $HOME/.profile can be sourced by Bourne-compatible shells (bash, ksh).

tox

tox is a generic virtual environment management and test command line tool, it aims to automate and standardize testing in Python. Tox is less useful due to Github Actions, but Tox can be used as an automated testing tool when developing locally, running tests on the local machine, performing final checks before pushing, etc. Installation via pipx 1 2 3 python -m pip install pipx-in-pipx --user pipx install tox tox --help via pip 1 2 python -m pip install --user tox python -m tox --help Usage Test Configuration 1 vim tox.

Disable google chrome extension automatic updates

Install and configure Chrome policy templates Windows Add the Chrome browser policy template Download the latest Chrome policy template. Copy the google.admx and chrome.admx files to your Policy Definition template folder. (Example: C:\Windows\PolicyDefinitions) In the admx folder, open the appropriate language folder. For example, if you’re in the U.S., open the en-US folder. Copy the google.adml and chrome.adml files to the matching language folder in your Policy Definition folder. (Example: C:\Windows\PolicyDefinitions\en-US) Open Group Policy (by Start > Run: gpedit.

Submit packages to PyPI

Packaging Python Projects 1 python -m pip install --upgrade pip The project structure 1 2 3 4 5 6 7 8 edx-helper/ ├── LICENSE ├── pyproject.toml ├── README.md ├── edx_helper/ │ ├── __init__.py │ └── edx_dl.py └── tests/ Creating pyproject.toml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 [build-system] requires = ["hatchling"] build-backend = "hatchling.

Distributed Services with Go

1 2 3 $ mkdir proglog $ cd proglog $ go mod init github.com/csyezheng/proglog Building Storage Layer and Data Structures JSON is human readable, JSON/HTTP API acting as the public API of their service either for front-end engineers at their company to use or for engineers outside the company to build their own third-party applications. For their internal web APIs, the company may take advantage of technologies like protobuf for features that JSON/HTTP doesn’t provide—like type checking and versioning.

Data Governance

Data Governance over a Data Life Cycle Phases of a Data Life Cycle Data Creation Data Processing Data Storage Data Usage Data Archiving Data Destruction Applying Governance over the Data Life Cycle Data Governance Framework Data Governance in Practice Example data governance policy template Improving Data Quality Data Protection Monitoring Reference Data Governance: The Definitive Guide BigQuery data governance

Arch Linux System maintenance

Check for errors Failed systemd services Check if any systemd services have failed: 1 $ systemctl --failed Log files Look for errors in the log files located in /var/log/, as well as messages logged in the systemd journal: 1 # journalctl -b Backup Configuration files For tracking changes and backing up configuration files I use etckeeper for /etc and chezmoi (really cool piece of software) for my dotfiles. To back up my data I recently switched to restic.

Presto

Presto is a distributed SQL query engine designed to query large data sets distributed over one or more heterogeneous data sources. Presto was not designed to handle Online Transaction Processing (OLTP). Presto is not a general-purpose relational database. It is not a replacement for databases like MySQL, PostgreSQL or Oracle. Presto was designed as an alternative to tools that query HDFS using pipelines of MapReduce jobs such as Hive or Pig, but Presto is not limited to accessing HDFS.

An unlimited number of forwarding email addresses

Log in to the Cloudflare dashboard and select your account and domain. Go to Email > Email Routing and select Get started. select Catch-all address and enable Catch-all address. Cloudflare needs to add the relevant MX and TXT records to DNS records for Email Routing to work. This step is automatic and is only needed the first time you configure Email Routing. It is meant to ensure you have the proper records configured in your zone.

Medical knowledge

Basic human anatomy Basic first aid Basic CPR (cardiopulmonary resuscitation: 心肺复苏术) Common ailments treat common ailments with non prescription drugs Basic medicines Ibuprofen (布洛芬) Ibuprofen is a nonsteroidal anti-inflammatory drug (NSAID) that is used to relieve pain, fever, and inflammation. This includes painful menstrual periods (痛经), migraines (偏头痛), and rheumatoid arthritis (

Helm

Helm is a tool that automates the creation, packaging, configuration, and deployment of Kubernetes applications by combining your configuration files into a single reusable package. Install Helm 1 pacman -S helm Concepts Chart A Chart is a Helm package. It contains all of the resource definitions necessary to run an application, tool, or service inside of a Kubernetes cluster. Think of it like the Kubernetes equivalent of a Homebrew formula, an Apt dpkg, or a Yum RPM file.

Email management

Inbox Zero Remember that an email is just a tool for communication, not a job on its own. Even if answering emails is a part of your job, it’s certainly not all you do, don’t spend much time on it. By using a set of mail filters to pre-sort incoming mail and batch process them. The ones that are left then get the GTD treatment of quick response, file away to action, or just archive.

Figma Tutorial

Explore ideas Canvas (画布) The canvas is the backdrop for all of your designs - it’s where you’ll add all the frames, shapes, text, and images. In the right sidebar, the canvas color can be changed in the Background section. In the right sidebar, the canvas can be toggled off in the Background section. Frames (框架) Frames are the containers you place your shape,

Windows IoT Enterprise LTSC Post Installation Guide

Update Update Windows Go to Settings under the Start menu. Choose Update & security to enter the Windows Update page to check for updates. After available updates are downloaded and prepared, Click Restart now to apply the updates. Update Drivers Right-click on the Start menu and choose Device Manager to open it to update device drivers. Install Windows Package Manager winget Prepare modify hosts 1 157.56.8.150 nuget.org 1 Get-ExecutionPolicy 1 Set-ExecutionPolicy RemoteSigned Install winget Download microsoft-ui-xaml

Product Management

Introduction to Software Product Management guide the development of a software product from inception to delivery。 how to understand and refine the software requirements of a client. how to communicate those requirements to a team of developers. learn techniques for monitoring your projects to ensure they align to client needs. describe the role of a software product manager. Explain what Agile software development is all about. An effective software product manager is a good listener.

Product Management Topics

Product Strategy Cost Strategy Differentiation Strategy Focus Strategy Quality Strategy Service Strategy Credit Risk Management Credit score Credit scoring models (scorecards) FICO (Fair Isaac Corporation) Scores 支付历史 信用利用率 信用记录 信用使用 新信贷 The overall FICO score range is between 300 and 850. In general, scores in the 670 to 739 range indicate a “go

Software Product Management Specialization

Course 1: Introduction to Software Product Management Overview of Software Product Management Definition: Software product management involves overseeing the development, marketing, and lifecycle management of software products. Role: Product managers are responsible for defining the product vision, gathering requirements, prioritizing features, and guiding the development process to ensure successful product delivery. Product managers play a crucial role in driving the success of software products by aligning them with customer needs and business objectives.

Airflow

Apache Airflow™ is an open-source platform for developing, scheduling, and monitoring batch-oriented workflows. Airflow™ is a batch workflow orchestration platform. Airflow is deployable in many ways, varying from a single process on your laptop to a distributed setup to support even the biggest workflows. Installation Local Deployment Set Airflow Home (optional): 1 export AIRFLOW_HOME=~/airflow Install Airflow using the constraints file, which is determined based on the URL we pass: 1 2 3 4 5 6 7 8 9 AIRFLOW_VERSION=2.