Skip to content

Instantly share code, notes, and snippets.

View IVIR3zaM's full-sized avatar

Reza Maghoul IVIR3zaM

View GitHub Profile
@IVIR3zaM
IVIR3zaM / Arabic character to Persian (Farsi) - PHP
Created June 14, 2017 15:19 — forked from amirasaran/Arabic character to Persian (Farsi) - PHP
convert Arabic character to Persian (Farsi) - PHP
<?php
public static function arabicToPersian($string)
{
$characters = [
'ك' => 'ک',
'دِ' => 'د',
'بِ' => 'ب',
'زِ' => 'ز',
'ذِ' => 'ذ',
'شِ' => 'ش',
@IVIR3zaM
IVIR3zaM / nginx-tls.conf
Created June 13, 2017 10:56 — forked from gavinhungry/nginx-tls.conf
Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating
#
# Name: nginx-tls.conf
# Auth: Gavin Lloyd <gavinhungry@gmail.com>
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating
#
# Enables SPDY, PFS, HSTS and OCSP stapling. Configuration options not related
# to SSL/TLS are omitted here.
#
# Example: https://www.ssllabs.com/ssltest/analyze.html?d=gavinhungry.io
#
@IVIR3zaM
IVIR3zaM / responsive-multi-item-carousel.css
Last active September 12, 2021 04:20
Responsive Multi Item Carousel in Bootstrap 3 (a fork of https://codepen.io/mephysto/pen/ZYVKRY and optimized for responsive design and flexible active items)
@IVIR3zaM
IVIR3zaM / nginx.conf
Created January 18, 2017 10:15 — forked from baskaran-md/nginx.conf
NginX allow POST on static pages.
# ...
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}