composer require php-opencloud/openstack ^3.0
<?php
find . -name .DS_Store -type f -exec rm -v {} \; |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 1.3), | |
only screen and (min-device-pixel-ratio: 1.3), | |
only screen and (min-resolution: 120dpi) { | |
/* Votre code ici pour les écrans Retina */ | |
} |
<?php | |
session_start(); | |
$locale = "fr_FR"; | |
putenv("LC_ALL=".$locale); | |
setlocale(LC_ALL, $locale); | |
bindtextdomain("messages", "./locale"); | |
textdomain("messages"); |
<script src="https://www.betaseries.com/js/button.js" async></script> | |
<p><a href="https://www.betaseries.com" class="betaseries-button" | |
data-type="episode-details" | |
data-show="Desperate Housewives" | |
data-season="1" | |
data-episode="6" | |
>Voir la fiche épisode sur BetaSeries</a></p> |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Getopt::Long qw(:config posix_default bundling); | |
use Net::SIP; | |
#Usage | |
sub usage { |
<?php | |
function get_feedpress_subscribers($url) { | |
$json_string =file_get_contents($url); | |
$json = json_decode($json_string, true); | |
return ( intval( $json['graph']['datasequences'][0]['datapoints'][0]['value'] ) + intval( $json['graph']['datasequences'][1]['datapoints'][0]['value'] ) ); | |
} |
<?php | |
$source = json_decode(file_get_contents('french.json'), true); | |
$dest = json_decode(file_get_contents('auto_french.json'), true); | |
function mergeArray($source, $dest) { | |
foreach ($dest as $k => $v) { | |
if (!array_key_exists($k, $source)) { |
if (!(document.getElementById)) { | |
alert("Your browser cannot view this feed using FeedBurner's BrowserFriendly feature.\n\nConsider upgrading to Internet Explorer 6, Firefox, or Mozilla to view this feed and options for subscribing to its content in a news reader."); | |
} |
RewriteCond %{QUERY_STRING} format=rss | |
RewriteRule ^post /rss [R=301,L] |