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
17:40 < Obsidian|server> one day the world will leave java for the promised land | |
17:40 < mbreslin> i hope it doesn't, i'll be out of a job | |
17:40 < mbreslin> i hate java but i hate being unemployed more | |
17:40 < rnowak> mbreslin: just pretend you're doing stuff with $newtech, just like you do with java now | |
17:41 < Obsidian|server> "I'm a java refugee" | |
17:41 < rnowak> "I survived java" | |
17:41 * Obsidian|server waits for donations to start pouring in | |
17:41 < Obsidian|server> do commercials like the ones for the poor children in africa, for the charities that have like 80% administrative costs | |
17:42 < mbreslin> i was at work at 6am this morning trying to unfuck myself from a bad thing i did before new years | |
17:42 < Obsidian|server> "With just $300 a day, you too can help support recovering java programmers like mbreslin" |
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
why phpbb has failed the open source movement | |
in response to the daydreaming present in http://www.phpbb.com/community/viewtopic.php?f=64&t=2143698 | |
note: this is from the standpoint of the everyday admin, running 3.0.x - changes already patched into 3.1.x are not taken into consideration as they are not readily available for public use. if you want pending changes considered, get off your ass and get a release of 3.1.x out. | |
--- | |
issues | |
- contributing |
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 | |
// Figure out timezones. | |
$timezones = \DateTimeZone::listIdentifiers(\DateTimeZone::PER_COUNTRY, 'US'); | |
$_timezones = \DateTimeZone::listIdentifiers(\DateTimeZone::ALL_WITH_BC); | |
$_p_timezones = $_n_timezones = array(); | |
foreach($_timezones as $timezone) | |
{ | |
if($timezone == 'Etc/GMT-0' || $timezone == 'Etc/GMT-13' || $timezone == 'Etc/GMT-14') | |
{ | |
continue; |
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 test.php | |
object(emberlabs\sfslib\Transmission\Request\Response)#31 (1) { | |
["data":protected]=> | |
array(1) { | |
["username"]=> | |
array(1) { | |
["test"]=> | |
object(emberlabs\sfslib\Transmission\Request\Result)#32 (8) { | |
["type":protected]=> | |
int(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
on load: | |
- compare hardcoded signature file in code to signatures.phar pubkey against before using signatures file | |
- identify user-supplied signature files | |
( new addons are dropped into a temporary dir for verification ) | |
for addons being loaded from temporary dir: | |
if no pubkey file for phar: | |
if loading with LOAD_PARANOID: | |
- refuse to load addon | |
if loading with LOAD_WARY: |
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
// My own version, slightly modified version of what github released (added the stuff for relatizeDateTime so it plays nice with html5 and <time> tags) | |
// | |
// Github's original version: https://github.com/github/jquery-relatize_date | |
// All credit goes to Rick Olson. | |
(function($) { | |
$.fn.relatizeDate = function() { | |
return $(this).each(function() { | |
$(this).text( $.relatizeDate(this) ) |
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 | |
$tungsten = new \Codebite\Tungsten\TextParser(); | |
$tungsten->loadStack('UniqueSelector') | |
->loadStack('SimpleYoutube') | |
->loadStack('LinkedImage') | |
->loadStack('Link') | |
->loadStack('TokenRemover'); | |
$text = "super fancy embedding! |
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 | |
$match = 'SELECT p.*, u.* | |
FROM posts, users | |
WHERE p.post_author = %3$d | |
AND u.user_id = %3$d | |
AND | |
( | |
u.username = %s | |
OR u.usertype = %s |
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
diff --git a/Router/RouteInstance.php b/Router/RouteInstance.php | |
index ed05a85..e4e5202 100644 | |
--- a/Router/RouteInstance.php | |
+++ b/Router/RouteInstance.php | |
@@ -164,7 +164,7 @@ class RouteInstance | |
if(substr($callback, 0, 2) != '::' && substr($callback, -2, 2) != '::') | |
{ | |
- if(!is_callable($callback)) | |
+ if(!is_callable($callback) && !is_file($callback)) |
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
The included report was submitted as an "inappropriate content" report to SourceForge regarding the project "TCPDF", located at the URL http://sourceforge.net/projects/tcpdf/report_inappropriate | |
It is regarding the license of the project, which violates the GNU Lesser General Public License, version 3 -- under which the library is licensed. By extension, as the library is violating its own license, it is also in violation of the Sourceforge.net Terms of Use. | |
The report was sent to the Sourceforge team as of 06/16/2011 4:37 PM UTC-6(+DST). | |
A response from the Sourceforge team has not yet been received. | |
--- | |
Update - 06/16/2011 5:09 PM UTC-6(+DST) |