See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| /** | |
| Decode a php serialized value to json. This function only supports basic | |
| data types: | |
| - arrays (will always become a json object) | |
| - booleans | |
| - integers | |
| - floats | |
| - strings | |
| - NULL | |
| The php_unserialize(text) function is a helper function which extracts the first value |
| angular.module('material.core.theming.palette', []) | |
| .constant('$mdColorPalette', { | |
| 'red': { | |
| '50': '#ffebee', | |
| '100': '#ffcdd2', | |
| '200': '#ef9a9a', | |
| '300': '#e57373', | |
| '400': '#ef5350', | |
| '500': '#f44336', | |
| '600': '#e53935', |
| <?php | |
| /** | |
| * @Author Bhaktaraz Bhatta <bhattabhakta@gmail.com> | |
| */ | |
| namespace SMS\Bundle\MainBundle\Services; | |
| /** | |
| * MobileNumberClassifier return the carrier of the phone number. e.g. NTC, NCELL etc. | |
| */ |
| <?php | |
| /** | |
| * Created by PhpStorm. | |
| * User: bhaktaraz | |
| * Date: 8/24/15 | |
| * Time: 9:51 AM | |
| */ | |
| namespace BRB\Bundle\PostBundle\Controller; |
| <?php | |
| /* This sets the $time variable to the current hour in the 24 hour clock format */ | |
| $time = date("H"); | |
| /* Set the $timezone variable to become the current timezone */ | |
| $timezone = date("e"); | |
| /* If the time is less than 1200 hours, show good morning */ | |
| if ($time < "12") { | |
| echo "Good morning"; | |
| } else | |
| /* If the time is grater than or equal to 1200 hours, but less than 1700 hours, so good afternoon */ |
| <?php | |
| /** | |
| * A helper function expand_array for PHP | |
| * | |
| * This is actually developed during the real need to develop JSON api | |
| * I wanted to have JSON api response spitted properly expanded (with semantic nodes) | |
| * But didnot want to do it by playing with arrays (looping, merging n' what not) time and again. | |
| * So, After fetching single dimensional array data from database, with keys having | |
| * some specific delimeter, this helper would do for me what i want to. |
I have managed to install this… and make it work. I implemented it for Facebook and Google, but you can extend it. My solution it is mostly as described in #116, with a bit of more code presented. The key aspects that lack in the #116 presentation (IMO) are:
oauth_user_provider in the security.yml with your custom created serviceHere are the steps:
routing.yml I have added all the routes for both bundles.config.yml mostly as it is presented in the HWIOAuthBundle.security.yml mostly as it is presented in the HWIOAuthBundle (though my routes are using /login pattern, not /connect). Also, the oauth_user_provider is set for my custom service.