Diff while ignoring end of line white space
git diff --ignore-space-at-eol| "https://www.codewars.com/kata/5739174624fc28e188000465/train/javascript" | |
| var Result = { "win": 1, "loss": 2, "tie": 3 } | |
| function PokerHand(hand) { | |
| this.hand=hand; | |
| this.handArray=Array.prototype.slice.call(hand); | |
| this.getScore(); | |
| } | |
| PokerHand.prototype.getScore=function(){ |
| // codewars link=https://www.codewars.com/kata/vector-class | |
| var Vector = function(components) { | |
| this.values = components; | |
| this.result=components; | |
| return this; | |
| }; | |
| Vector.prototype.equals=function(){ | |
| return this.result; | |
| } |
| ////** | |
| // * @file-name: make-ratio.less | |
| // * @description A mixin that creates a box that will size responsively to the aspect ratio of an image at all sizes | |
| // * @main make-ratio | |
| // * @internal make-ratio-parent, make-ratio-child | |
| // * @param {number} @width The Width as a number - This is the width of the aspect ratio, not that of the element, nor a percent | |
| // * @param {number} @height The Height as a number - see @width for description required | |
| // * @param {string} @child - this is the element that will be directly within the outer element of the ratio - defaults to a - only required for using @main mixin (.make-ratio) | |
| // * @example |
| // working on Codewars Merged String Checker Kata | |
| // fails with Test.expect(isMerge('Bananas from Bahamas','Bananas from am','Bahas')); | |
| // this is a work in progress, and I'm bugged by why it is not working. | |
| // https://www.codewars.com/kata/54c9fcad28ec4c6e680011aa/train/javascript | |
| function isMerge(s, part1, part2) { | |
| var str=''; | |
| var part3=[]; | |
| if(part1.length+part2.length!==s.length){ |
| // Trello mixin to use with stylish or something. | |
| // Changes the trello card label colors based upon color variables | |
| // wrapped it all in one mixin just for fun - the outer mixin is only useful for cleanliness and organization | |
| .make-card-labels(){ | |
| // list of all label colors in Trello. Variable name must remain as they are for this mixin to work properly. | |
| @red:#CF4647; |
| (function() { | |
| var beforePrint = function() { | |
| console.log('Functionality to run before printing.'); | |
| }; | |
| var afterPrint = function() { | |
| console.log('Functionality to run after printing'); | |
| }; | |
| var ifr=''//iframe ref; | |
| ifr.focus(); | |
| var cw=''//ifr.contentWindow |
what does pietrisycamollaviadelrechiotemexity mean
| // less variables for brand-colors from the website: brandcolors.com | |
| @aetna: #d20962; | |
| @aetna-1: #00bce4; | |
| @aetna-2: #7ac143; | |
| @aetna-3: #00a78e; | |
| @aetna-4: #f47721; | |
| @aetna-5: #d20962; | |
| @aetna-6: #7d3f98; |
| javascript: (function() { | |
| var getItems = function() { | |
| var have = localStorage.getItem('have'); | |
| have = typeof have === "undefined" ? { | |
| "items": [] | |
| } : JSON.parse(have); | |
| return have; | |
| }; | |
| var putItems = function(pack, have) { | |
| have = typeof have === "undefined" ? { |