Skip to content

Instantly share code, notes, and snippets.

View c0r0n3r's full-sized avatar

Szilárd Pfeiffer c0r0n3r

View GitHub Profile
CRL OCSP OCSP
Stapling
OCSP
Multi-Stapling
OCSP
Stapling
(TLS 1.3)
Source
Integrity
Access
Size
Privacy
Full Chain
Validity
Penetration

Keybase proof

I hereby claim:

  • I am pfeiffersz on github.
  • I am coroner (https://keybase.io/coroner) on keybase.
  • I have a public key whose fingerprint is B92D 3868 263D 9A33 641E 2EA5 8205 2CE5 5C8E FEB5

To claim this, I am signing this object:

*mangle
:PREROUTING ACCEPT
# mark connection already handled by Zorp <1>
-A PREROUTING -m socket --transparent -j MARK --set-mark 0x80000000/0x80000000
-A PREROUTING --match mark --mark 0x80000000/0x80000000 --jump ACCEPT
-A PREROUTING -j DIVERT
:INPUT ACCEPT
-A INPUT -j DIVERT
@property
def statename(self):
return self.getState().contains(pyatspi.STATE_STATENAME)
class IsAWindowNamed(Predicate):
def __init__(self, windowName):
...
def _genCompareFunc(self):
def satisfiedByNode(node):
return node.roleName=='frame' and stringMatches(self.windowName, node.name)
return satisfiedByNode
class IsADialogNamed(Predicate):
def application(self, appName):
return root.findChild(predicate.IsAnApplicationNamed(appName), recursive=False)
class GenericPredicate(Predicate):
def __init__(self, name = None, roleName = None, description= None, label = None, debugName=None):
from dogtail import tree
import unittest
class GtkDemoTest(unittest.TestCase):
def setUp(self):
from dogtail import utils
self.pid = utils.run('gtk3-demo')
self.app = tree.root.application('gtk3-demo')
from dogtail import procedural
import unittest
class GtkDemoTest(unittest.TestCase):
def setUp(self):
from dogtail import utils
self.pid = utils.run('gtk3-demo')
self.app = procedural.focus.application('gtk3-demo')