Skip to content

Instantly share code, notes, and snippets.

S. Ali Mihandoost AliMD

View GitHub Profile
@AliMD
AliMD / Visual Studio Offline.md
Last active November 15, 2021 09:00
Create an offline installation of Visual Studio

Visual Studio Offline

Please run cmd as administrator before start.

Create an offline installation of Visual Studio

cd C:\VisualStudioOffline

vs_Enterprise.exe --layout C:\VisualStudioOffline\layout --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetCrossPlat --includeRecommended --includeOptional --lang en-US
@AliMD
AliMD / cleanup-compact.md
Last active September 24, 2021 09:55
Cleanup and compact Windows 10 for enterprise usecases

Type cd\ and press Enter. Type cd Windows\Microsoft.NET\Framework\v4 and press Tab and then press Enter. Type ngen executequeueditems and press Enter. This command executes queued compilation jobs.

dism /online /cleanup-image /startcomponentcleanup /resetbase

Note: This command might take a long time to complete and is not available on Windows 7 or Server 2008, on these operating systems run cleanmgr.exe and select Windows Update Cleanup and reboot afterwards.

compact /compactos:always

@AliMD
AliMD / .git-commit-template
Created April 14, 2020 05:49
AliMD Git Commit Template
# <tag>(<section>): <subject>
# Example:
# feat(login): Remember last username
#
# Tag can be
# feat new feature
# fix fix a bug
# refactor refactoring production code
# style no code meaning change (formatting, missing semi colons, etc)
# docs changes to documentation
@AliMD
AliMD / install.sh
Created October 14, 2019 06:36
Install VMware Horizon Client to Rasbpery Pi 3, 3+, 4
#!/bin/bash
# Install VMware Horizon Client to Rasbpery Pi 3, 3+, 4
apt-get update
apt-get install libudev1 libxss1
ln -s /lib/arm-linux-gnueabihf/libudev.so.1 /lib/arm-linux-gnueabihf/libudev.so.0
wget http://dl.armtc.net/packages/vmwh_LATEST.tar.gz -O /tmp/vmwh_LATEST.tar.gz
@AliMD
AliMD / id_rsa.pub
Created June 4, 2019 08:12
AliMD Public Key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC9yfaiR6u0D4CFviQdVteOZV2CbWEvWts+ZgHxER42yrNsZQmIKgC2zp4z48ycCN1DrvQMQo9F/M0mznMEg72g3m8pDQNUPe8W+uFXceH4t6e3DMefhuOVQsN3Jhu0wpV1ACJAMOb9jhp6EnSOiosPNb0Sl3bzr2OxQRPtxjOqn2uKwrvGz2JCKhVQ0fqQvQu4Yg/KURasCDIGOdA6d+cg2JyYwWyO31h1hfNeri51B/kSqvG0BZYzBQySmpEtlJ/X6mGa46FZPGQAQ2cIU6o4/olrPXpdv2kkQQvgUAJjO5n/zKRUiyWVAoUrQQBeNRpD4HPyNmDqLqjZbu5xNlDFU7VE5/oOarUiLWFQmfI43shzrELWPfDCLo6JPByqnNGeMbodnQV4fbWANqN/fYQExZNkMZgSY0QtbG9TYom3+NSj88UYiiwXP8BTVcMPCcLur0di+0IGm22hzds4hPREibpWN95+eqrQfYPNMRkXBhHR5Wuy/jcjQS8hvcsrFYKicPXupA4B8W9yUrU9wAX6YYeB8duiUFBlqEZZqdkaiVtCVrY3ilyjdrYRL4Ww7NeiyP6I2OGDJZ2D/3ND4WEJFNV4zOsywdz+ZZWM1MRfhYKSV3NqkaFhvrod95cSm6Y0vsaHM4sAfHk/7+8k2PKrWJ0hTthJkSUkpkbxpCzkRQ== ali@mihandoost.com
@AliMD
AliMD / Best-UI-Design-Tools.md
Last active April 1, 2021 07:30
Best UI Design Tools

Best UI Design Tools (AliMD)

Best Applications for UI Designers

Sketch is a design toolkit built to help you create your best work — from your earliest ideas, through to final artwork

InVision is the digital product design platform used to make the world's best customer experiences.

@AliMD
AliMD / cloudSettings
Last active December 19, 2021 15:49
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-12-19T15:49:20.647Z","extensionVersion":"v3.4.3"}
@AliMD
AliMD / AliMD-CSS-Layout-Debugger.md
Last active December 11, 2020 01:12
AliMD CSS Layout Debugger

CSS Layout Debugger AliMD Edition ;)

Outlines every DOM element on your page a random (valid) CSS hex color.

[].forEach.call($$('*'),el=>{el.style.outline=`1px solid hsl(${~~(Math.random()*360)},99%,50%)`})

screen shot 2018-02-10 at 2 01 00 pm

@AliMD
AliMD / .gitconfig
Last active November 6, 2018 17:18
Ali.MD Git Config
[user]
name = Ali Mihandoost
email = alimihandoost@gmail.com
[alias]
c = commit -m
ca = commit -am
cl = clone
pl = pull
p = push

Keybase proof

I hereby claim:

  • I am AliMD on github.
  • I am alimd (https://keybase.io/alimd) on keybase.
  • I have a public key whose fingerprint is 85CA 09B5 25C6 9C22 B722 5034 FF48 3EA7 EC96 CDA2

To claim this, I am signing this object: