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 / 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:
@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 / office-activation.md
Last active October 6, 2024 08:07
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 / Create_mac_OS_iso_Command.MD
Last active February 16, 2024 14:39
macOS Command for ISO file
  • Sonoma.iso
hdiutil create -o /tmp/Sonoma -size 16384m -volname Sonoma -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sonoma.dmg -noverify -mountpoint /Volumes/Sonoma
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/Sonoma --nointeraction
hdiutil eject -force /Volumes/Install\ macOS\ Sonoma
hdiutil convert /tmp/Sonoma.dmg -format UDTO -o ~/Desktop/Sonoma
mv -v ~/Desktop/Sonoma.cdr ~/Desktop/Sonoma.iso
rm -fv /tmp/Sonoma.dmg
@devomman
devomman / fvm-README.md
Last active November 16, 2023 12:51
fvm command (Flutter Version Manager)

Requiremnets:

  1. chocolatey Install https://chocolatey.org/install (Windows) (Read CarefullY If Required)
  2. Brew Install https://brew.sh/ (MacOS) (Read CarefullY If Required)
  3. Powershell in Administration or Terminal User Open with Administration

ISSUE on WINDOWS User:

  1. For Flutter on Windows: "Unable to find git in your PATH" if terminal is not in admin mode Issue
  • any programme run as adminnistrator ex. Android Studio shortcut Run as Administrator

Command in Windows:

@devomman
devomman / Gulp.js_Command.md
Last active October 3, 2022 22:04
Gulp Js Command Line & Package Json

*Complete documentation on Gulp can be found here: https://gulpjs.com/

  1. Install the gulp command line utility npm install --global gulp-cli
  2. Create a package.json file in your project directory npm init

Create package.json file

{
	"name": "MyProject",
<!doctype html>
<title>Server Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@devomman
devomman / Email Signature Backup Sample.html
Last active March 22, 2024 22:35
Email Signature Backup Sample
<p style="margin: 0in; text-align: justify;"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"><img src="https://i.imgur.com/ElJPAuW.gif" /></span><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif;"></span></p>
<p style="margin: 0in; text-align: justify;"><strong><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif;">MUHAMMAD OMMAN</span></strong></p>
<p style="margin: 0in; text-align: justify;"><span style="white-space: pre-wrap;"><span style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"><span style="white-space: pre-wrap; font-family: Arial, sans-serif;"><span style="font-size: 10pt;"><strong>Web Developer &amp; IT </strong></span></span><span style="font-family: Arial, sans-serif;"><span style="font-size: 13.3333px; white-space: pre-wrap;"><strong>Administrator</strong></span></span></span></span></p>
<p style="margin: 0in; text-align: justify;"><span style="white-space: pre-wrap;"><strong><span style="font-size: 9.0pt; font-family: 'Arial',sans-serif;">M:</
@devomman
devomman / NVIDIA-GEFORCE-ISSUE.MD
Last active July 30, 2021 20:15
NVIDIA® GEFORCE® Experience Screen Record Issue

😎 Skype Issue for while:

  • Show Call Window When Skype is in the Background if its enable.

Solve: Goto > Setting > Calling - Find this toggle button & disbale it.

@devomman
devomman / Studio3t_Ubuntu.md
Last active July 30, 2021 08:37
Install Studio 3t for MongoDB in Ubuntu

How to install Studio 3t for MongoDB in Ubuntu:

  • Goto Download link https://studio3t.com/download/
  • unzip tar using command tar -xzf studio-3t-linux-x64.tar.gz
  • goto folder command ./studio-3t-linux-x64.sh

Additional Step for Cloud Base: