you can find it in this link : https://github.com/el3zahaby/lorem.JS
This file contains 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
const arr = [ | |
{ id: 1, name: "king" }, | |
{ id: 2, name: "master" }, | |
{ id: 3, name: "lisa" }, | |
{ id: 4, name: "ion" }, | |
{ id: 5, name: "jim" }, | |
{ id: 6, name: "gowtham" }, | |
{ id: 1, name: "jam" }, | |
{ id: 1, name: "lol" }, | |
{ id: 2, name: "kwick" }, |
This file contains 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
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/public/ | |
RewriteRule ^(.*)$ /public/$1 [L,QSA] |
This file contains 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
DB::table('data_location_country')->delete(); | |
$data = array( | |
['slug' => 'AF', 'title' => 'Afghanistan', 'native' => 'غانستان'], | |
['slug' => 'AX', 'title' => 'Åland Islands', 'native' => 'Åland'], | |
['slug' => 'AL', 'title' => 'Albania', 'native' => 'Shqipëri'], | |
['slug' => 'DZ', 'title' => 'Algeria', 'native' => 'الجزائر'], | |
['slug' => 'AS', 'title' => 'American Samoa', 'native' => ''], | |
['slug' => 'AD', 'title' => 'Andorra', 'native' => ''], | |
['slug' => 'AO', 'title' => 'Angola', 'native' => ''], | |
['slug' => 'AI', 'title' => 'Anguilla', 'native' => ''], |
This file contains 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
function ElzahabyDynamicLaravelString($model,$syntax,$sign=null){ | |
if (isset($model) && $syntax == null){ | |
$input = $model::getListFields()['syntax']; | |
}else { | |
$input = $syntax; | |
} | |
$output = $input; | |
$regex = '/'.(($sign != null)?$sign:':-:').'[a-z._]+/im'; | |
if (preg_match_all($regex, $input, $matches, PREG_PATTERN_ORDER)) { |
This file contains 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
www | |
ftp | |
localhost | |
webmail | |
smtp | |
pop | |
ns1 | |
webdisk | |
ns2 |
This file contains 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 | |
/** | |
* ----------------------------------------------------------------------------------------- | |
* Based on `https://github.com/mecha-cms/mecha-cms/blob/master/system/kernel/converter.php` | |
* ----------------------------------------------------------------------------------------- | |
*/ | |
// HTML Minifier | |
function minify_html($input) { |
This file contains 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 | |
function getImgFromString($html){ | |
preg_match_all('/<img[^>]+>/i',$html, $result); | |
$img = array(); | |
$i = 0; | |
foreach( $result[0] as $img_tag) | |
{ | |
preg_match_all('/(src)="([^"]+)"/i',$img_tag, $img[$i]); | |
$i++; |
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes: