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'); |
public class Quine | |
{ | |
public static void main(String[] args) | |
{ | |
char q = 34; // Quotation mark character | |
String[] l = { // Array of source code | |
"public class Quine", | |
"{", | |
" public static void main(String[] args)", | |
" {", |
/* ******************************************************************************************* | |
* 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)); |
A Pen by Jack Brewer on CodePen.
A Pen by Steven Roberts on CodePen.
- 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 |