Skip to content

Instantly share code, notes, and snippets.

View omnibrain's full-sized avatar

Raphael omnibrain

View GitHub Profile
@omnibrain
omnibrain / schema.json
Created September 2, 2020 09:30
OpenAPI Spec that doesn't work with swagger-codegen versions >= 3.0.19
{
"openapi": "3.0.1",
"info": {
"title": "Title",
"description": "Desc"
},
"servers": [
{
"url": "http://localhost:8080",
"description": "Generated server url"
  1. Sicherstellen, dass die neuste Version der git-hooks installiert ist (siehe README vom git-hooks Repository)
  2. cd /path/to/investmentcockpit
  3. develop branch pullen: git checkout develop && git pull
  4. Feature branch auschecken, der noch nicht formatiert ist: git checkout feature/I5-1337-my-cool-feature
  5. rebasen auf den letzten commit auf dem develop branch, der noch nicht formatiert ist: git rebase 031c0e11f9a
  6. Konflikte resolven (im IntellliJ oder manuell per Terminal. Das kennt ihr vielleicht nicht, wenn ihr Hilfe braucht ruft mich an. Funktioniert mit ```git rebase --continueundgit commit --amend --no-edit`. Ich würde dafür IntelliJ empfehlen)
  7. Is frontend directory wechseln und Dependencies installieren: cd frontend && yarn install
  8. Nun folgenden command ausführen: ``git rebase --strategy-option=theirs --exec 'npx prettier --write --single-quote --trailing-comma es5 --use-tabs false --semi --bracket-spacing false --print-width 120 `git show --name-only --pretty="" HEAD | grep -E
@omnibrain
omnibrain / kurento_logs_webrtc_NOT_working.txt
Created January 21, 2019 13:55
Kurento Logs of WebRTC Connection NOT Working
0:01:34.874222658 1 0x7f41280594d0 INFO rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f413c1f4ac0> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:01:34.874256454 1 0x7f41280594d0 INFO rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f413c1f4b70> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:01:34.874525324 1 0x7f41280594d0 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:96:remove_not_supported_codecs_from_array:<kmswebrtcendpoint2> Removing not supported codec 'AMR/8000'
0:01:34.874561849 1 0x7f41280594d0 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:480:WebRtcEndpointImpl: Using STUN reflexive server IP: 10.10.36.134
0:01:34.874566176 1 0x7f41280594d0 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:481:WebRtcEndpointImpl: Using STUN reflexive server Port: 443
0:01:34.874582578 1 0x7f
@omnibrain
omnibrain / kurento_logs_webrtc_working.txt
Last active January 21, 2019 13:56
Kurento Logs of WebRTC Connection Working Perfectly
0:03:25.767034207 1 0x7f4114005130 INFO rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f414c04bc30> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:03:25.767059071 1 0x7f4114005130 INFO rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f414c04bce0> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:03:25.767312291 1 0x7f4114005130 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:96:remove_not_supported_codecs_from_array:<kmswebrtcendpoint4> Removing not supported codec 'AMR/8000'
0:03:25.767346904 1 0x7f4114005130 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:480:WebRtcEndpointImpl: Using STUN reflexive server IP: 10.10.36.134
0:03:25.767351550 1 0x7f4114005130 INFO KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:481:WebRtcEndpointImpl: Using STUN reflexive server Port: 443
0:03:25.767366788 1 0x7f