La commande run
permet d'instancier un container à partir d'une image.
Executer une instruction dans un container :
docker run ubuntu:14.04 echo "hello world"
Affiche : hello world
<?php | |
if ( !function_exists( 'wp_log' ) ) { | |
/** | |
* A file based logging utility. | |
* | |
* Made for WordPress, but can be used anywhere with a single change. | |
* | |
* @author Tareq Hasan <tareq@wedevs.com> | |
* |
<?php | |
/* | |
* dl-file.php | |
* | |
* Protect uploaded files with login. | |
* | |
* @link http://wordpress.stackexchange.com/questions/37144/protect-wordpress-uploads-if-user-is-not-logged-in | |
* | |
* @author hakre <http://hakre.wordpress.com/> | |
* @license GPL-3.0+ |
<?php | |
header("Content-Type: application/rss+xml; charset=utf-8"); | |
error_reporting(E_ALL); | |
ini_set("display_errors", 0); | |
define('STEAM_USER', $_GET['u']); | |
define('LIST_URL', "http://steamcommunity.com/id/".STEAM_USER."/screenshots/?appid=0&sort=newestfirst&browsefilter=myfiles&view=grid"); | |
include('extlib/ganon/ganon.php'); |
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
function custom_query_shortcode($atts) { | |
// EXAMPLE USAGE: | |
// [loop the_query="showposts=100&post_type=page&post_parent=453"] | |
// Defaults | |
extract(shortcode_atts(array( | |
"the_query" => '' | |
), $atts)); |
- o-grid du FT : https://github.com/Financial-Times/o-grid | |
- http://flexboxgrid.com/ | |
- Lost Grid : vhttps://github.com/corysimmons/lost | |
- Chewing Grid : https://github.com/tzi/chewing-grid.css | |
- flexgrid : http://ptb2.me/flexgrid/ | |
- griddleCSS : http://studio51.github.io/gridlecss/ | |
- http://fclaussen.github.io/Flexbox-Framework/ | |
- http://la-cascade.ghost.io/layout-sur-12-colonnes-avec-flexbox/ | |
- https://github.com/w-jerome/levity |
<?php | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.7 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.7 2015-09-01 regex fix for PHP7 phpinfo | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter |
// Requires | |
var gulp = require('gulp'); | |
// Include plugins | |
var less = require('gulp-less'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var minify = require('gulp-minify-css'); | |
var uncss = require('gulp-uncss'); | |
var rename = require('gulp-rename'); |