Each commit message consists of a header, a body and a footer. The header has a special format that includes a type, a scope and a subject:
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| /* Bootstrap Popover on hover | |
| * Problem: When the user moves the mouse on the popover, it should not close | |
| * Solution from fiddle - http://jsfiddle.net/WojtekKruszewski/Zf3m7/22/ | |
| */ | |
| var originalLeave = $.fn.popover.Constructor.prototype.leave; | |
| $.fn.popover.Constructor.prototype.leave = function(obj){ | |
| var self = obj instanceof this.constructor ? | |
| obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) | |
| var container, timeout; |
| { | |
| "documentation": "https://github.com/adobe/brackets/wiki/User-Key-Bindings", | |
| "overrides": { | |
| "Ctrl-Alt-C":"codefolding.collapse", | |
| "Ctrl-Alt-X":"codefolding.expand" | |
| } | |
| } |
| /* Place this after bootstrap.scss */ | |
| $screen-xl: 1560px !default; | |
| $screen-xl-min: $screen-xl !default; | |
| $screen-xl-desktop: $screen-xl-min !default; | |
| $screen-lg-max: ($screen-xl-min - 1) !default; | |
| $container-xlarge-desktop: (1530px + $grid-gutter-width) !default; | |
| $container-xl: $container-xlarge-desktop !default; | |
| .container { |
| html { | |
| -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */ | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } |
| [...Array(5).keys()].map((question, index) => { | |
| return ( | |
| /* HTML/JSX here */ | |
| ) | |
| }) |
| let path = window.location.pathname.split("/")[1]; | |
| // for parent menu items | |
| $('.navbar-nav > li > a[href="'+path+'"]').parent() | |
| .addClass('active'); | |
| // for dropdown items - highlights both dropdown item and parent link | |
| $('.dropdown-menu > a[href="'+path+'"]') | |
| .addClass('active') | |
| .parents('.nav-item').addClass('active'); |
| MAIL_DRIVER=smtp | |
| MAIL_HOST=localhost | |
| MAIL_PORT=1025 | |
| MAIL_USERNAME=null | |
| MAIL_PASSWORD=null | |
| MAIL_ENCRYPTION=null | |
| // Check on port: 8025 |
| window.onload = function() { | |
| if (window.location.hash) | |
| scroll(0,0); | |
| setTimeout(function(){scroll(0,0);},1); // fix for some browser issues | |
| smoothScroll(); | |
| } | |
| function smoothScroll() { |