(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?php | |
| /** | |
| * Plugin Name: T5 WP Load Order | |
| * Description: Hooks into every action and creates a list of available variables, constants, functions, classes and files. | |
| * Plugin URI: | |
| * Version: 2012.11.05 | |
| * Author: Thomas Scholz | |
| * Author URI: http://toscho.de | |
| * Licence: MIT | |
| * License URI: http://opensource.org/licenses/MIT |
| <?php | |
| namespace Standalone\Form; | |
| use \Symfony\Component\HttpFoundation as SHttp; | |
| use \Symfony\Component\Form as SForm; | |
| use \Symfony\Component\DependencyInjection as SDI; | |
| use \Symfony\Bridge as SBridge; | |
| //Register all your autoload function here | |
| //... |
| (function() { | |
| var CSSCriticalPath = function(w, d, opts) { | |
| var opt = opts || {}; | |
| var css = {}; | |
| var pushCSS = function(r) { | |
| if(!!css[r.selectorText] === false) css[r.selectorText] = {}; | |
| var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/); | |
| for(var i = 0; i < styles.length; i++) { | |
| if(!!styles[i] === false) continue; | |
| var pair = styles[i].split(": "); |
| var pm = PasswordManager.getInstance(); | |
| var pl = pm.savedPasswordsList_; | |
| var model = pm.savedPasswordsList_.dataModel; | |
| setTimeout(function(){ | |
| var item, url, user, pass | |
| var decryptedRow = '"url","username","password"\n'; | |
| for (i=0; i < model.length; i++) { | |
| PasswordManager.requestShowPassword(i); | |
| item = pl.getListItemByIndex(i).childNodes[0]; |
| var selector = 'img' // Replace this with the selector for the element you want to make transformable | |
| jQuery.getScript('//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js', function() { | |
| jQuery.getScript('//cdnjs.cloudflare.com/ajax/libs/numeric/1.2.6/numeric.min.js', function() { | |
| (function() { | |
| var $, applyTransform, getTransform, makeTransformable; | |
| $ = jQuery; |
| <?php | |
| namespace Acme\Validator\Constraints; | |
| use Symfony\Component\Validator\Constraint; | |
| use Symfony\Component\Validator\Constraints\Valid; | |
| use Symfony\Component\Validator\Exception\ConstraintDefinitionException; | |
| /** | |
| * @Annotation |
| // | |
| // This program is free software; you can redistribute it and/or | |
| // modify it under the terms of the GNU General Public License | |
| // as published by the Free Software Foundation; either version 2 | |
| // of the License, or (at your option) any later version. | |
| // | |
| // This program is distributed in the hope that it will be useful, | |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| // GNU General Public License for more details. |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |