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:
www | |
ftp | |
localhost | |
webmail | |
smtp | |
pop | |
ns1 | |
webdisk | |
ns2 |
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:
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
<?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++; |
you can find it in this link : https://github.com/el3zahaby/lorem.JS
<?php | |
/** | |
* ----------------------------------------------------------------------------------------- | |
* Based on `https://github.com/mecha-cms/mecha-cms/blob/master/system/kernel/converter.php` | |
* ----------------------------------------------------------------------------------------- | |
*/ | |
// HTML Minifier | |
function minify_html($input) { |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/public/ | |
RewriteRule ^(.*)$ /public/$1 [L,QSA] |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
This is the best I have so far using regex:
Find:
<((?!\s*((a)\s+))\w+)(.*?)((?:src|href)\s*=\s*")((?!\{\{\s*)[^"]+)"
Replace with:
<$1$4$5{{ asset('$6') }}"
Title: Automating Postman to Swagger with Version Control in Laravel Vapor
Hey folks! 👋 I wanted to share a neat workflow I've implemented for our Laravel Vapor project that automates the generation and upload of Swagger documentation with each Git tag, all seamlessly integrated with Postman. 🚀
With every push to a dev/*
tag, GitHub Actions springs into action: