I hereby claim:
- I am cmeury on github.
- I am cedricmeury (https://keybase.io/cedricmeury) on keybase.
- I have a public key ASDB2-6VjS3qMFpSeWsvbRGX1ndQ0vEoae7vCIPgJ8yZnQo
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name Remove Mengenrabatt | |
| // @description Removes the red Mengenrabatt label from product lists | |
| // @version 1 | |
| // @grant none | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js | |
| // @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
| // @include http://www.digitec.ch/* | |
| // @include http://www.galaxus.ch/* | |
| // ==/UserScript== |
I hereby claim:
To claim this, I am signing this object:
| # curl -s http://localhost:8500/v1/agent/services | grep n12 | |
| # curl -s http://localhost:8500/v1/catalog/services | grep n12 | |
| {"consul":[],"n12":["dev"],"test-web":[]} |
| # Data: | |
| list = [-1, 1, 2, 3, -1, 4, 5, 6, -1] | |
| # == Determine bondaries === | |
| minus = [] | |
| # iterate over list | |
| for l in range(len(list)): | |
| if list[l] == -1: |