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
<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
[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
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
.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
<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
<!-- 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
#!/bin/sh | |
DUMPFILE=/home/thisisusername/backups/db-`date +%Y-%m-%d-%H-%M`.sql.gz | |
mysqldump -uthisisusername -p'ZjOGUxPass' -hlocalhost database_name --force --triggers --single-transaction --opt --skip-lock-tables | sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/' | gzip -9 -c > $DUMPFILE |
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 | |
// counter 2018-09-23 10:01:27 to days old | |
function days_old($time) | |
{ | |
$date = strtotime($time); # Converted to a PHP date (a second count) | |
$diff = $date - time(); # time returns current time in seconds | |
$days = floor($diff / (60 * 60 * 24)); # seconds/minute*minutes/hour*hours/day) | |
return abs($days); // number of days old | |
} |
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
#deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://mirrors.bangmod.cloud/ubuntu/ bionic main restricted | |
# deb-src http://mirrors.bangmod.cloud/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://mirrors.bangmod.cloud/ubuntu/ bionic-updates main restricted |