Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
def s3_to_pandas(client, bucket, key, header=None): | |
# get key using boto3 client | |
obj = client.get_object(Bucket=bucket, Key=key) | |
gz = gzip.GzipFile(fileobj=obj['Body']) | |
# load stream directly to DF | |
return pd.read_csv(gz, header=header, dtype=str) | |
def s3_to_pandas_with_processing(client, bucket, key, header=None): |
#include <stdio.h> | |
#include <sodium.h> | |
#define MESSAGE ((const unsigned char *) "test") | |
#define MESSAGE_LEN 4 | |
#define CIPHERTEXT_LEN (crypto_secretbox_MACBYTES + MESSAGE_LEN) | |
void receiving_end(unsigned char *ciphertext, unsigned char *nonce, unsigned char *key) { | |
unsigned char decrypted[MESSAGE_LEN]; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../paper-button/paper-button.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
This is just the architecture diagram of the CefSharp project (http://github.com/cefsharp) shamelessly forked from a very similar one for polymer (polymer-project.org) built in HTML and CSS by PascalPrecht (http://codepen.io/PascalPrecht/full/uxtLC)