Events timeline for standard CakePHP actions. These events were taken from the DebugKit's Timeline
Core Processing (Derived from $_SERVER["REQUEST_TIME"])
| <?php | |
| /** | |
| * Events Activation | |
| * | |
| * Activation class for Events plugin. | |
| * This is optional, and is required only if you want to perform tasks when your plugin is activated/deactivated. | |
| */ | |
| class EventsActivation { | |
| /** |
| <?php | |
| /** | |
| * Snr Activation | |
| * | |
| * Activation class for Snr plugin. | |
| * This is optional, and is required only if you want to perform tasks when your plugin is activated/deactivated. | |
| */ | |
| class SnrActivation { |
| <?php | |
| // in Model/Entity/User.php | |
| public function comparePassword($password) | |
| { | |
| return (new DefaultPasswordHasher)->check($password, $this->password); | |
| } | |
| // In user/<someview>.ctp | |
| echo $this->Form->create($user, ['action' => 'update_password']); | |
| echo $this->Form->input('current_password', ['type' => 'password', 'label' => __d('users', 'Current password')]); |
| //Functions | |
| // `current` API function returns the current step step | |
| var current = function() { | |
| return steps.indexOf(activeStep); | |
| }; | |
| // `total` API function returns the number of steps present | |
| var total = function() { | |
| return steps.length; |
| /** | |
| * BATAILLE NAVALE | |
| * --------------- | |
| * | |
| * Author : Manuel Tancoigne | |
| * Date : finished on 2016/09/20 | |
| * License : MIT | |
| * | |
| * Notes: | |
| * ------ |
| #!/bin/bash - | |
| #title :create_react.sh | |
| #description :Small script to get started with React+webpack+babel. | |
| # Inspired by this tutorial: https://www.codementor.io/reactjs/tutorial/beginner-guide-setup-reactjs-environment-npm-babel-6-webpack | |
| #author :Manuel Tancoigne | |
| #date :20161030 | |
| #version :1.0 | |
| #usage :./create_react.sh [<project_name>] | |
| #notes : | |
| #bash_version :4.3.42(1)-release |
| <template> | |
| <div id="app"> | |
| <div v-if="!gagne && !perdu"> | |
| <h1>Le pendu avec les animaux</h1> | |
| <pre class="mot">{{motADeviner}}</pre> | |
| <div> | |
| <button v-for="l in lettres" | |
| @click="testeLettre(l)" | |
| :disabled="testees.indexOf(l) > -1" | |
| class="btn-lettre" |
Events timeline for standard CakePHP actions. These events were taken from the DebugKit's Timeline
Core Processing (Derived from $_SERVER["REQUEST_TIME"])
| /** | |
| * Done after the GAFA Links extension for Firefox by Baptiste Gelez: | |
| * - Firefox extention: https://addons.mozilla.org/fr/firefox/addon/gafalink/ | |
| * - Source: https://framagit.org/Bat/gafalink | |
| * - Userstyle page: https://userstyles.org/styles/149959/gafa-links-that-stand-out | |
| * | |
| * Note that this style is designed for people that want to test the extension but don't use Firefox. It will not be | |
| * as customizable as the original one. | |
| * | |
| * You can generate your output yourself, online, using the Sass sandbox: |
I hereby claim:
To claim this, I am signing this object: