Voilà. C'est quasi fini. 25 avril --> 27 octobre 2017
185 jours
15.984.000 secondes
266.400 minutes
4440 heures
26 semaines et 3 jours.
Vous avez été la première promo de BeCode.
Voilà. C'est quasi fini. 25 avril --> 27 octobre 2017
185 jours
15.984.000 secondes
266.400 minutes
4440 heures
26 semaines et 3 jours.
Vous avez été la première promo de BeCode.
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
# 1. Install brew --> http://brew.sh/ | |
# 2. run the following commands in your Terminal | |
brew tap homebrew/dupes | |
brew tap homebrew/versions | |
brew tap homebrew/homebrew-php | |
brew install --with-openssl curl | |
brew install --with-homebrew-curl --with-apache php71 | |
brew install php71-mcrypt php71-imagick | |
# 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot. | |
brew info php71 |
function add_nonbreaking_space_to_text($title, $id = null){ | |
$title = explode(' ', $title); | |
$length = count($title); | |
if( $length >0){ | |
$title[ $length-2 ] .= " " . $title[ $length-1 ]; | |
array_pop($title); | |
} | |
return implode(" ", $title); | |
} |
<?php | |
/** | |
* Class Popular_Posts_Data | |
* | |
* A class for retrieving an array of popular posts post data. This class is designed for use with the WordPress Popular | |
* Posts plugin (@see https://wordpress.org/plugins/wordpress-popular-posts/) and will not work without it. | |
* | |
* @source https://philsmart.me/wordpress-popular-posts-plugin-raw-data-array/ | |
* @author Phil Smart Alexandre Plennevaux |
<?php | |
/** | |
* Numeric Pagination Class | |
* @author Alexandre Plennevaux https://pixeline.be | |
* | |
* This class returns a list of LI > A. It is up to you to set the wrapping NAV > UL around your function call. | |
* | |
* @usage (setting specific classes) | |
* | |
* // Sets the css classes you want to be used for the output |
<?php | |
/* | |
* | |
* WP-siege: Generates list of all published URLs from a Wordpress site, for use with Siege. | |
* Author: Alexandre Plennevaux alexandre@pixeline.be | |
* | |
*/ | |
//path to a wp-load file | |
include( './wp-load.php' ); |
/* ---------------------------------------------- | |
THE VOICE | |
// this class set is used to convey specific expressions in a coherent, global system: the voice of your application. | |
---------------------------------------------- */ | |
.voice{ | |
font-size:100%; | |
font-family: $font-sans; | |
&--info{ | |
background-color:#FFFFDD; |
This is a simplified example of Smarter Link Underlines built for Sass rather than Stylus. Original code example by Adam Schwartz of eager.io.
View a live example on Codepen
// dev note: make sure to use an autoprefixer... | |
@mixin underline($background: #fff, $text: #000, $selection: #ffc, $position: 86%){ | |
color: inherit; | |
text-decoration: none; | |
background: linear-gradient($background, $background), linear-gradient($background, $background), linear-gradient($text, $text); | |
background-size: .05em 1px, .05em 1px, 1px 1px; | |
background-repeat: no-repeat, no-repeat, repeat-x; | |
text-shadow: 0.03em 0 $background, -0.03em 0 $background, 0 0.03em $background, 0 -0.03em $background, 0.06em 0 $background, -0.06em 0 $background, 0.09em 0 $background, -0.09em 0 $background, 0.12em 0 $background, -0.12em 0 $background, 0.15em 0 $background, -0.15em 0 $background; | |
background-position-y: $position,$position, $position; |