👁️🗨️
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 | |
if (ini_get('short_open_tag') == 0 && strtoupper(ini_get('short_open_tag')) != 'ON') | |
die('Error: short_open_tag parameter must be turned on in php.ini'); | |
?><? | |
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); | |
@ini_set('pcre.backtrack_limit', 1024*1024); | |
define('IP_LIMIT_DEFAULT', '#IP'.'_LIMIT_PLACEHOLDER#'); | |
define('IP_LIMIT', '#IP_LIMIT_PLACEHOLDER#'); |
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
set text item delimiters to "." | |
tell application "Finder" | |
set the_folder to choose folder | |
set the_subfolders to every folder in the_folder | |
repeat with index from 1 to the count of the_subfolders | |
set this_folder to item index of the_subfolders | |
set img_files to (every file in this_folder whose name ends with ".jpg") | |
repeat with indexf from 1 to (the count of img_files) | |
set this_file to item indexf of img_files | |
set file_name_count to text items of (get name of this_file) |
NewerOlder