- https://twitter.com/ZhikangZhang
- https://twitter.com/ossronny
- https://twitter.com/the_compiler
- https://twitter.com/pypi
- https://twitter.com/WillingCarol
- https://twitter.com/ThePyPA
- https://twitter.com/malemburg
- https://twitter.com/nlhkabu
- https://twitter.com/codewithanthony
- https://twitter.com/obestwalter
"""A pytest fixture for running an ssh mock server. | |
Requires pytest and asyncssh: | |
$ pip install pytest asyncssh | |
""" | |
from socket import AF_INET | |
from unittest.mock import Mock | |
from contextlib import asynccontextmanager |
#!/bin/bash | |
TOKEN="xxxxxxxxxxxxxxxxxxx" | |
ZONE_ID=2222222222222222222222222 | |
# [email protected] | |
# KEY=11111111111111111111111111 | |
# Replace with | |
# -H "X-Auth-Email: ${EMAIL}" \ | |
# -H "X-Auth-Key: ${KEY}" \ |
Taken from: https://www.stevenrombauts.be/2018/01/use-dnsmasq-instead-of-etc-hosts/ just in case it ever goes away.
brew update
brew install dnsmasq
Auto start with brew
Hey everyone - this is not just a one off thing, there are likely to be many other modules in your dependency trees that are now a burden to their authors. I didn't create this code for altruistic motivations, I created it for fun. I was learning, and learning is fun. I gave it away because it was easy to do so, and because sharing helps learning too. I think most of the small modules on npm were created for reasons like this. However, that was a long time ago. I've since moved on from this module and moved on from that thing too and in the process of moving on from that as well. I've written way better modules than this, the internet just hasn't fully caught up.
@broros
otherwise why would he hand over a popular package to a stranger?
If it's not fun anymore, you get literally nothing from maintaining a popular package.
One time, I was working as a dishwasher in a restu
$ ANSIBLE_CALLBACK_WHITELIST=cprofile CPROFILE_FILTERS=ansible.plugins.connection,ansible.executor.task_executor ansible-playbook -i localhosts whoami.yml | |
PLAY [My Cool Play] ************************************************************************************************************************************************************************************************************************** | |
TASK [Check who I am 1] ********************************************************************************************************************************************************************************************************************** | |
changed: [localhost0] | |
changed: [localhost1] | |
TASK [Check who I am 2] ********************************************************************************************************************************************************************************************************************** | |
changed: [localhost0] |
import functools | |
import collections | |
import cherrypy | |
__metaclass__ = type # enable new-style classes by default | |
class SelectedMethod: |
import functools | |
import collections | |
import cherrypy | |
class SelectedMethod: | |
""" | |
Descriptor allowing a series of handler methods to satisfy | |
a variety of behaviors based on the request method. |