Skip to content

www.Dev4Devs.com

  • Linkedin
  • GitHub
  • Twitter

Solutions for developers

  • Home
  • Tags
    • ci
    • command line
    • devtools
    • docker
    • git
    • [Intellij IDEA]
    • macosx
    • operator-sdk
    • operator-framework
    • opensource
    • operators
    • regex
    • ssh
    • travis
    • utils
    • woman
    • kubernetes
  • Search
  • Categories
    • Algorithms
    • ansible
    • Books
    • CommandLine
    • DevOps
    • docker
    • English
    • Functional Programming
    • git
    • golang
    • Hibernate
    • Java
    • Javascript
    • NodeJS
    • MongoDB
    • kubernetes
    • operators
    • OpenShift
    • Tips
  • About

Category: python

[Ansible] – How to create an Ubi/rhel7 image with ansible and python3?

Following an example over how to install ansible with python3 in a centos/rhel7 docker image. FROM registry.access.redhat.com/ubi7/ubi … RUN mkdir … More

ansible, centos, docker, OpenShift, rhel7

[CI] – How to make Travis use python3?

If you can define the language like Python for you Travis config file, then the following tip is NOT required … More

ci, python, travis

[Ansible] – How to upgrade for python3?

Following the installation steps. $ pip3 install –upgrade setuptools pip $ pip install –user ansible After the python3 be already … More

ansible, python

[Python] – Code to get unique values of some string attribute in a json.

#!/usr/bin/env python import re if __name__ == ‘__main__’: lines = [line.rstrip(‘\n’) for line in open(‘file.json’)] ids = set() for line … More

python

[Python] – What is @something above any method ?

The name of this is decorator. Normally you will see @staticmethod and @classmethod. This annotations call a function in your method. Definition … More

python

[Python] – How to run a python file ?

It’s really easy you can use : $python fileName.py    

python

[Python] – How to open a python shell in the terminal ?

It’s so easy you can use the command : python    

python

Search

Follow www.Dev4Devs.com on WordPress.com

Category Cloud

Algorithms AngularJS ansible Architecture Books CommandLine container convection DevOps docker English Functional Programming git golang helm hibernate java javascript JavaServer Faces kubebuilder kubernetes layout maven meteor minikube mongoDB neo4j NodeJS OpenShift operators postgreSQL primefaces python regex shell SO think tips Uncategorized [Intellij IDEA]

Tags Cloud

5.0 2019 2020 aggregate ai Algorithms amazon android AngularJS annotations ansible anyMatch Architecture AtomicBoolean autocomplete automate aws beans best practices Books bootstrap bundle cache callable cdi centos ci Clojure code collections command line configuration confirmation container contribution control-plane.io cool cordova course database datable date date component debugger debugging for chrome default methods Design design pattern development DevOps devtools directions api docker dockerfile email English estatistics events example exceptions faces factory Fedora filter findFirst fix foreach formatter Functional Programming genericConverter gi git golang google gradle groupingBy grunt hibernate hyperkit ibm images install interceptors ios isse java java8 javascript javaserverfaces JAX-B jdk js jsf junit key kids kubebuilder kubernetes kubernets lambdas layout learn lint linux local env london macosx mandrill mapping maps Material Design math maven meteor Methods microservices minikube Minishift mobile mongoDB music neo4j node node.js nuaware oc tool olm OpenShift opensource operator-framework operator-sdk operatorhub operators optional parse performace pocs pool postgreSQL primafeces primefaces Process prometheus python reactivevar redhat redis reflection regex regular expressions remotework responsive rest rhel7 sax scalingo script sdk security sensitive shel shell socket sorted sound sp spin sponsored by spring ssh StAX STEM stream streams sum t tail recursion tdc think thread threads tip tips travis UI uk upstream utils vagrant validation form volatile webpack wildfly woman xml xpath xsd xsl XSLT [Intellij IDEA]
Create a website or blog at WordPress.com
Cancel