Skip to content

Instantly share code, notes, and snippets.

View ldjebran's full-sized avatar
🚀
on a mission

Djebran Lezzoum ldjebran

🚀
on a mission
  • Red Hat
  • France
  • 04:21 (UTC +02:00)
View GitHub Profile
@omaciel
omaciel / README.md
Created May 11, 2017 21:42
Some simple code to show the differences between using namedtuple from the collections module and NamedTuple from the typing module. Extra points for using type hinting.

Playing with named tuples

Some simple code to show the differences between using namedtuple from the collections module and NamedTuple from the typing module. Extra points for using type hinting.

Using namedtuple from the collections module:

>>> from platforms_namedtuple_35 import *
>>> system_1 = RHEL7
>>> system_2 = RHEL5

Register both Satellite and Capsule systems

Run these commands on both Satellite and Capsule systems to properly register them to CDN and to remove Beaker repositories (only needed for Red Hat QE folks)

export USER_NAME=""
export USER_PASSWORD=""
export POOLID=""
export ADMIN_USER="admin"
@omaciel
omaciel / quality.md
Last active November 12, 2020 07:13
Characteristics Of A Good Quality Engineer
Also, I would be grateful if you could give me some advice about the skills I need in order to have a career as a Quality Engineer.

I think that the most important skill a Quality Engineer (QE for short) should have is to always strive to deliver quality and never compromise on this goal. Sure, being flexible is just as important, and in order to position yourself in a place where you don't have to compromise on delivering quality, the second important skill is to always, always, do your homework and present facts (backed up with real data and numbers) about the current state of the product you're working on. Don't say things like "the product is too buggy" or "the usability is bad." Instead, focus on showing the type and number of issues you've encountered during your testing cycle or exploratory testing period. Show them numbers! Tell them instead, "our automation shows that feature X has failed Y number of tests out of a total of Z tests, which represents a percentage of P. Furthermore, since feat

@juanriaza
juanriaza / geventreactor.py
Created April 26, 2011 22:08 — forked from inportb/geventreactor.py
Twisted reactor running on gevent (libevent+greenlet)
## Copyright (C) 2011 by Jiang Yio <http://inportb.com/>
## Please find instructions at <http://wiki.inportb.com/python:geventreactor>
## The latest code is available at <https://gist.github.com/848058>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
## copies of the Software, and to permit persons to whom the Software is
## furnished to do so, subject to the following conditions: