Skip to content

Instantly share code, notes, and snippets.

View PaulMorel's full-sized avatar
🏠
Working from home

Paul Morel PaulMorel

🏠
Working from home
View GitHub Profile
@PaulMorel
PaulMorel / breadcrumb.php
Last active August 29, 2015 14:18 — forked from About2git/Kirby Semantic Breadcrumb based on WordPress Seo
Kirby 2 Semantic Breadcrumb with Schema.org Microformats
<nav class="breadcrumb" itemprop="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
<?php foreach($site->breadcrumb() as $crumb): ?>
<?php if ($crumb->isActive()): ?>
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<span itemprop="item">
<span itemprop="name">
<?php echo $crumb->title() ?>
</span>
</span>
<div class="rev_slider fullwidthabanner" id="rev_slider_3_1" style="display:none;max-height:500px;height:500px;">
<ul>
<li data-masterspeed="1500" data-saveperformance="off" data-slotamount="7" data-transition="fade">
<img alt="kids-sports-tampa" data-bgfit="cover" data-bgposition="left top" data-bgrepeat="no-repeat" src="http://highviewmarketing.com/client/soccer/wp-content/uploads/2015/02/kids-sports-tampa.jpg">
<div class="tp-caption modern_big_redbg lfl tp-resizeme" data-easing="Power3.easeInOut" data-elementdelay="0.1" data-endelementdelay="0.1" data-endspeed="300" data-speed="300" data-splitin="none" data-splitout="none" data-start="500" data-x="50" data-y="128" style="z-index: 5; max-width: auto; max-height: auto; white-space: nowrap;">
Great Coaches. Great Kids.
</div>
<div class="tp-caption medium_bg_orange lfl tp-resizeme" data-easing="Power3.easeInOut" data-elementdelay="0.1" data-endelementdelay="0.1" data-endspeed="300"
'use strict';
// ----------------------------------------------------------------------------
// Base Paths
// ----------------------------------------------------------------------------
var config = {
projectName: 'Proj',
browserSync: true,
basePath: {
@PaulMorel
PaulMorel / gulpfile.js
Created March 22, 2016 20:15
Gulp 4 Setup
/*jslint node: true */
'use strict';
// ============================================================================
// Config
// ============================================================================
var config = {
projectName: 'Project',
@PaulMorel
PaulMorel / lamp_samba_ubuntu_guide.md
Last active April 8, 2016 14:54
Configuration d’un serveur local sur Linux avec Apache, PHP, MySQL et Samba

Configuration d’un serveur local sur Linux

Avec Ubuntu 14.04 LTS x64, Apache, PHP5, MySQL et Samba

Introduction

Un "LAMP stack" est un groupe de logiciels source-libre qui permettent le opération d'un serveur d'hébergement. Le terme est un acronyme pour Linux, Apache, MySQL et PHP.

Ce guide aidera dans l'installation de ces technologies sur Ubuntu 14.04 et l'installation des logiciels connexes.

Préalables

'use strict';
// Block Coordinate System
// Starts from the bottom left. All values are positive. 0,0 is 1 block
//
// Shape order is clockwise starting from the top.
var tetrominoShapes = {
// I Block
0: [
[1,0, 1,1, 1,2, 1,3],
[],
@PaulMorel
PaulMorel / gulpfile.js
Last active March 19, 2017 02:14
Latest Gulpfile
/*jslint node: true */
'use strict';
// ============================================================================
// Config
// ============================================================================
var config = {
projectName: 'Fraicheur Locale',
/*jslint node: true */
'use strict';
// ============================================================================
// Config
// ============================================================================
var config = {
projectName: 'Kaboom 2016',
#!/usr/bin/env bash
#
# Manage user & group owned virtual hosts and server blocks for Apache & nginx
# Displays script usage
usage() {
echo "Usage: $0 [create|remove|edit|enable|disable]"
exit 0
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.