A timeline with fixed header using flexbox. Data is not correct or complete. Only for demo.
This file contains 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 | |
class DateTimeFrench extends DateTime { | |
public function format($format='j M Y'){ | |
$days_full = array( | |
'Monday' => 'Lundi', | |
'Tuesday' => 'Mardi', | |
'Wednesday' => 'Mercredi', | |
'Thursday' => 'Jeudi', |
This file contains 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 | |
/* | |
* PHP: Recursively Backup Files & Folders to ZIP-File | |
* MIT-License - 2012-2018 Marvin Menzerath | |
*/ | |
// Make sure the script can handle large folders/files | |
ini_set('max_execution_time', 600); | |
ini_set('memory_limit', '1024M'); |
This file contains 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 | |
/** | |
* API Request Caching | |
* | |
* Use server-side caching to store API request's as JSON at a set | |
* interval, rather than each pageload. | |
* | |
* @arg Argument description and usage info | |
*/ |
This file contains 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 | |
/* | |
HTMLPurifier settings example | |
'cleaner_xss_clean' => 'no', | |
'cleaner_html_clean' => 'no', | |
'cleaner_allow_tags_in_post' => '', | |
'cleaner_allow_attr_in_template' => 'href, class, src, rel, width, height', | |
'cleaner_allow_tags_in_template' => 'img, h1, h2, h3, h4, h5, blockquote, strong, em, p, b, a, i, ul, li, ol, br', | |
*/ |
This file contains 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 | |
function json_response($code = 200, $message = null) | |
{ | |
// clear the old headers | |
header_remove(); | |
// set the actual code | |
http_response_code($code); | |
// set the header to make sure cache is forced | |
header("Cache-Control: no-transform,public,max-age=300,s-maxage=900"); |
This file has been truncated, but you can view the full file.
This file contains 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
<http://sailortalk.podOmatic.com/rss2.xml> | |
HTTP://www.knient.com/CAL/CAL-Podcast/CAL-Podcast.xml | |
Http://feeds.feedburner.com/fridgeandhbomb | |
Http://feeds.feedburner.com/wfodicks | |
Http://ravenc-taouf.podomatic.com/rss2.xml | |
Http://www.calvaryonline.org/podcasts/podcast.xml | |
Http://www.changkhui.com/XML/teemateepai.xml | |
httP://dtfreunde.podcaster.de/Deutsches_Theater.rss | |
http://-myantioch.sermon.tv/rss/main |
This file contains 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
.slider | |
.slider__slide.slider__slide--active( data-slide="1" ) | |
.slider__wrap | |
.slider__back | |
.slider__inner | |
.slider__content | |
h1 Slide <br> One | |
a.go-to-next next | |
.slider__slide( data-slide="2" ) | |
.slider__wrap |
This file contains 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
<section id="cd-timeline" class="cd-container"> | |
<div class="cd-timeline-block"> | |
<div class="cd-timeline-img cd-picture"> | |
</div> | |
<div class="cd-timeline-content"> | |
<h2>Penta Consulting</h2> | |
<div class="timeline-content-info"> | |
<span class="timeline-content-info-title"> | |
<i class="fa fa-certificate" aria-hidden="true"></i> |
images from https://unsplash.com/
NewerOlder