Create repository:
git init
$(function() {}) |
find . -name '.DS_Store' -exec rm -f {} \; |
find * -type f -exec chmod 644 {} \; | |
find * -type d -exec chmod 755 {} \; |
sha1(microtime(TRUE).mt_rand(10000, 90000)); |
SELECT foo, bar FROM foobar WHERE BINARY foo = bar; |
$foobar = (mb_detect_encoding($foobar, 'UTF-8, ISO-8859-1') != 'UTF-8' ? utf8_encode($foobar) : $foobar); |
iconv -f iso-8859-1 -t utf-8 file_iso.txt > file_utf8.txt |
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; | |
NSString *localizedDateFormat = [NSDateFormatter dateFormatFromTemplate:@"MMMM d, y" options:0 locale:[NSLocale currentLocale]]; | |
[dateFormatter setDateFormat:localizedDateFormat]; | |
NSString *dateString = [dateFormatter stringFromDate:date]; | |
[dateFormatter release]; | |
// dateString will be "April 19, 2010" for US and "19. April 2010" for DE locale |
$GLOBALS["TYPO3_DB"]->store_lastBuiltQuery = TRUE; | |
echo $GLOBALS["TYPO3_DB"]->debug_lastBuiltQuery; |