Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
{ | |
"message":"", | |
"nodeResponse":[ | |
{ }, | |
{ }, | |
{ | |
"_id":"574f452d43052a23f8a22c68", | |
"description":"Notification Mode Catalog", | |
"name":"Notification Mode", | |
"list":[ |
const arr1 = [ | |
{ | |
name: 'item 1', | |
selected: true | |
}, | |
{ | |
name: 'item 2', | |
selected: true | |
}, | |
{ |
git config --global core.editor "vim"" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
execute pathogen#infect() | |
" Turn on syntax highlighting | |
syntax on |
db.getCollection('form').aggregate([ | |
{ | |
"$match": { | |
"_id": ObjectId("5a27217436a3d3022e1277c9") | |
} | |
}, | |
{ | |
"$unwind": "$views" | |
}, | |
{ |
Current Body: | |
{ | |
"userId" : "abc545646545646546545" | |
} | |
Option I - Proposal: | |
[ |
class HelloWorld | |
{ | |
// arguments are passed using the text field below this editor | |
public static void main(String[] args) | |
{ | |
OtherClass myObject = new OtherClass("Hello World!"); | |
thisMyClassNow poop = new thisMyClassNow(); | |
System.out.println(myObject); | |
System.out.println(poop); | |
} |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
///https://www.hackerrank.com/challenges/new-year-chaos/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=arrays | |
const assert = require('assert'); | |
const throwErr = num => { | |
throw new Error(num); | |
}; | |
const minBribes = arr => | |
arr.reduce( | |
(bribes, num, index) => { | |
if (index + 1 < num - 2) { |
{ | |
// use this as a workaround for prettier | |
"beautify.language": { | |
"html": [ | |
"htm", | |
"html" | |
] | |
}, | |
"prettier.disableLanguages": ["html"], | |
} |
/** | |
* Returns the character seen the most in the string | |
*/ | |
const getCharacterWithHighestCount = str => | |
Array.from( | |
str | |
.split('') | |
.reduce( | |
(map, char) => | |
map.has(char) |