Skip to content

Instantly share code, notes, and snippets.

View pounard's full-sized avatar
💭
What's happening?

Pierre pounard

💭
What's happening?
View GitHub Profile
/**
* abs(Nombre number) : Nombre result
* Renvoie la valeur absolue du nombre number.
* Le nombre dont la valeur absolue sera calculée.
* La valeur absolue du nombre.
*
* @level 1
* @cores 1
*
@pounard
pounard / moche.js
Last active August 29, 2015 14:12
/*jslint browser: true, plusplus: true, indent: 2 */
/*global Node, console, Blob */
/**
* Et tu pleures. Et tu pleures. Et tu pleures. Mais ça marche.
*
* But how the fuck will I make this work?
* - Step 1: Open your firebug (or other) console
* - Step 2: Paste this code into it
* - Step 3: Click "Execute" (or maybe "Run")
* - Step 4: If everything went OK your browser will download the file
<?php
namespace Drupal\my_module\Plugins\Blocks;
/**
* @Plugin(
* type="menu_block",
* title="Menu Block",
* description="A block for displaying system or user generated menus."
* )