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
[category] | |
url = "(\S+)-(\d+)-1.html" | |
controller = "page" | |
action = "category" | |
map[2] = "id" | |
rurl = "%s-%d-1.html" | |
[subCategory] | |
url = "(\S+)-(\S+)-(\d+)-2.html" | |
controller = "page" |
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 | |
if(isset($_POST['submit'])) | |
{ | |
if(isset($_POST['password'])) | |
{ | |
if($_POST["password"] == "cequejeveux") | |
{ | |
$_SESSION['allowed'] = 'allowed'; | |
header('location:wordpress/index.php'); | |
} |
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
Mardi prochain à 18h, j'organiserais un petit cours sur la création d'un serveur web. | |
Et parce qu'on est pas des mauviettes, on va se faire ça bien correctement, tout en ligne de commande, et sous Linux (tant qu'à faire). | |
Pour ceux qui n'ont jamais pratiqué la ligne de commande, je ferais un rappel sur l'utilisation de Linux dans ce mode sans interface visuelle, à savoir architecture de l'OS (j'entends par là structure des dossiers principalement) les commandes classiques, ainsi que quelques recommandations et tips (RTFM). Ça ne devrait pas prendre longtemps et dans tous les cas, je filerais aux personnes présentes un doc récapitulatif pour qu'elles ne soient pas perdues par la suite. | |
La suite justement : l'installation du serveur. Je parlerais de la méthode la plus « classique » bien qu'il y en ait tout un tas : | |
- Serveur web Apache et ses modules ; | |
- La sécurité, un truc vachement important (et intéressant aussi en plus...) ; | |
- Installation de PHP, MySQL, PHPMyAdmin et autres joyeusetées nécessaires ou o |
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
[23-Jan-2014 11:57:57 Europe/Berlin] PHP Fatal error: Call to undefined function node_types_rebuild() in /Applications/MAMP/htdocs/drupaltest/includes/common.inc on line 7467 | |
[23-Jan-2014 12:06:35 Europe/Berlin] PHP Fatal error: Call to undefined function node_types_rebuild() in /Applications/MAMP/htdocs/drupaltest/includes/common.inc on line 7467 | |
[23-Jan-2014 12:07:43 Europe/Berlin] PHP Fatal error: Call to undefined function field_attach_load() in /Applications/MAMP/htdocs/drupaltest/includes/entity.inc on line 316 | |
[23-Jan-2014 12:11:34 Europe/Berlin] PHP Fatal error: Call to undefined function field_attach_load() in /Applications/MAMP/htdocs/drupaltest/includes/entity.inc on line 316 | |
[23-Jan-2014 12:13:26 Europe/Berlin] PHP Fatal error: Call to undefined function field_attach_load() in /Applications/MAMP/htdocs/drupaltest/includes/entity.inc on line 316 | |
[23-Jan-2014 12:16:00 Europe/Berlin] PHP Fatal error: Call to undefined function field_attach_load() in /Applications/MAMP/htdocs/drupaltest/includes |
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
$('p.bottom, .logo, nav ul li:first-child').on('click', function(e){ | |
e.preventDefault(); | |
var the_id = $(this).attr("href"); | |
$('html, body').animate({ | |
scrollTop:'0px' | |
}, 800); | |
buildSplash(); |
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
showThemes: function (req, res, next) { | |
var themes = JSON.parse(fs.readFileSync('content/api/settings/themeSettings.json', 'utf8')); | |
var currentTheme = themes.backOfficeActiveTheme; | |
console.log(currentTheme); | |
var backOfficeThemes = []; | |
var frontOfficeThemes = []; | |
fs.readdir('content/themes/backoffice', function (err, files) { | |
files.forEach(function (folder) { |
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
// Open and close overlay | |
$('#gammes div p a').on('click', function(e){ | |
e.preventDefault(); | |
// Defaults overlay | |
$('#overlay nav ul li').removeClass('active'); | |
$('#overlay nav ul li:first-child').addClass('active'); | |
$('.left').fadeOut(0); | |
$('.left-03').fadeIn(300); | |
$('.right-content').fadeOut(0); |
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
<!doctype html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Premiers pas dans la sagasphère</title> | |
<link rel="stylesheet" href="css/main.css" /> | |
<script type="text/javascript" src="js/jquery.js"></script> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
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
#/!bin/bash | |
VMSLIST=$(vboxmanage list vms) | |
VMSLISTRUNNING=$(vboxmanage list runningvms) | |
REGEX='\"[a-zA-Z0-9\.-]+\"' | |
OPT=$1 | |
case "$OPT" in |
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
// | |
// RegisterViewController.m | |
// JuniorExchange | |
// | |
// Created by Florian Pygmalion on 17/03/2015. | |
// Copyright (c) 2015 Florian Pygmalion. All rights reserved. | |
// | |
#import "RegisterViewController.h" | |
#import "User.h" |
OlderNewer