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
global app_state | |
-- check if itunes is running | |
set app_state to false | |
tell application "System Events" | |
if (exists process "iTunes") then set app_state to true | |
end tell | |
-- Adding files to the iTunes library when they are added to the watched folder | |
on adding folder items to my_folder after receiving the_files |
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 | |
/** | |
* StringTools | |
* Justin Swanson | |
* www.github.com/geeksunny | www.faecbawks.com | www.h4xful.net | |
* | |
* An example of this script can be found at http://beta.h4xful.net/tools/string_tools.php | |
*/ | |
if (isset($_POST['mode'])) | |
{ |
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 | |
function check_ip_range($target, $range_start, $range_end) | |
{ | |
if (ip2long($target) >= ip2long($range_start) && ip2long($target) <= ip2long($range_end)) | |
return true; | |
else | |
return false; | |
} |
NewerOlder