Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Working hard on Kubernetes ...

Ali Mihandoost AliMD

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 / 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 / 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 Oct 31, 2018
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!
@AliMD
AliMD / docker.md
Last active Feb 19, 2018
Ali.MD Docker Learning Path
View docker.md
@AliMD
AliMD / .gitlab-ci.yml
Created Jul 17, 2016
Gitlab CI Build Configuration
View .gitlab-ci.yml
# http://docs.gitlab.com/ce/ci/yaml/README.html
image: node:6
#services:
# - postgres
before_script:
- npm i
#after_script
@AliMD
AliMD / npm-config.md
Last active Jan 22, 2019
Optimize NPM for faster installing packages
View npm-config.md

AliMd npm config

Optimize NPM for faster installing packages

Strong recommended

npm config set registry http://registry.npmjs.org/
npm config set loglevel info
npm config set fetch-retries 3
npm config set fetch-retry-mintimeout 15000
npm config set fetch-retry-maxtimeout 90000
You can’t perform that action at this time.