Skip to content

Instantly share code, notes, and snippets.

View cobaohieu's full-sized avatar

Hieu C B cobaohieu

View GitHub Profile
##install https://brew.sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew upgrade
##nvidia gfx driver install
https://github.com/vulgo/webdriver.sh
@cobaohieu
cobaohieu / install_neofetch_on_windows10.md
Last active December 7, 2021 12:19
install_neofetch_on_windows10

Open Powershell windows and run line by line

powershell Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop was installed successfully
scoop install neofetch
neofetch
@cobaohieu
cobaohieu / Install_OpenCV_V4.4.0_on_jetsonano.sh
Created March 12, 2022 07:23
Install_OpenCV_V4.4.0_on_jetsonano.sh
#!/bin/bash
# License: MIT. See license file in root directory
# Copyright(c) JetsonHacks (2017-2019)
# Modify by SouthernVEVO (2021-2022)
cd ~
OPENCV_VERSION=4.4.0
#4.5.3
# Jetson Nano
@cobaohieu
cobaohieu / install_and_mount_apfs_fuse_on_Ubuntu_22.04.md
Last active September 10, 2022 16:46
install_and_mount_apfs_fuse_on_Ubuntu_22.04.md

Some appilcations requirement such as

sudo apt update
sudo apt install -y fuse libfuse3-3 libfuse3-dev bzip2 libbz2-dev libicu-dev libz-dev libattr1-dev
sudo apt install -y  zlib1g-dev clang cmake gcc-c++ git g++ build-essential 

For older versions of Ubuntu, please install:

sudo apt install -y fuse libfuse-dev libicu-dev bzip2 cmake libz-dev libbz2-dev libattr1-dev
sudo apt install -y clang git g++ build-essential 

Fix Ubuntu issue apt fix broken

Please follow this step below

sudo apt update
sudo apt --fix-missing update
sudo dpkg -i --force-overwrite <your path>/<your app want to install>.deb
sudo apt -f install -y
sudo dpkg --configure -a
sudo dpkg -l | grep ^..r

Install neccessary

sudo apt-get install linux-headers-$(uname -r)

Clone source

git clone https://github.com/linux-apfs/linux-apfs-rw.git
cd linux-apfs-rw

Go to macOS Recovery mode

Restart your Mac computer.

Simultaneously press and hold the Cmd and R keys during startup and boot the computer into the macOS Recovery mode.

Go to the Utilities menu and select Terminal.

In the Terminal, type the command below and press Enter.

{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
@cobaohieu
cobaohieu / settings.json
Last active September 8, 2023 13:28
Make Windows Terminal blur on Windows11
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
@cobaohieu
cobaohieu / Command Update All Python Packages.md
Last active September 26, 2023 02:56
Command Update All Python Packages

Open Terminal or Windows Powershell

Get a list of all the outdated packages

pip list --outdated

or