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
//Login page "https://mars.ccavenue.com/mer_register/memberLogin_ccav.jsp?logintype=m" | |
window.location.href = 'https://mars.ccavenue.com/mer_register/pOrd/viewPendingOrders.jsp'; | |
$$('input[type="checkbox"').forEach(function(ele,index){ele.click()}); | |
$$('select[name^="delivery"').forEach(function(ele,index){ele.value="Courier"}); | |
$$('textarea[name^="delivery_"').forEach(function(ele,index){ele.value="Courier"}); | |
$$('input[value="S"').forEach(function(ele,index){ele.click()}); |
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
#CPU-INFO | |
echo "#CPU-INFO" | |
cat /proc/cpuinfo | |
#MEM-INFO | |
echo "#MEM-INFO" | |
cat /proc/meminfo | |
#Boot-DETAILS | |
echo "#Boot-DETAILS" | |
dmesg >~/dmesg.out | |
#HARD-DISK |
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
NULSBNB,BNBBTC,NULSBTC,NEOBTC,NULSETH,LINKBTC,SALTBTC,IOTABTC,ETCBTC,ASTETH,KNCBTC,WTCBTC,SNGLSBTC,EOSETH,SNTETH,MCOETH,BTCUSDT,OAXETH,OMGETH,GASBTC,BQXETH,WTCETH,QTUMETH,BNTETH,DNTETH,ICNETH,SNMBTC,SNMETH,SNGLSETH,BQXBTC,NEOETH,KNCETH,STRATETH,ZRXETH,QTUMBTC,FUNETH,LTCBTC,LINKETH,ETHBTC,XVGETH,STRATBTC,ZRXBTC,IOTAETH,BCCBTC,OMGBTC,MCOBTC,SALTETH,ADABNB,ADABTC,ADAETH,ADAUSDT,ADXBNB,ADXBTC,ADXETH,AEBNB,AEBTC,AEETH,AGIBNB,AGIBTC,AGIETH,AIONBNB,AIONBTC,AIONETH,AMBBNB,AMBBTC,AMBETH,APPCBNB,APPCBTC,APPCETH,ARDRBNB,ARDRBTC,ARDRETH,ARKBTC,ARKETH,ARNBTC,ARNETH,ASTBTC,BATBNB,BATBTC,BATETH,BCCBNB,BCCETH,BCCUSDT,BCDBTC,BCDETH,BCNBNB,BCNBTC,BCNETH,BCPTBNB,BCPTBTC,BCPTETH,BLZBNB,BLZBTC,BLZETH,BNBETH,BNTBTC,BRDBNB,BRDBTC,BRDETH,BTGBTC,BTGETH,BTSBNB,BTSBTC,BTSETH,CDTBTC,CDTETH,CHATBTC,CHATETH,CLOAKBTC,CLOAKETH,CMTBNB,CMTBTC,CMTETH,CNDBNB,CNDBTC,CNDETH,CVCBNB,CVCBTC,CVCETH,DASHBTC,DASHETH,DATABTC,DATAETH,DENTBTC,DENTETH,DGDBTC,DGDETH,DLTBNB,DLTBTC,DLTETH,DNTBTC,DOCKBTC,DOCKETH,EDOBTC,EDOETH,ELFBTC,ELFETH,ENGBTC,ENGETH,ENJB |
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 createChild(input, output, prevIdx) { | |
if (input.pos === prevIdx) { | |
output.push(input); | |
} else if (input.pos > prevIdx) { | |
prevIdx += 1; | |
let children = output[output.length - 1].children; | |
if (!children) { | |
children = []; | |
output[output.length - 1].children = children; | |
} |
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 keepsHisWord; | |
keepsHisWord = true; | |
promise1 = new Promise(function(resolve, reject) { | |
if (keepsHisWord) { | |
resolve("The man likes to keep his word"); | |
} else { | |
reject("The man doesnt want to keep his word"); | |
} | |
}); | |
console.log(promise1); |
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
dominanceChart = Highcharts.charts[2]; | |
coinsForDominance = ['Bitcoin','Ethereum','Bitcoin Cash', 'Ripple', 'Others']; | |
datesForDominance = ['Jan 25 2017', 'March 10 2017', 'March 26 2017', 'May 18 2017', 'June 13 2017', 'August 03 2017', 'November 06 2017', 'November 12 2017', 'Dec 8 2017', 'Jan 04 2018', 'Jan 14 2018', 'May 3 2018', 'July 05 2018']; | |
coinDateDominanceMatrix = []; | |
coinsForDominanceData = dominanceChart.series.filter(coin => {return coinsForDominance.indexOf(coin.name) != -1}); | |
csvString = "Date, " + coinsForDominance.join(); | |
mediumArticleString = ""; | |
firstDateTime = coinsForDominanceData[0].xData[0]; | |
date = new Date(firstDateTime); | |
date.setHours(0); |
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 count=0; | |
jQuery("div.contentnavlinkbox1").each(function(i, item){ | |
jQuery(item).prepend(++count); | |
}); |
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
jQuery("a").attr("href", function(i, href) { | |
return href + '/edit'; | |
}); |
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
git archive -o patch.zip a9359f9 $(git diff --name-only a9359f9^..a9359f9) |