Create .mintty folder with subfolder themes in c:\Users\< >
Example:
C:\Users\sandeep\.mintty\themes
Download '.minttyrc' files from https://github.com/iamthad/base16-mintty and add them to themes folder.
Create .mintty folder with subfolder themes in c:\Users\< >
Example:
C:\Users\sandeep\.mintty\themes
Download '.minttyrc' files from https://github.com/iamthad/base16-mintty and add them to themes folder.
The same functionality is preserved as in the instructions in the experimental Macvlan README. To run the driver locally dockerd daemon label is used for local driver registration like so: dockerd --label com.docker.network.driver.macvlan=local
By running the drivers globally it enables the user to have globally distributed IPAM and DNS support via the libnetwork IPAM/DNS excellence.
To run the PoC binary download this tar and extract to the /usr/bin/ directory from here: dockerd-binaries Note: (backup your Docker binaries prior if you dont want them overwritten by the extracted binaries).
| #! /usr/bin/env python | |
| # coding: utf-8 | |
| ''' | |
| auto switch keyboard between different applications | |
| if you want to change the app list, modify the var 'ignore_list' | |
| ''' | |
| from AppKit import NSWorkspace, NSWorkspaceDidActivateApplicationNotification, NSWorkspaceApplicationKey |
| #!/usr/bin/env python | |
| # ping a list of host with threads for increase speed | |
| # use standard linux /bin/ping utility | |
| from threading import Thread | |
| import subprocess | |
| try: | |
| import queue | |
| except ImportError: | |
| import Queue as queue |
| #!/usr/bin/env python | |
| # The above line indicates that this is a python script. | |
| # Author: Ralph Bean <rbean@redhat.com> | |
| # This line imports python objects from the scapy module | |
| from scapy.all import sendp, TCP, IP | |
| # Can we get scapy to talk with netcat? | |
| # http://stackoverflow.com/questions/12062781/how-to-make-netcat-display-payload-of-packet | |
| # Run "nc -l 9001" |
| import os | |
| from log_exceptions import log_exceptions | |
| def throw_something(a1, a2): | |
| raise Exception('Whoops!') | |
| @log_exceptions(log_if = os.getenv('MYAPP_DEBUG') is not None) | |
| def my_function(arg1, arg2): | |
| throw_something(arg1 + 24, arg2 - 24) |
| import fcntl | |
| import os | |
| import struct | |
| import subprocess | |
| # Some constants used to ioctl the device file. I got them by a simple C | |
| # program. | |
| TUNSETIFF = 0x400454ca | |
| TUNSETOWNER = TUNSETIFF + 2 |