name

Cerca

Heus ací els resultats de la cerca.

DevOps Sesión 12 (2022-03-21) @info:cursos:pue:devops2022
76 Resultats, Darrera modificació:
e yaml; playbooks_resueltos/modulo_file.yml>--- - name: Ejemplos de modulos de ficheros y openssl hosts: clientes remote_user: root tasks: - name: Crear un firchero con contenido especificado ... dest="/tmp/ejemplo-master.txt" backup=yes - name: Propiedades Fichero file: path="/tmp/ejemp... .txt" backup=yes mode="777" owner="vagrant" - name: copia archivo /etc/hostname a remoto copy:
Sesión 12 : k8s (traefik) @info:cursos:pue:devops
55 Resultats, Darrera modificació:
on: rbac.authorization.k8s.io/v1beta1 metadata: name: traefik-ingress-controller rules: - apiGroups:... on: rbac.authorization.k8s.io/v1beta1 metadata: name: traefik-ingress-controller roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: traefik-ingress-controller subjects: - kind: ServiceAccount name: traefik-ingress-controller namespace: kube-sys
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
51 Resultats, Darrera modificació:
a variable, which you should treat as a label or name binding, is created, and this label refers to a d... <code python> import copy a_dict = { 'first name': 'James', 'last name': 'Bond', 'movies': ['Goldfinger (1964)', 'You Only Live Twice'] } b_... output** <code ; output> Source list of candies {'name': 'Lolly Pop', 'price': 0.4, 'weight': 133} {'nam
3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
45 Resultats, Darrera modificació:
clause may specify a variable after the exception name. In this example it’s an ''e_variable''. This var... trying to load a module. The attributes are: * name – represents the name of the module that was attempted to be imported; * path – represents the path t... t ImportError as e: print(e.args) print(e.name) print(e.path) </code> <code ; output> ("No m
1.1 SQLite @info:cursos:pue:python-pcpp1:m5
36 Resultats, Darrera modificació:
example above, the method takes only the database name as the argument. This means that the database wil... .db')</code> It's also possible to use a special name, '':memory:'', which creates a database in RAM: <... onsist of only one table called tasks: * id * name * priority To create the above table, we’ll nee... tax looks like this: <code sql>CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 dat
Sesión 8 : kubernetes @info:cursos:pue:devops
33 Resultats, Darrera modificació:
apiVersion: v1 kind: ServiceAccount metadata: name: admin-user namespace: kube-system --- apiVersi... s.io/v1beta1 kind: ClusterRoleBinding metadata: name: admin-user roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: admin-user namespace: kube-system EOF</code>
Sesión 6 : ansible @info:cursos:pue:devops
32 Resultats, Darrera modificació:
n 6 : ansible == ansible === become <code yaml> - name: servicio service: name: httpd state: started become: yes </code> <code yaml> - name: servicio service: name: httpd state: started become: yes become_user: apache </code> ==
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
29 Resultats, Darrera modificació:
* **pycodestyle** (formerly called pep8, but the name was changed to avoid confusion) - Python style gu... st_one = [1, 2, 3, 4, 5, 6 ] a = my_function_name(a, b, c, d, e, f) </code> <code python ✔> #... 1, 2, 3, 4, 5, 6, ] a = my_function_name(a, b, c, d, e, f) </code> ... ituations where your comments or docstrings use a name (e.g., an author’s name) that contains a non-ASCI
Sesión 7: Seguridad, Prometheus @info:cursos:pue:devops
26 Resultats, Darrera modificació:
_ADDRESS:-grafana@test.com} #- GF_SMTP_FROM_NAME=${GF_SMTP_FROM_NAME:-Grafana} #- GF_SMTP_HOST=${GF_SMTP_HOST:-smtp:25} #- GF_SMTP_USER=${GF... de> <code yaml; swarm_node.rules.yaml> groups: - name: /1/store/projects/vagrant/docker-swarm-vagrant/a... {mode="idle"}[1m]) * ON(instance) GROUP_LEFT(node_name) node_meta * 100) BY (node_name)) > 50
Sesión 16 prometheus on kubernetes @info:cursos:pue:devops
26 Resultats, Darrera modificació:
l apiVersion: v1 kind: ServiceAccount metadata: name: helm namespace: kube-system --- apiVersion: rb... s.io/v1beta1 kind: ClusterRoleBinding metadata: name: helm roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: cluster-admin subjects: - kind: ServiceAccount name: helm namespace: kube-system </code> * obte
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
25 Resultats, Darrera modificació:
familiar with some special attributes: * ''%%__name__%%'' – inherent for classes; contains the name of the class; * ''%%__class__%%'' – inherent for both... print('"dog" is an object of class named:', Dog.__name__) print() print('class "Dog" is an instance of:'... ype(, , )'': * the argument specifies the class name; this value becomes the ''%%__name__%%'' attribut
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
23 Resultats, Darrera modificació:
'. Note: the ''’s'' at the end of the function's name means string. There is a very similar function with the name deprived of this suffix which **writes the JSON s... > import json class Who: def __init__(self, name, age): self.name = name self.age = age some_man = Who('John Doe', 42) print(json.dump
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
21 Resultats, Darrera modificació:
a new "decorating" function (or class), hence the name "decoration". This is done by passing the origina... int('We are about to call "{}"'.format(function.__name__)) return function </code> The last lines a... accepts an object as a parameter, displays a ''__name__'' attribute value of the parameter, and returns... is is the most important thing to remember**: the name of the simple_function object ceases to indicate
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
19 Resultats, Darrera modificació:
ll the ''getLogger'' function without providing a name. The root logger is at the highest point in the h... .world') recommended_logger = logging.getLogger(__name__) </code> Logger names are similar to the names... to get the Logger object, both with and without a name. We recommend calling the ''getLogger'' function with the ''__name__'' argument, which is replaced by the current mo
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
17 Resultats, Darrera modificació:
For example, if you want to take the user’s first name and last name, and display them on the screen, you can do it in one of the following ways: <code python> first_name = input("Enter your first name: ") last_name = input("Enter your last name: ") print("Your name is:",
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
16 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
16 Resultats, Darrera modificació:
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
14 Resultats, Darrera modificació:
Sesión 3 : swarm @info:cursos:pue:devops
13 Resultats, Darrera modificació:
Sesión 4 : swarm (ELK+TIG) @info:cursos:pue:devops
11 Resultats, Darrera modificació:
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
11 Resultats, Darrera modificació:
DevOps Sesión 7 (2022-03-02) k8s @info:cursos:pue:devops2022
8 Resultats, Darrera modificació:
LPIC2 2021 Sesión 12 (2021-03-11) @info:cursos:pue:lpic2-2021
8 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
8 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
8 Resultats, Darrera modificació:
DevOps Sesión 13 (2022-03-23) Ansible @info:cursos:pue:devops2022
7 Resultats, Darrera modificació:
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
7 Resultats, Darrera modificació:
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
7 Resultats, Darrera modificació:
Sesión 5: vagrant, ansible @info:cursos:pue:devops
6 Resultats, Darrera modificació:
DevOps Sesión 11 (2022-03-16) Ansible @info:cursos:pue:devops2022
6 Resultats, Darrera modificació:
Lab Module 19 Cloud Computing @info:cursos:pue:ethical-hacker:sesion5
6 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
6 Resultats, Darrera modificació:
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
6 Resultats, Darrera modificació:
Curso python (PCPP1) PUE 2023
5 Resultats, Darrera modificació:
LPIC2 2021 Sesión 8 (2021-02-25) @info:cursos:pue:lpic2-2021
5 Resultats, Darrera modificació:
DevOps Sesión 3 (2022-02-16) Docker @info:cursos:pue:devops2022
4 Resultats, Darrera modificació:
DevOps Sesión 5 (2022-02-23) Swarm @info:cursos:pue:devops2022
4 Resultats, Darrera modificació:
DevOps Sesión 6 (2022-02-28) k8s @info:cursos:pue:devops2022
4 Resultats, Darrera modificació:
LPIC2 2021 Sesión 9 (2021-03-02) @info:cursos:pue:lpic2-2021
4 Resultats, Darrera modificació:
Sesión 2: Docker @info:cursos:pue:devops
3 Resultats, Darrera modificació:
Sesión 9 : kubernetes, Jenkins @info:cursos:pue:devops
3 Resultats, Darrera modificació:
sesión 13 ELK @info:cursos:pue:devops
3 Resultats, Darrera modificació:
Ethical Hacker : sesión 4 @info:cursos:pue:ethical-hacker
3 Resultats, Darrera modificació:
LPIC2 2021 Sesión 11 (2021-03-09) @info:cursos:pue:lpic2-2021
3 Resultats, Darrera modificació:
Lab Module 18 IoT and OT Hacking @info:cursos:pue:ethical-hacker:sesion5
3 Resultats, Darrera modificació:
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
DevOps Sesión 1 (2022-02-09) Docker @info:cursos:pue:devops2022
2 Resultats, Darrera modificació:
DevOps Sesión 9 (2022-03-09) Vagrant @info:cursos:pue:devops2022
2 Resultats, Darrera modificació:
LPIC2 2021 Sesión 13 (2021-03-16) @info:cursos:pue:lpic2-2021
2 Resultats, Darrera modificació:
LPIC2 2021 Sesión 15 (2021-03-23) @info:cursos:pue:lpic2-2021
2 Resultats, Darrera modificació:
configuracion red avanzada @info:cursos:pue:lpic2:6
2 Resultats, Darrera modificació:
dhcp @info:cursos:pue:lpic2:11
2 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
2 Resultats, Darrera modificació:
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
2 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
2 Resultats, Darrera modificació:
Sesión 10 Jenkins @info:cursos:pue:devops
1 Resultats, Darrera modificació:
Sesión 11 Jenkins @info:cursos:pue:devops
1 Resultats, Darrera modificació:
DevOps Sesión 2 (2022-02-14) Docker @info:cursos:pue:devops2022
1 Resultats, Darrera modificació:
Ethical Hacker : shellgpt @info:cursos:pue:ethical-hacker
1 Resultats, Darrera modificació:
103.5 Crear, monitorizar y destruir procesos @info:cursos:pue:lpic1
1 Resultats, Darrera modificació:
LPIC2 2021 Sesión 5 (2021-02-16) - discos @info:cursos:pue:lpic2-2021
1 Resultats, Darrera modificació:
Apuntes SinCara Extras Privacidad @info:cursos:pue:ethical-hacker:extras
1 Resultats, Darrera modificació:
Lab Module 06: Sytem hacking @info:cursos:pue:ethical-hacker:sesion2
1 Resultats, Darrera modificació:
Lab Module 07 @info:cursos:pue:ethical-hacker:sesion2
1 Resultats, Darrera modificació:
Apuntes SinCara sesión 2 @info:cursos:pue:ethical-hacker:sesion2
1 Resultats, Darrera modificació:
Lab Module 09: Social Engineering @info:cursos:pue:ethical-hacker:sesion3
1 Resultats, Darrera modificació:
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
1 Resultats, Darrera modificació:
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
1 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
1 Resultats, Darrera modificació: