- Press the windows key
- Type type "add or remove programs" until "Add or remove programs" is displayed
- Choose "Add or remove programs" (click or press Enter)
- Type "mongodb" in the "Search this list" input box.
- Click on "MongoDB x.x.xx ..." and then click "Uninstall"
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
/* | |
This is a copy/paste from codepen.io. (https://codepen.io/john-desrosiers/pen/vYBwjrG?editors=0010) | |
The revealing module pattern with IIFE is used since only a single js file is used for the pen. | |
*/ | |
const { createStore, combineReducers } = Redux | |
const actionTypes = Object.freeze({ | |
CREATE_POLICY: 'create insurance policy', | |
DELETE_POLICY: 'cancel insurance policy', | |
CREATE_CLAIM: 'make an insurance claim' |
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
//see if sequence of nums is in increasing order, but seq is allowed to decrease once. | |
// The Goldilocks solution | |
function checkSequence(arr) { | |
const maxOutOfSequencePermitted = 1 | |
let countOfOutOfSequence = 0 | |
for (let i = 1; i < arr.length; i += 1) { | |
if (arr[i] < arr[i - 1]) { | |
countOfOutOfSequence += 1 | |
} |
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
# <type>: <subject> (Max 50 char, Why is this change necessary?) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Explain how the commit addresses the issue | |
# IMPORTANT!! Describe any side effects of the change. | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Examples: "Jira issue [ABC-123]" or "Closes Github issue #123" |
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
/* | |
Usage: | |
Create an instance of the class passing a selector string, callback for handling shift + click | |
on element completing a range, and a callback for handling a click on a single element. | |
The selector is a string passed to document.querySelector to set the container for the shiftGroup. | |
The onGroupClick callback is passed the original event object and an array containing the range | |
of selected elements. |
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
# removes all node_modules folders recursively | |
find . -name "node_modules" -exec rm -rf '{}' + | |
# I found this command on Coderwall at | |
# https://coderwall.com/p/guqrca/remove-all-node_module-folders-recursively |
Collection of practice problems for learning jQuery.
Using html and Javascript, display a count down timer that counts down from 5. The count should decrease by one every second. When the count reaches 0, display the message "Times Up!".
One possible solution may be viewed on CodePen.io here
- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/5798930 (
git reset
vsgit rm --cached
)
NewerOlder