Skip to content

Instantly share code, notes, and snippets.

Hosein BehkamaL hoseinBL

Block or report user

Report or block hoseinBL

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
View htaccessRedirection
# Number 1
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^m\. [NC]
RewriteCond %{HTTP_USER_AGENT} (android|blackberry|googlebot-mobile|iemobile|iphone|ipod|opera\smobile|palmos|webos) [NC]
RewriteRule ^ http://m.tejanik.com%{REQUEST_URI} [L,R=301]
</IfModule>
# Number 2
View convert_persian_arabic_numbers.md

Use this simple function to convert your string

var
persianNumbers = [/۰/g, /۱/g, /۲/g, /۳/g, /۴/g, /۵/g, /۶/g, /۷/g, /۸/g, /۹/g],
arabicNumbers  = [/٠/g, /١/g, /٢/g, /٣/g, /٤/g, /٥/g, /٦/g, /٧/g, /٨/g, /٩/g],
fixNumbers = function (str)
{
  if(typeof str === 'string')
  {
    for(var i=0; i<10; i++)
@hoseinBL
hoseinBL / jsFUN[1].js
Created May 11, 2013
sry dir shod... systemam kharab bood. Internetam ham tamum shode bud...
View jsFUN[1].js
<!DOCTYPE HTML>
<html>
<head>
<title>Programming Practice</title>
<style type="text/css">
body{
background-color: lightblue;
}
.btns{
width:200px;
@hoseinBL
hoseinBL / url.txt
Last active Dec 18, 2015
Menu URLs
View url.txt
Menu , Nav , JQuery menu ,css3 menu :
1. First structure(Self-Page) :
a. http://labs.sevenspark.com/UberMenu
b. http://themes.pixelworkshop.fr/?theme=MegaMenuReloaded
c. http://codecanyon.net/item/jquery-menu/full_screen_preview/234234 (Slider Menu)
2. Second structure(Responsive) :
a. http://codecanyon.net/item/metro-menu/full_screen_preview/4476162
View badboy
.badboy{
clear: both;
display: block;
width: 0;
height: 0;
min-width: 0;
min-height: 0;
padding: 0;
margin: 0;
overflow: hidden;
View bugs
Gallery :
Index
Responsive
Border
Delay(effect1-1st)
Cross Brosers
Envanto
Fast Opacity(l-b-darkmagenta)
Pointer
lightorange background
@hoseinBL
hoseinBL / level.md
Last active Dec 22, 2015
C8 W2 Level
View level.md
View Themes
http://themeforest.net/item/creatico-responsive-html5-onepage-template/4125852
http://themeforest.net/item/proxim-unique-one-page-parallax-responsive-html5/5134697?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=designova
http://themeforest.net/item/-lex-responsive-one-page-parallax-portfolio/3810707
http://themeforest.net/item/sharon-studio-responsive-parallax-scrolling/4083318
http://themeforest.net/item/mercurial-one-page-parallax-wordpress-theme/3505513
http://themeforest.net/item/eleven-responsive-one-page-parallax-template/4126525?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=Hector18
View تکست
نمایندگی انحصاری روزنامه شرق در استان خراسان
مجری تبلیغات محیطی
برگذار کننده ی سمینار ها و همایش ها
طراحی بازدید مجازی
تهیه و عرضه ی هدایا مناسبتی و تبلیغاتی
اجراکننده ی کمپین های تبلیغاتی
هتل میامی مشهد
موسسه مالی آرمان
صندوق قرض الحسنه پیروان طوس
مشاوره و مجری تبلیغات رسانه ای و محیطی اجرا کننده ی تبلیغات و بیلبورد های شهری تلویزیون های شهری
You can’t perform that action at this time.