Skip to content

Instantly share code, notes, and snippets.

View niklasschroetler's full-sized avatar

Niklas Schrötler niklasschroetler

View GitHub Profile
numpy
Cython
h5py
Pillow
six
scipy
opencv-python
matplotlib
tb-nightly

Keybase proof

I hereby claim:

  • I am niklasschroetler on github.
  • I am niklasschr_ (https://keybase.io/niklasschr_) on keybase.
  • I have a public key whose fingerprint is 8F91 6B74 40C9 175E 3CD7 9332 A925 4C86 B5EC 532F

To claim this, I am signing this object:

@niklasschroetler
niklasschroetler / amazonlistsum.js
Created April 24, 2019 21:06
Paste this script into the console of an Amazon List view or add it to a plugin like cjs to get the sum of all items in the list
var a = document.querySelectorAll(".a-price-whole");
var f = document.querySelectorAll(".a-price-fraction");
var s = 0;
for (var i = 0; i < a.length; i++) {
s = parseInt(a[i].innerText.substring(0, a[i].innerText.length - 1)) + s;
s = (parseInt(f[i].innerText) / 100) + s
}
console.log("Your List Price: " + s + " Euro");