I hereby claim:
- I am niieani on github.
- I am bazyli (https://keybase.io/bazyli) on keybase.
- I have a public key whose fingerprint is D887 700A A775 C40D 681A FBDF 5E6C A5FE 9FAB 5C55
To claim this, I am signing this object:
| <?php | |
| // source: http://www.paulferrett.com/2009/php-camel-case-functions/ | |
| /** | |
| * Translates a camel case string into a string with underscores (e.g. firstName -> first_name) | |
| * @param string $str String in camel case format | |
| * @return string $str Translated into underscore format | |
| */ | |
| function from_camel_case($str) { | |
| $str[0] = strtolower($str[0]); |
| <?php | |
| /** | |
| * By: Bazyli Brzóska | |
| * Date: 25.09.2011 | |
| * Time: 01:09 | |
| */ | |
| namespace Tools; | |
| use \Symfony\Component\Console\Helper\FormatterHelper; |
| # See info @ http://invent.life/project/bash-infinity-framework | |
| Human Bazyli | |
| Bazyli.height = 100 | |
| # calls a function with a parameter | |
| Bazyli.Eat strawberries | |
| Bazyli.Eat lemon | |
| # calls tostring method |
I hereby claim:
To claim this, I am signing this object:
| <template> | |
| <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> | |
| <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | |
| <ul class="nav navbar-nav"> | |
| <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"> | |
| <a data-toggle="collapse" data-target="#bs-example-navbar-collapse-1.in" href.bind="row.href">${row.title}</a> | |
| </li> | |
| </ul> | |
| <div class="loader" if.bind="router.isNavigating"> |
| <template> | |
| <require from="./test"></require> | |
| compose: <compose view="test.html" view-model.bind="testInstance"></compose> | |
| <hr/> | |
| test: <test view-model.bind="testInstance"></test> | |
| </template> |
| <template> | |
| <require from="./test"></require> | |
| compose: <compose view="test.html" view-model.bind="testInstance"></compose> | |
| <hr/> | |
| test: <compose view-model.bind="testInstance"></compose> | |
| <div as-element="compose" view-model.bind="testInstance"></div> | |
| </template> |
| <template> | |
| <!-- Simple usage: --> | |
| <h1>message: ${async(message).value}</h1> | |
| <!-- With a placeholder: --> | |
| <h1>message: ${async(message).value ? async(message).value : '...'}</h1> | |
| </template> |
| <template> | |
| <require from="./component"></require> | |
| <input type="checkbox" ref="isFiltering"> | |
| <br> | |
| <component | |
| repeat.for="id of components | without8: isFiltering.checked" | |
| id.bind="id" | |
| ></component> | |
| </template> |
| <template> | |
| <require from="./component"></require> | |
| <button click.delegate="swapArrays()">Swap arrays</button> | |
| <br> | |
| <component | |
| repeat.for="id of components" | |
| id.bind="id" | |
| ></component> |