- Navigate to your repository
$ git remote update$ git checkout -b <"bugfix" or "feature">/<name> origin/develop- Craft your amazing work of art with your favorite IDE/text editor.
- Type
makeand make sure the application builds successfully. $ git add <file or files that you changed>$ git commit -m "#<problemid> - <short text description>"$ git push -u origin HEAD- ...process for asking branch to be merged...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Array.prototype.find_if = function(test, opts) { | |
| opts = opts || {}; | |
| var key = opts.key || identity; | |
| var start = opts.start || 0; | |
| var end = opts.end || this.length; | |
| for (var i = 0; i < this.length; i++) { | |
| if (test(key(this[i]))) { | |
| return this[i]; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "loadplugins '\.(js|penta)$' | |
| noremap <A-x> : | |
| noremap <C-j> <Return> | |
| noremap <C-f> <C-n> | |
| noremap <C-b> <C-p> | |
| noremap <C-a> 0 | |
| noremap <C-e> $ | |
| noremap <C-p> <Up> | |
| noremap <C-n> <Down> | |
| noremap <C-v> <PageDown> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [].__proto__.subsets=function f(s,c,t)[]+(t=this)?(c=Array.concat)((s=f.call(t.slice(1))).map(s=>c([t[0]],s)),s):[[]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compose key characters | |
| # Default | |
| include "/usr/share/X11/locale/en_US.UTF-8/Compose" | |
| # Silly | |
| <Multi_key> <colon> <parenright> : "( ´∀`)" U263A | |
| <Multi_key> <less> <minus> : "←" U2190 | |
| <Multi_key> <minus> <greater> : "→" U2192 | |
| <Multi_key> <less> <greater> <minus> : "↔" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Inspired by https://twitter.com/nelhage/status/391265023357513728 | |
| function timeoutSort(array) { | |
| var deferred = $.Deferred(), | |
| res = []; | |
| array.forEach(function(x) { | |
| setTimeout(function() { | |
| if (res.push(x) == array.length) { | |
| deferred.resolve(res); | |
| }; | |
| }, x + 15); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function domEqual(tree, expected, opts) { | |
| function htmlNormalize(str) { | |
| return str.replace(/\s+/gm, " ") | |
| .replace(/>\s/gm, ">") | |
| .replace(/\s</gm, "<"); | |
| } | |
| tree = $(tree); | |
| expected = $(expected); | |
| opts = opts || {}; | |
| let treeHtml = tree[0].outerHTML, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var tileSize = 4; | |
| var makeGrid = function() { | |
| var grid = [], | |
| navGrid = this.getNavGrid().grid, | |
| height = ~~(navGrid.length / tileSize), | |
| width = ~~(navGrid[0].length / tileSize); | |
| for (var y = 0; y < height; y++) { | |
| for (var x = 0; x < width; x++) { | |
| grid[y] = grid[y] || []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
| var can=require("can/util/library.js"),ThIsIsToTaLlYbeCaUsEiMlAzY=require("can/control/route.js"),ThIsIsToTaLlYbeCaUsEiMlAzY=require("can/model.js"),ThIsIsToTaLlYbeCaUsEiMlAzY=require("can/view/mustache.js"),ThIsIsToTaLlYbeCaUsEiMlAzY=require("can/component.js");module.exports=can; | |
| },{"can/component.js":3,"can/control/route.js":7,"can/model.js":10,"can/util/library.js":20,"can/view/mustache.js":27}],2:[function(require,module,exports){ | |
| /*! | |
| * jQuery JavaScript Library v2.1.0 | |
| * http://jquery.com/ | |
| * | |
| * Includes Sizzle.js | |
| * http://sizzlejs.com/ |
