This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shellcheck disable=SC2168 | |
# shellcheck disable=SC1087 | |
# Shennawy's theme | |
# | |
# This a theme for oh-my-zsh. Features a colored prompt with: | |
# * ➜ workdir git:(git) $ | |
# * '$' prompt will be green if last command return value is 0, red otherwise. | |
# | |
# git prompt is inspired by official git contrib prompt: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$str = "nnteirnnyeutbneveectnifngninejtfeesexn"; | |
$strlen = strlen( $str ); | |
$nChar = 0; | |
$iChar = 0; | |
$eChar = 0; | |
$tChar = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Number.prototype.padDigit = function () { | |
return (this < 10) ? '0' + this : this; | |
} | |
var time1 = "00:00"; | |
var secs = 0; | |
var mins = 0; | |
var hrs = 0; | |
$('.ytd-thumbnail-overlay-time-status-renderer').each(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$arr = ['a','b','c','d','f','g']; | |
$a = 0; | |
foreach ($arr as $value) { | |
// 3 it's number of items | |
if($a % 3 == 0){ | |
echo "<br>"; | |
} | |
echo $value; | |
$a++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>تجربة تشغيل حدث معين فى وقت معين</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<span class="timePrayer" style="color:#004dff;" data-time="05:20 AM"> الوقت الأول </span><br> | |
<span class="timePrayer" style="color:#004dff;" data-time="11:55 AM"> الوقت الثانى </span><br> | |
<span class="timePrayer" style="color:#004dff;" data-time="02:55 PM"> الوقت الثالث </span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//الملف ده اللى بيكون موجود فيه الدوال المساعده للشغل وغالبا بيكون مساره كالتالى | |
// app/helper/help.php | |
// ملحوظه (الملف ده انت اللى بتعمله عشان تحط جوا الفنكشنز اللى هتساعدك فى شغلك )0 | |
#================ search at sql text to regx ===================================== | |
function sql_text_to_regx($string){ | |
$alamat = array("+","=","-","_",")","(","*","&","^","%","$","#","@","!","/","\\","|",">","<","?","؟"); | |
$alamat_change = ""; | |
$alef = array("ا","أ","آ","إ"); |