Skip to content

Instantly share code, notes, and snippets.

Avatar
☁️
Clouding Stuff ...

Ali Mihandoost AliMD

☁️
Clouding Stuff ...
View GitHub Profile
@AliMD
AliMD / gist:3344523
Created Aug 13, 2012
All github Emoji (Smiles)
View gist:3344523

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | 😄 | 😆 | 😊 | 😃 | ☺️ | 😏 | 😍 | 😘 | :kissing_face: | 😳 | 😌 | 😆 | 😁 | 😉 | :wink2: | 👅 | 😒 | 😅 | 😓

😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | :neckbeard: | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷

😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 |

@AliMD
AliMD / gist:3759837
Created Sep 21, 2012
Node.js frameworks and laravel
View gist:3759837

Baram jalebe ke bedoonam @BrendanEich roozi fekr mikard zabanesh injoor mahboob beshe

har chand developer haye php say daran az mahboobiyate js vase framework haye jadideshoon estefade konan

mesel laravel

vali beshe ke dast az sare php bar darin

age kheyli ba laravel hal kardi bedoon node.js nemishnasi !

@AliMD
AliMD / gist:3759907
Created Sep 21, 2012
Code highlight test
View gist:3759907

Code highlight test

require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
<?php
@AliMD
AliMD / gist:3759919
Created Sep 21, 2012
Placeholder style trick
View gist:3759919

Placeholder style trick

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8" />
	<title></title>
	<style type="text/css">
		input::-webkit-input-placeholder {
@AliMD
AliMD / CIW-Des.md
Created Oct 1, 2012
CIW Last sessions
View CIW-Des.md

CIW Des Idea for last sessions

  • Google Map
  • Base64
  • Custome Animations
  • SVG
  • Canvas
  • Adobe CS Pack
  • photoshop save4web
  • sizes
  • photoshop actions
@AliMD
AliMD / TransferDollar.md
Created Oct 4, 2012
Transfer Dollar for domain and host
View TransferDollar.md
@AliMD
AliMD / gist:3865955
Created Oct 10, 2012
Create A Somple Product Catalog width Wordpress.
View gist:3865955

ali.md/pcwp

Step One: Create the custom post type

The following code goes into the functions.php file:

// Create A Somple Product Catalog width Wordpress. ali.md/pcwp
// Step One: Create the custom post type
@AliMD
AliMD / gist:3885209
Created Oct 13, 2012
Htaccess Password Protection
View gist:3885209

Password Protection

One of the many uses of the .htaccess is being able to reliably password protect directories on websites. Note: If you would like to use the cPanel tool to password protect your folders please see our article: Password Protect a folder on your website

The .htaccess File

Adding password protection to a directory using .htaccess takes two stages. The first part is to add the appropriate lines to your .htaccess file in the directory you would like to protect. Everything below this directory will be password protected:

AuthName "Secret Folder"
AuthType Basic