Skip to content

Instantly share code, notes, and snippets.

View Arlen-LT's full-sized avatar
:atom:

HAOZHE LI Arlen-LT

:atom:
View GitHub Profile

Q: Should I use SMB1 or SMB2/3?

Microsoft has been asking the world to stop using the legacy SMBv1 since 2014. US-CERT also issued a security bulletin advising to disable SMBv1 and move to SMB 2.x or preferably SMB 3.x. The following documents explain why SMB1 is deprecated.

Since Windows10 and Samba 4.11.0 on Linux, SMB1 has been disabled by default.

Q: How to disable SMB1?

@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active May 23, 2024 02:26
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@b01
b01 / download-vs-code-server.sh
Last active May 16, 2024 18:49
Linux script to download latest VS Code Server, good for Docker (tested in Alpine).
#!/bin/sh
# Copyright 2023 Khalifah K. Shabazz
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the “Software”),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions: