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
Index: lastfm_options.php | |
=================================================================== | |
--- lastfm_options.php (revision 714873) | |
+++ lastfm_options.php (working copy) | |
@@ -346,6 +346,15 @@ | |
'type' => 'checkbox', | |
'section' => 'general' | |
); | |
+ | |
+ $this->settings['nofollow'] = 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
NSArray *test = [NSLocale availableLocaleIdentifiers]; | |
for (int i = 0; i < [test count]; i++) { | |
NSLocale *tmpLocale = [[[NSLocale alloc] initWithLocaleIdentifier:[test objectAtIndex:i]] autorelease]; | |
NSString *localeIdentifier = [tmpLocale objectForKey: NSLocaleIdentifier]; | |
NSString *localeIdentifierDisplayName = [tmpLocale displayNameForKey:NSLocaleIdentifier value:localeIdentifier]; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> | |
<dictionary title="Standard Terminology"> | |
<suite name="Standard Suite" code="????" description="Common classes and commands for all applications."> | |
<command name="open" code="aevtodoc" description="Open a document."> | |
<direct-parameter description="The file(s) to be opened."> | |
<type type="file"/> |
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 | |
include dirname(__FILE__) . '/KLogger.php'; | |
header('Content-type: text/html'); | |
outputHeader(); | |
$logDir = dirname(__FILE__) . '/logs'; | |
$file = $logDir . '/HKOLog.txt'; |
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 | |
include dirname(__FILE__) . '/KLogger.php'; | |
$logDir = dirname(__FILE__) . '/logs'; | |
$file = $logDir . '/HKOLog.txt'; | |
$log = KLogger::instance($logDir, KLogger::DEBUG, false); | |
include dirname(__FILE__) . '/tz.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
#!/usr/bin/env bash | |
# IRC Issue from helperW | |
# Network: freenode | |
# Channel: #macosx | |
# I have a directory with 001.png 023.png 003.png ( around 800 files) | |
# I have to rename them to a random filename with : 5 digits that contain random numbers and letters | |
# ensure all vars are initialised and exit on error |
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 | |
$curl_error_str = ""; | |
$curl_error_no = 0; | |
$httpCode = 0; | |
$curl_info = ""; | |
$page=""; | |
$html=""; |
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
tell application "Finder" | |
set theWindowList to windows (* get all Finder windows *) | |
repeat with i from 1 to number of items in theWindowList (* loop through them *) | |
set this_item to item i of theWindowList (* get a window from the *) | |
set windowName to name of this_item (* get the window's name*) | |
if windowName ends with " Info" then (* see if the window name ends in " Info" - NOTE the space *) | |
close this_item (* ENHANCEMENT: Would also close a Finder window that had a folder open that ended in " Info" *) | |
end if |
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
tell application "Finder" | |
set theWindowList to windows (* get all Finder windows *) | |
repeat with i from 1 to number of items in theWindowList (* loop through them *) | |
set shouldClose to false (* reset to false *) | |
set this_item to item i of theWindowList (* get a window from the list *) | |
set windowName to name of this_item (* get the window'ss name *) | |
(* this list should contain class property that tells you the type of window - which is nice *) | |
(* Class would be either "Finder window" for normal windows or "information window" for the Info windows *) |
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
#!/usr/bin/env bash | |
#set -o nounset | |
source ./utils.sh | |
ZLIB_VERSION=1.2.8 | |
ZLIB_URL=http://prdownloads.sourceforge.net/libpng/zlib-$ZLIB_VERSION.tar.gz?download | |
ZLIB_DIR=zlib |