I no longer mantain this list. There are lots of other very comprehensive JavaScript link lists out there. Please see those, instead (Google "awesome JavaScript" for a start).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blade::extend(function ($view) { | |
return preg_replace( | |
'/{{(\'|")(.*)(\'|")}}/', | |
'<?php echo e(trans($1$2$1)); ?>', | |
$view | |
); | |
}); | |
// And you should be able to do tho this on your Blade templates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: create some vms | |
hosts: localhost | |
connection: local | |
vars_prompt: | |
- name: "vcenter_host" | |
prompt: "Enter vcenter host" | |
private: no | |
default: "vcsa" | |
- name: "vcenter_user" |
This procedure is tested on Mac OS X 10.8 with Developpers tools installed (xCode).
PHP 5.4 installed with Homebrew.
Update: I wrote a blog post about this.
Download the following files from Oracle website (yes, you need to create an account and accept terms):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function foo($a, $b) { | |
echo "a: {$a} b: {$b}\n"; | |
} | |
$foo_caller = new PartialCallable('foo', array('A')); | |
$foo_caller('B'); | |
$foo_caller = partial_function('foo', 'A'); | |
$foo_caller('B'); |