This file contains 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.javaSettings = {LoadPaths = [".\libraries\cybersource-rest-client-java-0.0.35.jar", ".\libraries\AuthenticationSdk-0.0.17.jar"], loadColdFusionClassPath = true, reloadOnChange = false} | |
//https://mvnrepository.com/artifact/com.cybersource/cybersource-rest-client-java/0.0.35 | |
//https://mvnrepository.com/artifact/com.cybersource/AuthenticationSdk/0.0.17 | |
<cfscript> | |
writeDump(retrieveFlexKey()); | |
public String function retrieveFlexKey() throws Exception { | |
flexPublicKey = "NoKeyReturned"; |
This file contains 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
https://www.programmersought.com/article/86564277583/ | |
sfc /scannow | |
This file contains 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
<div class='property-calendar-extreme-outer mrg-left-0 mrg-right-neg-50 row'> | |
<div class='outer-calendar-table col-sm-6 col-md-4 col-lg-3'> | |
<div class='table-wrapper'> | |
<table class='table property-calendar-table'> | |
<tbody> | |
<tr style='background-color:#e6e6e6;'> | |
<td colspan='7' class='property-calendar-td property-calendar-td-month' align='center'>Aug - 2020 | |
</td> | |
</tr> | |
<tr> |
This file contains 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
# delete all folders with name of .idea | |
find . -type d -name .idea -prune -exec rm -rf {} \; |
This file contains 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
// old version | |
javascript: (function () {function removeItemsWithoutPriceDrops(){let e=!1;const t=document.getElementsByClassName("a-spacing-none g-item-sortable");for(var r=0;r<t.length;r++){var o=t[r].querySelectorAll(".itemPriceDrop"),n=t[r].querySelectorAll("span.a-offscreen");n=n.length?(n=n[0].innerHTML).replace("$",""):0,(0==o.length||n>999999)&&(t[r].parentElement.removeChild(t[r]),e=!0)}e&&removeItemsWithoutPriceDrops()}removeItemsWithoutPriceDrops();})(); | |
// new version | |
javascript: (function() { function removeItemsWithoutPriceDrops() { const lowPrice = 999999; let anyRemoved = false; const listItems = document.getElementsByClassName( "a-spacing-none g-item-sortable" ); for (var i = 0; i < listItems.length; i++) { let priceDrop = listItems[i] .querySelectorAll("span.a-size-small.a-color-tertiary")[1] .innerText.startsWith("Price dropped"); let price = priceDrop ? listItems[i].querySelectorAll("span.a-offscreen") : 0; if (!priceDrop || |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<div id="combined"></div> | |
<script> | |
const request = new XMLHttpRequest(); | |
request.open('GET', 'combined.json'); |
This file contains 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
$('#checkAll').click(function() { | |
$('input:checkbox[id^="check_"]').prop('checked', this.checked); | |
}); |
This file contains 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
% diff (air yards - rec yards ) / rec yards > 50% | |
air yards / targets > 10 | |
rec yards / targets | |
targets > 20 |
This file contains 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
//option 1 | |
var names = ['Michael, Christine','Allen, Buck','Breida, Matt','Sanu, Mohamed','Ross, John','Gore, Frank']; | |
function loopNames(names) { | |
for (var name = 0; name < names.length; name++) { | |
(function (name) { | |
setTimeout(function () { | |
document.getElementById('add_filt_name').value = names[name]; | |
picker_filter('add'); | |
console.log(document.getElementById('add').getElementsByTagName('tbody').length > 0 ? names[name] : ''); |
This file contains 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
# Description: Boxstarter Script | |
# Original Author: Jess Frazelle <jess@linux.com> | |
# Modified by Matt Busche | |
# Last Updated: 11/28/2018 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# |