This file contains hidden or 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 | |
$water = 'H2O'; | |
parseMolecule($water); // => ['H' => 2, 'O' => 1]; | |
$magnesiumHydroxide = 'Mg(OH)2'; | |
parseMolecule($magnesiumHydroxide); // => ['Mg' => 1, 'O' => 2, 'H' => 2]; | |
$fremySalt = 'K4[ON(SO3)2]2'; | |
parseMolecule($fremySalt); // => ['K' => 4, 'O' => 14, 'N' => 2, 'S' => 4]; |
This file contains hidden or 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
var elixir = require('laravel-elixir'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Elixir Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Elixir provides a clean, fluent API for defining some basic Gulp tasks | |
| for your Laravel application. By default, we are compiling the Sass | |
| file for our application, as well as publishing vendor resources. |
NewerOlder