Skip to content

Instantly share code, notes, and snippets.

@phineas0fog
phineas0fog / sphinx.md
Last active December 18, 2019 12:25
Utilisation sphinx python autodoc

Du code avec de la doc qui fonctionne:

fichier /api_wrapper/Wrapper.py

class Wrapper:
    """
    Contains the data and the functions that interface with API

    :Example:
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { HikesPage } from './hikes.page';
import {HttpClient} from '@angular/common/http';
describe('HikesPage', () => {
let component: HikesPage;
let fixture: ComponentFixture<HikesPage>;
# There can only be a single job definition per file. This job is named
# "example" so it will create a job with the ID and Name "example".
# The "job" stanza is the top-most configuration option in the job
# specification. A job is a declarative specification of tasks that Nomad
# should run. Jobs have a globally unique name, one or many task groups, which
# are themselves collections of one or many tasks.
#
# For more information and examples on the "job" stanza, please see
# the online documentation at:
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/server1"
# Enable the server
server {
enabled = true
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/client1"
# Give the agent a unique name. Defaults to hostname
name = "client1"
# Enable the client
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[api]
dashboard = true
debug = true
apiVersion: v1
kind: Service
metadata:
name: ingress-nginx
namespace: ingress-nginx
spec:
type: NodePort
ports:
- name: http
port: 80

network cartography

https://i.imgur.com/Uld3pXY.png

3-ui.yaml

---
kind: Service
apiVersion: v1
metadata:
  name: traefik-web-ui
sudo make viterbi/rev1:default:avrdude
[sudo] password for phineas:
QMK Firmware 0.6.37
WARNING:
Some git sub-modules are out of date or modified, please consider runnning:
make git-submodule
You can ignore this warning if you are not compiling any ChibiOS keyboards,
or if you have modified the ChibiOS libraries yourself.
Making viterbi/rev1 with keymap default and target avrdude
sudo make viterbi/rev1:default:avrdude
[sudo] password for phineas:
QMK Firmware 0.6.37
WARNING:
Some git sub-modules are out of date or modified, please consider runnning:
make git-submodule
You can ignore this warning if you are not compiling any ChibiOS keyboards,
or if you have modified the ChibiOS libraries yourself.
Making viterbi/rev1 with keymap default and target avrdude