Skip to content

Instantly share code, notes, and snippets.

Avatar

Hamid Sarfraz praisedpk

View GitHub Profile
View easyfonts.html
<link href="https://pagecdn.io/lib/easyfonts/fonts.css" rel="stylesheet" />
<div class="font-roboto">
<div class="font-open-sans w600i">
Stuff here appears in Open Sans, bold and italic
</div>
<div class="w600">
Stuff here appears in Roboto, bold
</div>
@praisedpk
praisedpk / cdn.md
Last active Oct 26, 2019 — forked from fffaraz/cdn.md
A list of Content Delivery Network providers
@praisedpk
praisedpk / get-domain-name-from-url.php
Created Sep 18, 2016
Get host or domain name from a URL with PHP
View get-domain-name-from-url.php
function get_domain_from_url( $string )
{
return strtolower( parse_url( $string , PHP_URL_HOST ) );
}
Source https://pageconfig.com/post/extract-host-from-a-url-php
You can’t perform that action at this time.