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
<!-- layout --> | |
<hr> | |
<small> | |
<div class="d-block d-sm-none">xs 576px</div> | |
<div class="d-none d-sm-block d-md-none">sm ≥ 576px</div> | |
<div class="d-none d-md-block d-lg-none">md ≥ 768px</div> | |
<div class="d-none d-lg-block d-xl-none">lg ≥ 992px</div> | |
<div class="d-none d-xl-block">xl ≥ 1200px</div> | |
</small> | |
<hr> |
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
<div class="col-sm-6 px-0"> | |
<h5>Recent <span class="badge badge-secondary">New</span></h5> | |
<ul class="list-group"> | |
<li class="list-group-item d-flex justify-content-between align-items-center"> | |
Cras justo odio | |
<span class="badge badge-primary badge-pill">12/12/12</span> | |
</li> | |
<li class="list-group-item d-flex justify-content-between align-items-center"> | |
Dapibus ac facilisis in | |
<span class="badge badge-primary badge-pill">12/12/12</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
.custom-color, .custom-color:hover, .custom-color:active { | |
background-color: #A3DBFF !important; | |
border-color: #A3DBFF !important; | |
} |
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /index.php?/$1 [L] | |
<FilesMatch "stream\.php|README\.md|composer*"> | |
Order allow,deny | |
Deny from all | |
</FilesMatch> |
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
[elasticsearch-6.x] | |
name=Elasticsearch repository for 6.x packages | |
baseurl=https://artifacts.elastic.co/packages/6.x/yum | |
gpgcheck=1 | |
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch | |
enabled=1 | |
autorefresh=1 | |
type=rpm-md |
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
<nav> | |
<ul> | |
<li><a href="http://domain.com/">Home</a></li> | |
<li><a href="http://domain.com/about/">About</a></li> | |
<li><a href="http://domain.com/clients/">Clients</a></li> | |
<li><a href="http://domain.com/contact/">Contact Us</a></li> | |
</ul> | |
</nav> |
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
/* docs - https://github.com/twbs/bootstrap/issues/21881#issuecomment-341972830 */ | |
.btn-group-xs > .btn, .btn-xs { | |
padding : .25rem .4rem; | |
font-size : .875rem; | |
line-height : .5; | |
border-radius : .2rem; | |
} |
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 | |
function valid_ip_or_cidr($input) | |
{ | |
if (is_int(strpos($value, '/'))) | |
{ | |
/* | |
* https://www.regexpal.com/93987 | |
* if ip_cidr valid return 1, else 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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script> | |
$.ajax({ | |
url:"info.php", | |
type:'POST', | |
data:{name:your_name,age:your_age}, | |
dataType:"html", | |
success:function(res) { | |
console.log(res); |
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 | |
$url = 'https://speed.hetzner.de/100MB.bin'; | |
$url = 'https://speed.hetzner.de/100MB.bin'; | |
$url = 'https://speed.hetzner.de/10GB.bin'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $url); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |