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 | |
RewriteRule .*\.git/.* - [F] |
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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
// Doesnt quite work right yet | |
.match-height { | |
display: table; | |
[class*="col-"] { | |
float: none; | |
display: table-cell; | |
vertical-align: top; | |
} | |
} |
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
/* =WordPress Core | |
-------------------------------------------------------------- */ | |
.alignnone { | |
margin: 5px 20px 20px 0; | |
} | |
.aligncenter, | |
div.aligncenter { | |
display: block; | |
margin: 5px auto 5px auto; | |
} |
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
<div class="card"> | |
<h3 class="card-header"></h3> | |
<div class="card-block"> | |
</div> | |
</div> |
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 | |
$login = 'someone@somedomain.com'; | |
$password = 'theirpassword'; | |
$server = '{mail.someimapserver.com:143}INBOX.Sent'; | |
$mbox = imap_open($server, $login, $password); | |
$n_msgs = imap_num_msg($mbox); |
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 | |
// Dont forget to load twitter oauth via Composer | |
$twitteruser = 'webfwd'; | |
$tweetexpire = 60 * 30; // Seconds | |
$tweetfile = 'twitter.txt'; | |
use Abraham\TwitterOAuth\TwitterOAuth; | |
if (!file_exists($tweetfile) || (time()-filemtime($tweetfile)) > $tweetexpire) { | |
$connection = new TwitterOAuth( |
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
$xl-down: "max-width: 9999px"; | |
$lg-down: "max-width: 1199px"; | |
$md-down: "max-width: 991px"; | |
$sm-down: "max-width: 767px"; | |
$xs-down: "max-width: 575px"; | |
$xl-up: "min-width: 1200px"; | |
$lg-up: "min-width: 992px"; | |
$md-up: "min-width: 768px"; | |
$sm-up: "min-width: 576px"; |
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
body { | |
-webkit-font-smoothing: antialiased; | |
-moz-font-smoothing: antialiased; | |
font-smoothing: antialiased; | |
text-rendering: optimizeLegibility; | |
-webkit-text-size-adjust: 100%; | |
} |
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
@lg: ~"min-width: 1200px"; | |
@md: ~"max-width: 1199px"; | |
@sm: ~"max-width: 991px"; | |
@xs: ~"max-width: 767px"; |
OlderNewer