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
| $('a.changeset').map(function(i, o) { s = String($(o).html()).match(/^\[(\d+)/); return s[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
| add_filter('posts_groupby', 'author_groupby'); | |
| function author_groupby($groupby) | |
| { | |
| global $wpdb; | |
| $author_groupby = "{$wpdb->posts}.post_author"; | |
| if(preg_match("/$author_groupby/", $groupby)) { | |
| // grouping we need is already 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
| Day job: Python developer at the pathology department of the University of Utah. Mostly doing bioinformatics. | |
| Favorite Python project: Django | |
| Favorite Conference: Google IO | |
| Python Experience Level: between intermediate and expert. 4 years. |
NewerOlder