brew install mkcert
mkcert -install
| from dramatiq.brokers.stub import StubBroker | |
| class EagerBroker(StubBroker): | |
| """Used by tests to simulate CELERY_ALWAYS_EAGER behavior. | |
| https://github.com/Bogdanp/dramatiq/issues/195 | |
| Modified by @dnmellen to support pipelines and groups | |
| """ | |
| def process_message(self, message): |
GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
It's great for beginners. Then it turns into a mess.
| <?php | |
| class FileReader | |
| { | |
| private $filenames; | |
| public function __construct($input) | |
| { | |
| if (is_file($input)) { | |
| $this->filenames = [ $input ]; | |
| } elseif (is_dir($input)) { |
| import integers.*; | |
| public interface Matrix<N extends _N, M extends _N> { | |
| public double getElementAt(int x, int y); | |
| public void setElementAt(int x, int y, double value); | |
| public int numRows(); | |
| public int numCols(); | |
| public default String asString() { | |
| final String nl = System.getProperty("line.separator"); |
from ftplib import FTP
from datetime import datetime
start = datetime.now()
ftp = FTP('your-ftp-domain-or-ip')
ftp.login('your-username','your-password')
# Get All Files
files = ftp.nlst()