Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Working hard on Kubernetes with Ceph

Ali Mihandoost AliMD

👨‍💻
Working hard on Kubernetes with Ceph
Block or report user

Report or block AliMD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AliMD
AliMD / install.sh
Created Oct 14, 2019
Install VMware Horizon Client to Rasbpery Pi 3, 3+, 4
View install.sh
#!/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 Jun 4, 2019
AliMD Public Key
View id_rsa.pub
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 Jan 15, 2019
Best UI Design Tools
View Best-UI-Design-Tools.md

Best UI Design Tools (AliMD)

Best Applications for UI Designers

1. Setch App

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

2. Invision

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

3. Figma

@AliMD
AliMD / cloudSettings
Last active Oct 30, 2019
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2019-10-30T11:23:59.023Z","extensionVersion":"v3.4.3"}
@AliMD
AliMD / AliMD-CSS-Layout-Debugger.md
Last active Feb 14, 2018
AliMD CSS Layout Debugger
View AliMD-CSS-Layout-Debugger.md

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 Nov 6, 2018
Ali.MD Git Config
View .gitconfig
[user]
name = Ali Mihandoost
email = alimihandoost@gmail.com
[alias]
c = commit -m
ca = commit -am
cl = clone
pl = pull
p = push
View keybase.md

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:

@AliMD
AliMD / server.js
Last active Nov 29, 2016
Nodejs Multi Cluster HTTP Server Example
View server.js
"use strict";
let http = require('http');
let host = '127.0.0.1', port = 8080;
let cluster = require('cluster');
let numCPUs = require('os').cpus().length;
if (cluster.isMaster) {
console.log(`Hey, I'm Master!`);
@AliMD
AliMD / android-accept-licenses.sh
Created Nov 14, 2016
Android Accept Licenses
View android-accept-licenses.sh
#!/usr/bin/expect -f
set timeout 1800
set cmd [lindex $argv 0]
set licenses [lindex $argv 1]
spawn {*}$cmd
expect {
"Do you accept the license '*'*" {
exp_send "y\r"
@AliMD
AliMD / install-doceker.md
Last active Sep 4, 2019
Install docker on linux as easy as possible
View install-doceker.md

Install Docker on linux

Any distribution of architecture as easy as possible.

# Install docker latest version from original website
curl -fsSL https://get.docker.com/ | sh

# Adding your user to the "docker" group
sudo usermod -aG docker $(whoami)
## you will have to log out and back in for this to take effect!
You can’t perform that action at this time.