My Recent Pastes (36 and counting)
Pastes by Mehdi Kabab (36 and counting)
Below are the 15 most recent pasties by Mehdi Kabab.
August 19, 2010
4:14AM EDT
by Mehdi Kabab
View all 16 lines
{block main}
{regroup $entry_list, 'published_at_year', 'year_list'}
{foreach $year_list as $year}
<h1>Billets <strong>{$year.grouper|date:"%Y"}</strong></h1>
{regroup $year.list, 'published_at_month', 'month_list'}
May 31, 2010
5:04AM EDT
by Mehdi Kabab
View all 7 lines
class TrueMock { public function __call($method, $args) { return true;
March 20, 2010
2:37PM EDT
by Mehdi Kabab
RewriteEngine On RewriteCond %{REQUEST_URI} !^blog RewriteRule ^.*$ http://pioupioum.fr/ [R=301,L]
March 20, 2010
2:12PM EDT
by Mehdi Kabab
RewriteEngine On RewriteCond %{REQUEST_URI} !^blog RewriteRule ^blog(.*)$ http://www.toto.fr/$1 [R=301,L]
November 05, 2009
10:18AM EDT
by Mehdi Kabab
// plus simple que http://pastie.org/684793, non ? :D date_default_timezone_set('Europe/Paris'); setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8'); echo strftime('%e.%B.%Y', strtotime('2004-02-12'));
November 05, 2009
10:14AM EDT
by Mehdi Kabab
date_default_timezone_set('Europe/Paris'); setlocale(LC_TIME, 'fr_FR.UTF8', 'fr.UTF8', 'fr_FR.UTF-8', 'fr.UTF-8'); echo strftime('%u.%B.%Y', strtotime('2004-02-12'));
October 12, 2009
3:01PM EDT
by Mehdi Kabab
View all 31 lines
FGRibreau ----------- 412 ms 426 ms 1104 ms
July 20, 2009
11:05AM EDT
by Mehdi Kabab
View all 24 lines
1. Existing files src:foo.txt src:foo\ bar.txt src:INSTALL\ NEW.txt
July 16, 2009
12:21PM EDT
by Mehdi Kabab
View all 18 lines
<?php //This file is needed to be able to use the wp_rss() function. include_once(ABSPATH.WPINC.'/rss.php');
July 07, 2009
10:13AM EDT
by Mehdi Kabab
View all 16 lines
<?php // Version one-line de http://bit.ly/hAIcl /** * Convertir un tableau indéxé a une dimension en liste non ordonnée HTML.
June 25, 2009
3:44PM EDT
by Mehdi Kabab
View all 16 lines
<?php /** * Tester la dernière itération d'une boucle foreach. */ $team = array('Joe', 'Bar', 'Team');
June 19, 2009
10:28AM EDT
by Mehdi Kabab
View all 17 lines
--- /tmp/o2tweet-trunk/o2tweet/o2tweet.php +++ o2tweet.php @@ -278,6 +278,10 @@ echo '<li>' . $tweet->content . '</li>'; }
June 18, 2009
3:41PM EDT
by Mehdi Kabab
View all 61 lines
var MinURL = function() { var _host = (('https:' == document.location.protocol) ? 'https://': 'http://') + 'minurl.fr.s3.amazonaws.com'; var _config = { img: _host + '/twitter.gif'
May 29, 2009
6:48PM EDT
by Mehdi Kabab
View all 26 lines
;(function(){
var e = document.getElementById('minurl_lien');
function html2Dom(html)
{
May 29, 2009
6:00AM EDT
by Mehdi Kabab
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Cut here: é Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
