emm, to much changes

This commit is contained in:
Thomas Ruoff
2020-04-30 00:57:05 +02:00
parent 09a6e5e848
commit 91fb4f06c9
6 changed files with 79 additions and 54 deletions

View File

@@ -1,10 +1,9 @@
#+TITLE: My Notes
#+STARTUP: indent
* Work
** Reoccurring Tasks
*** TODO Schedule Day
SSCHEDULEDCHEDULED: <2019-10-08 Tue 08:00-08:15>
SCHEDULED: <2019-10-08 Tue 08:00-08:15>
*** TODO Catch-Up (Emails/Slack)
SCHEDULED: <2020-01-31 Fri 08:15-08:30 .+1d>
*** TODO Code Reviews :ATTACH:
@@ -17,16 +16,28 @@ SCHEDULED: <2020-01-31 Fri 09:15 .+1d>
CLOCK: [2019-10-08 Tue 08:24]--[2019-10-08 Tue 09:24] => 1:00
:END:
*** TODO 1 on 1 with Josip
SCHEDULED: <2020-01-22 Wed .+2w>
SCHEDULED: <2020-03-04 Wed .+2w>
:PROPERTIES:
:LAST_REPEAT: [2020-02-19 Wed 23:41]
:END:
- State "DONE" from "WAIT" [2020-02-19 Wed 23:41]
** Sprint Work
*** TODO Stand-up
SCHEDULED: <2020-01-24 Wed 11:00-11:15 .+1d>
*** TODO Planning
SCHEDULED: <2020-01-23 Wed .+2w>
SCHEDULED: <2020-03-04 Wed .+2w>
:PROPERTIES:
:LAST_REPEAT: [2020-02-19 Wed 23:41]
:END:
- State "DONE" from "WAIT" [2020-02-19 Wed 23:41]
*** TODO Refinement
SCHEDULED: <2020-01-29 Wed .+2w>
*** TODO Review
SCHEDULED: <2020-01-22 Wed .+2w>
SCHEDULED: <2020-03-04 Wed .+2w>
:PROPERTIES:
:LAST_REPEAT: [2020-02-19 Wed 23:41]
:END:
- State "DONE" from "WAIT" [2020-02-19 Wed 23:41]
*** TODO Retrospective
SCHEDULED: <2020-01-22 Wed .+2w>
** Regular meetings
@@ -36,8 +47,8 @@ SCHEDULED: <2020-01-22 Wed .+2w>
:ID: aaa8721b-af98-45b9-b295-c7c1447930e4
:END:
1. write a script to modify the response
#+BEGIN_SRC python
from mitmproxy import http
#+BEGIN_SRC python
from mitmproxy import http
def request(flow):
if flow.request.pretty_url.find("/classifiers/trainings") >=0 and flow.request.method == 'PUT':
@@ -47,7 +58,7 @@ SCHEDULED: <2020-01-22 Wed .+2w>
"<html><body>failed with mitmproxy</body></html>",
{"content-type":"text/html"},
)
#+END_SRC
#+END_SRC
2. ~mitmproxy --mode reverse:https://bwjsonapi.stage.brandwatch.net -p 9999 -s <scriptName>~
3. ~./runInDevelopment --apiUrl=http://localhost:9999~
*** mitmproxy scripts
@@ -80,3 +91,16 @@ Get ids from a json response ~{ results: [{id: 4}, ...] }~
6) Der Grüfello
7) Benjamin Blümchen 1
8) Benjamin Blümchen 2
9) ?
10) Das kleine Gespenst
11) Der kleine Rabe Socke - A
12) Der kleine Rabe Socke 2 - A
13) Der Regenbogenfisch stiftet Frieden
14) Grüffelo Liederbuch
15) Eule finden den Beat
16) Kikaninchen - Mein Geschichtekissen Vol. 1
17) Stockman
18) Bibi Blocksberg - 1-5 Ein Mp3
19) Räuber Hotzenplotz
20) Neues vom Räuber Hotzenplotz
21) Neue Abenteuer mit dem Räuber Hotzenplotz