Skip to content

Instantly share code, notes, and snippets.

Buried in Codes

Tim Zhang ttimasdf

Buried in Codes
View GitHub Profile
Kutkovsky /
Created Jun 26, 2019
The steps allowing to create macOS 10.15 Catalina VM on vSphere or ESXi
# Steps to create the macOS Catalina (10.15) VM:
# login to or to download a tester's profile for your OS. Install it.
# Go to System Preferences > Software Update and start the update process
# When the Catalina Installer (few MBytes) is started, it downloads the remain part of installation.
# After all `Install Catalina` should lay in the /Applications folder with approx. 6.5g size
# Proceed with the following script.
set -eux
ihciah / README.MD
Last active Jun 27, 2021
A reverse proxy for Telegram Bot API on Aliyun Function Compute / Cloudflare Workers

A reverse proxy for Telegram Bot API on Aliyun Function Compute / Cloudflare Workers

To help users in China mainland access telegram api stably and conveniently with low cost, this script maybe the one you need.

The server-less means you don't have to run a server to proxy the requests, just pay as you go.


Edit key_prefix, set it to the prefix of you bot address(like /bot563441998:) can avoid abusing.

ihipop / frp
Last active Jul 4, 2021
FRP systemd 启动脚本 FRP systemd init config
View frp
View gist:aa8cdc1d39c3fa355c499f89a15b9753
"stats": {},
"api": {
"services": [
"tag": "api"
"policy": {
"levels": {
asukakenji /
Last active Jul 27, 2021
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.14.7 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • aix
  • android
cdpath / wechat.json
Last active Jun 30, 2021
使用 Huginn 实现微信公众号全文 RSS
View wechat.json
"schema_version": 1,
"name": "WeChat",
"description": "微信公众号全文 RSS",
"source_url": false,
"guid": "dd67102f09869c2228f8ed903a32d063",
"tag_fg_color": "#333333",
"tag_bg_color": "#66ff66",
"icon": "leaf",
"exported_at": "2019-01-12T10:56:41Z",
shvechikov /
Last active Jul 20, 2018 — forked from snehesht/Concurrent HTTP Requests with Python3 and asyncio
Concurrent HTTP Requests with Python3 and asyncio

Concurrent HTTP Requests with Python3 and asyncio

My friend who is a data scientist had wipped up a script that made lots (over 27K) of queries to the Google Places API. The problem was that it was synchronous and thus took over 2.5 hours to complete.

Given that I'm currently attending Hacker School and get to spend all day working on any coding problems that interests me, I decided to go about trying to optimise it.

I'm new to Python so had to do a bit of groundwork first to determine which course of action was best.

JPvRiel /
Last active Jun 5, 2021
Enable persistent storage for the systemd journal log

Enable persistent storage for the systemd journal log


The assumed default setting in /etc/systemd/journald.conf is Storage=auto which implies that systemd journaling will only persist the journal if the expected storage location is available. Otherwise, the journal data is stored in memory and lost between reboots. On Ubuntu 16.04, /var/log/journal does not exist by default. Create it to keep and query events from previous boots.


  • Syslog still provides the persistant log records for Ubuntu 16.04, so enabling persistant systemd journal logging does cause a level of duplicaiton.
  • There are sane defaults:
View gcmformojo架设教程.md
title date tags
GCMForMojo 的部署与设置
2017-01-21 11:07:03 -0800



roadrunner2 / 0
Last active Jul 26, 2021
Linux on MacBook Pro Late 2016 and Mid 2017 (with Touchbar)
View 0


This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).

The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.

Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se