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
//I paste this into the console when I need to make a report showing someone forgot to pay stuff | |
$('.td-callout-content table td[id^=name]').each(function(index, td){ | |
if ( $(td).html() != "Person's Name Text"){ | |
$(td).parent().hide(); | |
} | |
}); |
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 | |
$memory = array(); | |
function listFolderFiles( $dir='.', $root_dir=null){ | |
$ffs = scandir($dir); | |
$dir = str_replace('./','',$dir); | |
$pretty_dir = explode('/',$dir); | |
$pretty_dir = $pretty_dir[0]; | |
$files = array(); |
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 | |
$memory = array(); | |
function listFolderFiles($dir){ | |
$ffs = scandir($dir); | |
$files = array(); | |
foreach($ffs as $ff){ | |
if($ff != '.' && $ff != '..'){ | |
if( is_dir($dir.DIRECTORY_SEPARATOR.$ff) ) { |