Skip to content

Instantly share code, notes, and snippets.

View zhuoqun-chen's full-sized avatar
🚀
Let's Go!

Zhuoqun(Jack) Chen zhuoqun-chen

🚀
Let's Go!
View GitHub Profile
@zhuoqun-chen
zhuoqun-chen / README.md
Created October 31, 2024 03:15 — forked from hoishing/README.md
disable Gatekeeper with configuration profiles in macOS 15

Disable Gatekeeper with Configuration Profiles

Starting from macOS 15, sudo spctl --master-disable is no longer supported to disable Gatekeeper.

We need to disbale it with Configuration Profiles.

How

  • Create a new configuration profile, an XML file with .mobileconfig extension, refer the sample file in this gist
  • replace the UUID with your own, you can use uuidgen in terminal to generate a new one
@zhuoqun-chen
zhuoqun-chen / README.md
Created October 26, 2024 18:42 — forked from CaptainVincent/README.md
Improve your vscode quickinput-widget

Customize your quickinput-widget

This is a small tool designed to emulate the Sublime style Command Palette as follows.

Screenshot

It requires the use of a specific extension to load the js file from this gist.

I'm using the APC extension, and the usage is as follows.

@zhuoqun-chen
zhuoqun-chen / anydesk-enable-remote-access.md
Created September 5, 2024 06:27 — forked from imami/anydesk-enable-remote-access.md
AnyDesk - How Enable Remote Access from ubuntu/debian terminal

###AnyDesk - How Enable Remote Access from ubuntu/debian terminal.

Note:

Here are the commands might be usefull in this purpose:

  • anydesk --get-status : To get current status of anydesk, which might be offlien,online or nothing.
  • anydesk --get-id : To get the ID that your system can be accessed by.
  • anydesk --service : To start anydesk service if not already running (for Linux).
  • anydesk --restart-service : To restart anydesk service
  • anydesk --stop-service : To stop anydesk service
@zhuoqun-chen
zhuoqun-chen / x11_docker_mac.md
Created July 23, 2023 05:21 — forked from cschiewek/x11_docker_mac.md
X11 in docker on macOS

To forward X11 from inside a docker container to a host running macOS

  1. Install XQuartz: https://www.xquartz.org/
  2. Launch XQuartz. Under the XQuartz menu, select Preferences
  3. Go to the security tab and ensure "Allow connections from network clients" is checked.
  4. Run xhost + ${hostname} to allow connections to the macOS host *
  5. Setup a HOSTNAME env var export HOSTNAME=`hostname`*
  6. Add the following to your docker-compose:
 environment:

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@zhuoqun-chen
zhuoqun-chen / actionlist.vim
Created January 10, 2023 20:08 — forked from zchee/actionlist.vim
IdeaVim actionlist
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb <A-S-G>
$SelectAll <M-A>
$Undo <M-Z>
@zhuoqun-chen
zhuoqun-chen / EECS精品课程.md
Last active November 14, 2021 10:57
汇总优秀的EECS类的精品课程
@zhuoqun-chen
zhuoqun-chen / 使用Git的业务情景及相应操作方法汇总.md
Created September 28, 2021 06:59
使用Git的业务情景及相应操作方法汇总
@zhuoqun-chen
zhuoqun-chen / 一个搜集好玩、好用的小工具的备忘录.md
Created September 28, 2021 06:56
一个搜集好玩、好用的小工具的备忘录