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
// space between items indicates difference in level of egregiousness | |
1. Captcha | |
2. Icon-only links | |
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 blah($foo, $bar) | |
{ | |
echo implode("\n", array_map(function($step) { | |
extract($step); | |
return sprintf('%s(%s) called at [%s:%d]', $function, implode(', ', $args), $file, $line); | |
}, debug_backtrace())) . "\n"; | |
}; |
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
mkdir ~/tmp-php-build | |
cd ~/tmp-php-build | |
wget http://downloads.php.net/stas/php-5.4.0RC1.tar.gz | |
tar -xzf php-5.4.0RC1.tar.gz | |
cd php-5.4.0RC1 | |
./configure --prefix=$HOME/tmp-php-build | |
make test | |
Y |
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
I cannot even imagine why you think *this* syntax is hard to read, write, or remember. | |
# Markdown has lots of benefits: | |
* It is concise | |
* It is very human-readable | |
* In many cases, it looks like what you want. It is designed to replace characters that you would normally use to emphasize or organize text in plain text. | |
* Noah doesn't like it, so it is probably good. | |
Sure, markdown can start to become more [complex](http://daringfireball.net/projects/markdown/syntax), but that is the nature of showing all content in any markup language. You can't "hide" information such as the previous url like you can when the markdown is ultimately parsed. The same goes for any markup out there. |
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
(function($){ | |
// $ is definitely jQuery now throughout the rest of this function | |
})(jQuery); |
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
return new Frapi_Response( | |
'code' => 201, | |
'location' => '/user/1' | |
); |
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 | |
try { | |
try { | |
try { | |
throw new Exception(); | |
} catch (Exception $e) { | |
echo 'third'; | |
} | |
} catch (Exception $e) { |
NewerOlder