Skip to content

Instantly share code, notes, and snippets.

View liuziangexit's full-sized avatar
🚗
两广最快小马车(没有之一)

liuziangexit liuziangexit

🚗
两广最快小马车(没有之一)
View GitHub Profile
@liuziangexit
liuziangexit / remove_sl_icon.sh
Created October 1, 2021 05:51 — forked from ulasozguler/remove_sl_icon.sh
Remove spotlight icon from menu bar.
cd /System/Library/CoreServices/Spotlight.app/Contents/MacOS
sudo cp Spotlight Spotlight.bak
sudo perl -pi -e 's|(\x00\x00\x00\x00\x00\x00\x47\x40\x00\x00\x00\x00\x00\x00)\x42\x40(\x00\x00\x80\x3f\x00\x00\x70\x42)|$1\x00\x00$2|sg' Spotlight
cmp -l Spotlight Spotlight.bak
sudo codesign -f -s - Spotlight
sudo killall Spotlight
@liuziangexit
liuziangexit / opencv-fourcc-on-mac-os-x.md
Created December 18, 2020 12:52 — forked from takuma7/opencv-fourcc-on-mac-os-x.md
OpenCV Video Writer on Mac OS X
@liuziangexit
liuziangexit / ca.md
Created May 15, 2019 12:29 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@liuziangexit
liuziangexit / Install_gcc7_ubuntu_16.04.md
Created June 13, 2018 14:17 — forked from jlblancoc/Install_gcc7_ubuntu_16.04.md
Installing gcc-7 & g++-7 in Ubuntu 16.04LTS Xenial

Run the following in the terminal:

Install the gcc-7 packages:

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y

Set it up so the symbolic links gcc, g++ point to the newer version: