Skip to content

Instantly share code, notes, and snippets.

View MHM5000's full-sized avatar
🏠
Working from home

Mohammad Hossein Mojtahedi MHM5000

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mhm5000 on github.
  • I am mojtahedi (https://keybase.io/mojtahedi) on keybase.
  • I have a public key ASC7FNLkW3_SOV02hM4exeHgbnWI3tJIlZ0noBFPZDD2wQo

To claim this, I am signing this object:

@MHM5000
MHM5000 / flexbox-lite.less
Last active September 26, 2017 12:43 — forked from jayj/flexbox.less
CSS3 Flexbox - LESS Mixins
.flex-display(@display: flex) {
display: @display;
}
.flex(@columns: initial) {
flex: @columns;
}
.flex-direction(@direction: row) {
flex-direction: @direction;
@MHM5000
MHM5000 / ubuntu_agnoster_install.md
Last active August 26, 2019 15:02
Ubuntu 14.04 + Terminator + Oh My ZSH with Agnoster Theme

https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a :::

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

@MHM5000
MHM5000 / django_install_apache.md
Created February 12, 2017 15:34 — forked from fduran/django_install_apache.md
Django Install - Apache

Django Install - Apache

Once per server:

apt-get update && apt-get upgrade
apt-get install libapache2-mod-wsgi
apt-get install python-setuptools python-dev build-essential
easy_install -U pip

@MHM5000
MHM5000 / allah-names
Last active July 20, 2017 14:20
Allah names ready to be used in JavaScript or any other language
الرَّحْمَنُ
الرَّحِيمُ
الْمَلِكُ
الْقُدُّوسُ
السَّلاَمُ
الْمُؤْمِنُ
الْمُهَيْمِنُ
الْعَزِيزُ
الْجَبَّارُ
الْمُتَكَبِّرُ
@MHM5000
MHM5000 / Error message.md
Last active October 3, 2016 12:03
buttercup v0.2.0 error on debian

The package is of bad quality

The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.

[ OK ] | [ Ignore and install ]

@MHM5000
MHM5000 / callback.php
Last active May 10, 2016 15:40
Mellat Bank PHP wsdl
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>BP PGW Test</title>
<link href="Css/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<table width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
@MHM5000
MHM5000 / emoji_test.rb
Created November 30, 2015 13:38 — forked from holman/emoji_test.rb
A snapshot of the tests we use internally at GitHub to help edit our blog posts before they go out to everybody. For more information, take a peek at http://zachholman.com/posts/how-github-writes-blog-posts
require_relative "test_helper"
require "open-uri"
require "net/http"
class EmojiTest < Blog::Test
def test_no_emoji
posts.each do |post|
content = File.read(post)
refute_match /:[a-zA-Z0-9_]+:/, content,
#rtl-support .tt-dropdown-menu {
text-align: right;
}