Skip to content

Instantly share code, notes, and snippets.

View SofijaErkin's full-sized avatar
🎯
Focusing

Vittore Marcas SofijaErkin

🎯
Focusing
View GitHub Profile
@SofijaErkin
SofijaErkin / clean_mac_purgeable_space_via_remove_localsnapshots.md
Last active November 26, 2024 18:40
Free space via removing purgeable on mac.

The purgeable space on macOS

1.Question

I have gone to bed before using TimeMachine to backup my mac and accidentally

clicked the Back Up Automatically button on the setting of Time Machine

yesterday night. I have found my mac only has 60 GB free space on Disk

@SofijaErkin
SofijaErkin / shell_command_manual_abc.md
Last active May 17, 2023 13:07
Some terminal command to recommend.
@SofijaErkin
SofijaErkin / enlarge_vm_disk_space.md
Last active November 2, 2022 01:03
Enlarge VirtualBox VM debian low disk space

Enlarge VirtualBox VM Debian disk space(Dynamically allocated storage)

When I create VMs on VirtualBox, I just choose automatically distribute disk

space, but that auto-distributed disk space has been limited by the VirtualBox.

For example, I just create a virtual machine Debian using VirtualBox on MacOS.

The new VM Debian get 12GB disk space, but a few days later, all the 12GB has

@SofijaErkin
SofijaErkin / update_xcode_and_macbook_software_trouble.md
Last active October 13, 2022 23:49
Trouble about updating Xcode and Mac system software.

Trouble Under Updating Software On Mac

1.MacBook System Software

1.1Suggestion

1.Do not use the automatically update status.

2.If the system softwares do not work quickly, or some usage need the latest

@SofijaErkin
SofijaErkin / terminal_login_samba_between_vm_and_host.md
Last active October 28, 2022 08:32
using terminal loginto samba between virtual machine and host machine

Login Samba between VM and Host via Terminal

I guess that I may download samba via brew, not use the default samba of mac.

Maybe, I should share the folder under system directory on Mac with VM debian.

I just want to make that enable, that is: Creating the project under the VM

Guest VM Debian, and share the project with Host macOS, edit and change code

@SofijaErkin
SofijaErkin / scp_between_vm_and_host.md
Last active June 26, 2022 01:22
using scp command between two machine.

SCP Command Combat Style

1.Summary

SCP: Copy a File Between Two Systems

2.Usage

scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2

@SofijaErkin
SofijaErkin / vm_debian_login_host_macos.md
Last active June 26, 2022 01:16
Virtual machine Debian remote login Host machine macOS.

VM Debian remote login Host macOS

Just download VirtualBox in macOS, then, install Debian via VirtualBox in macOS.

For VM Debian, it can directly access the host machine macOS via macOS's local

IP. E.g: ssh [email protected]. So, we just need to set

at macOS and VM Debian.

@SofijaErkin
SofijaErkin / host_macos_login_vm_debian.md
Last active June 29, 2022 23:02
Host machine macOS remote login VM Debian

Host macOS remote login VM Debian

I have just install Debian via VirtualBox in macbook, set NAT connection

between VM Debian and Host macOS.

So, if I need to remotely login VM Debian by macOS, macOS have to be the

SSH client, VM Debian have to be the SSH server, VirtualBox have to be the

@SofijaErkin
SofijaErkin / host_login_vmlinux_nat_ssh_port_forward.md
Last active June 24, 2022 09:08
remote login between virtual machine linux and host with NAT connection via port fowarding using ssh

NAT SSH Login Between VM Linux and Host macOS

I have a macbook, and I need to write server project, so I have to install

VirtualBox on my macbook, also, I enjoy wandering into Debian,. Again, I

have install and config Debian into VirtualBox.

0.My Question

@SofijaErkin
SofijaErkin / samba_share_macos_with_debian.md
Last active July 23, 2022 03:42
using samba between macOS and Linux

Samba Share

This Samba Share is from Linux/Cloud(e.g:debian) to Others(like:macos).

1.Install Samba

Just use the below:

sudo apt update