(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.
var gulp = require('gulp'); | |
var path = require('path'); | |
var gutil = require('gulp-util'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var coffee = require('gulp-coffee'); | |
var cache = require('gulp-cached'); | |
var remember = require('gulp-remember'); | |
var plumber = require('gulp-plumber'); |
(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.
/sbin/fsck -fy | |
mount -uw / | |
launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist | |
launchctl load /System/Library/LaunchDaemons/com.apple.configd.plist | |
launchctl load /System/Library/LaunchDaemons/com.apple.diskmanagementd.plist | |
launchctl load /System/Library/LaunchDaemons/com.apple.securityd.plist | |
launchctl load /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist | |
diskutil rename Macintosh_HD Macintosh\ HD |
<!doctype html> | |
<html ng-app="Demo" ng-controller="AppController"> | |
<head> | |
<meta charset="utf-8" /> | |
<title> | |
Creating Asynchronous Alerts, Prompts, And Confirms In AngularJS | |
</title> | |
</head> | |
<body> |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
var svg = document.querySelector( "svg" ); | |
var svgData = new XMLSerializer().serializeToString( svg ); | |
var canvas = document.createElement( "canvas" ); | |
var ctx = canvas.getContext( "2d" ); | |
var img = document.createElement( "img" ); | |
img.setAttribute( "src", "data:image/svg+xml;base64," + btoa( svgData ) ); | |
img.onload = function() { |
There are a lot of complaints going around about Laravel these days, but a lot | |
of the important ones seem to be missing from the spotlight. | |
Bugfixes, issues and pull requests being left open for months with no | |
clarification of intent: | |
- https://github.com/laravel/framework/pull/1799 | |
- https://github.com/laravel/framework/issues/1963 | |
- https://github.com/laravel/framework/issues/2089 | |
- https://github.com/laravel/framework/issues/2234 |
<?php | |
/** | |
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE | |
*/ | |
namespace Joomla\Data; | |
use Psr\Cache\CacheInterface; |
<?php | |
// src/YourApp/Bundle/YourBundle/Twig/ToArrayExtension.php | |
namespace Appcito\Bundle\CoreBundle\Twig; | |
/** | |
* A simple twig extension that adds a to_array filter | |
* It will convert an object to array so that you can iterate over it's properties | |
*/ | |
class ToArrayExtension extends \Twig_Extension |
#!/bin/bash | |
# | |
# PHP 5.4 Deprecated function checker | |
# | |
# Version: 0.0.3 | |
# | |
# Original Author: Michiel Roos <[email protected]> | |
# | |
# http://www.php.net/manual/de/migration54.incompatible.php | |
# http://www.php.net/manual/en/migration54.deprecated.php |