Skip to content

Instantly share code, notes, and snippets.

View devomman's full-sized avatar
:octocat:
Available for work

Muhammad Omman devomman

:octocat:
Available for work
View GitHub Profile
@devomman
devomman / office-activation.md
Created May 30, 2023 11:01
Office Activation Command by Omman

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
@devomman
devomman / guide_mac.md
Last active June 1, 2023 13:14
Clear Mac Temp File

Manually Clear Mac Temp File

  1. Open the Finder menu.
  2. Select Go > Go To Folder (An alternative to do this in order to delete temporary files with a shortcut would be pressing the shortcut CMD + Shift + G).
  3. In the search box, type in: ~/Library/Caches.
  4. Select every cache and temporary file you see in the folder. You can also select all by pressing CMD + A.
  5. You can now delete them by dragging them toward the Trash folder located in your Dock. After that, you should empty the Trash.
  6. Repeat Steps 1 to 5. However, replacing the ~/Library/Caches folder with ~/Library/ApplicationSupport, ~/Library/Logs and ~/Library/Containers.
@devomman
devomman / install-docker.md
Last active May 12, 2024 12:22
Install Docker Guide

Step 1 — Installing Docker

  • The Docker installation package available in the official Ubuntu repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.
  1. First, update your existing list of packages:
sudo apt update
  1. Next, install a few prerequisite packages which let apt use packages over HTTPS: