See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| This project has been moved to a GitHub repository to allow Pull Requests. | |
| See: https://github.com/Ewpratten/youtube_ad_blocklist |
| var express = require('express'); | |
| var router = express.Router(); | |
| router.use(function (req, res, next) { | |
| User.findOne(1234, function(err, user) { | |
| if (err) { | |
| console.log(err); | |
| res.json({ error: 'There was an error' }); | |
| } | |
| else { |
| /* | |
| var Trait1 = { | |
| method1() {} | |
| }; | |
| var Trait2 = { | |
| method2() {} | |
| }; | |
| var Trait3 = mixin({ |
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
| function parseVideo (url) { | |
| // - Supported YouTube URL formats: | |
| // - http://www.youtube.com/watch?v=My2FRPA3Gf8 | |
| // - http://youtu.be/My2FRPA3Gf8 | |
| // - https://youtube.googleapis.com/v/My2FRPA3Gf8 | |
| // - Supported Vimeo URL formats: | |
| // - http://vimeo.com/25451551 | |
| // - http://player.vimeo.com/video/25451551 | |
| // - Also supports relative URLs: | |
| // - //player.vimeo.com/video/25451551 |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>| <div id="enigma"></div> |
| svn status |grep '\?' |awk '{print $2}'| xargs svn add |