- http://stackoverflow.com/questions/804115 (
rebasevsmerge). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebasevsmerge) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse) - http://stackoverflow.com/questions/292357 (
pullvsfetch) - http://stackoverflow.com/questions/39651 (
stashvsbranch) - http://stackoverflow.com/questions/8358035 (
resetvscheckoutvsrevert) - http://stackoverflow.com/questions/5798930 (
git resetvsgit rm --cached)
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
| final List<String> categories = source.getCategories().stream() | |
| .map(getUniqueItemIdentifierService()::getItemData) | |
| .filter(Optional::isPresent) | |
| .map(Optional::get) | |
| .map(ItemData::getItemId) | |
| .collect(Collectors.toList()); |
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
| final List<String> categories = source.getCategories().stream() | |
| .map(category -> { | |
| return getIDService().getItem(category).map(item -> { | |
| return item.getId(); | |
| }).get(); | |
| }).collect(Collectors.toList()); |
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
| const puppeteer = require('puppeteer'); | |
| const dotenv = require('dotenv'); | |
| dotenv.config(); | |
| const WAIT_FOR_PAGE = 5000; | |
| const DELAY_USER_INPUT = 2000; | |
| const DELAY_PW_INPUT = 1000; | |
| (async () => { |
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
| let assert = require('assert') | |
| let CSVImageDownloader = require("./index"); | |
| const fs = require('fs'); | |
| const path = require('path') | |
| describe("CSV Image Downloader", function () { | |
| const VALID_FILE = 'data.csv' | |
| const INVALID_FILE = 'data2.csv' | |
| const VALID_COLUMN = 'IMAGE' | |
| let columnValues = [] |
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
| export class Strategy { | |
| constructor(name, handler) { | |
| this._name = name; | |
| this._handler = handler; | |
| } | |
| execute() { | |
| this._handler(); | |
| } | |
| } |
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
| static $wishlistList = $(".wishlist-list__body"); | |
| static $myFavouritesRollover = $(".mini-favourites"); | |
| static $myFavouritesSendList = $(".wishlist-send-list"); | |
| static emptyWishlistHTML = $("#emptyWishlistPopupTemplate").html(); | |
| static $wishlistCount = $("[data-wishlist-item-count]"); | |
| static $myFavouritesRolloverContainer = $( | |
| ".my-favourites-rollover__content", | |
| $myFavouritesRollover | |
| ); |
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
| static removeProductFromWishListHandler(e) { | |
| e.stopPropagation(); | |
| const target = $(e.currentTarget); | |
| const $wishlistList = $(".wishlist-list__body"); | |
| const productCode = target.data("product-code"); | |
| const $myFavouritesRollover = $(".mini-favourites"); | |
| const $myFavouritesSendList = $(".wishlist-send-list"); | |
| const emptyWishlistHTML = $("#emptyWishlistPopupTemplate").html(); | |
| const $myFavouritesRolloverContainer = $( |
NewerOlder