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
//@source https://codepen.io/joshwcomeau/pen/mdVZKwr | |
.drop-shadow { | |
filter: drop-shadow(2px 4px 8px hsla(0deg, 0%, 0%, 0.5)) | |
} | |
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
#1)externally redirect "/file.php" to "/file" | |
RewriteCond %{THE_REQUEST} /([^.]+)\.php [NC] | |
RewriteRule ^ /%1 [NC,L,R] | |
#2)Internally map "/file" back to "/file.php" | |
RewriteCond %{REQUEST_FILENAME}.php -f | |
RewriteRule ^(.*?)/?$ /$1.php [NC,L] |
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
.mt0{margin-top:0!important;} | |
.mt2{margin-top:2px!important;} | |
.mt5{margin-top:5px!important;} | |
.mt10{margin-top:10px!important;} | |
.mt15{margin-top:15px!important;} | |
.mt20{margin-top:20px!important;} | |
.mt25{margin-top:25px!important;} | |
.mt30{margin-top:30px!important;} | |
.mt35{margin-top:35px!important;} | |
.mt40{margin-top:40px!important;} |
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
style="filter: invert(.95) sepia(.95);" |
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
//disable the button the moment it is clicked | |
//make sure to check also on server side | |
<input type="submit" value="Submit" onclick="this.disabled=true" /> |
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
//bring in a dib with an id of part1 from another page: | |
$('#newArticle').load('inc/anotherPage.html #part1'); | |
//simple ajax load of content (ie no post/get) from an external file | |
$('a[href="writeNew"]').click(function(e){ e.preventDefault(); $('#newArticle').load('inc/userWrite.php');}); | |
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 | |
class DocBlock { | |
public $docblock, | |
$description = null, | |
$all_params = array(); | |
/** | |
* Parses a docblock; |
NewerOlder