Skip to content

Instantly share code, notes, and snippets.

@diyism
diyism / google cloud shell vps
Last active November 1, 2024 15:51
google cloud shell vps
#go to https://shell.cloud.google.com/
#in Terminal(bottom half page) or Cloud Shell tab in IDE(top half page):
wget https://pkgs.tailscale.com/stable/tailscale_1.30.2_amd64.tgz
tar zxvf tailscale_1.30.2_amd64.tgz
mkdir tailscale
cp tailscale_1.30.2_amd64/tailscale* tailscale/
rm -rf tailscale_1.30.2_amd64*
#in fact, google cloud shell using debian 10, we can use apt:
@SathyaBhat
SathyaBhat / fixperms.bat
Created May 14, 2011 07:25
fix permissions for "You need permissions from .. to perform this action" in Windows 7
takeown /r /d y /f *
icacls * /reset /t /c /q