I hereby claim:
- I am kbarre123 on github.
- I am kbarre123 (https://keybase.io/kbarre123) on keybase.
- I have a public key whose fingerprint is 2EC5 BD3F 8817 95F7 B155 DA47 7E85 46B9 EE67 58CA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
''' | |
Generate a Plot.ly graph (http://plot.ly) from data collected from an Arduino and DS18B20 temperature | |
sensor. # Learn about API authentication here: https://plot.ly/python/getting-started and find your api_key here: https://plot.ly/settings/api | |
''' | |
''' Step #1: Prepare the Data ''' | |
# (*) To communicate with Plotly's server, sign in with credentials file | |
import plotly.plotly as py | |
# (*) Useful Python/Plotly tools |
from random import choice | |
from scrapy import signals | |
from scrapy.exceptions import NotConfigured | |
class RotateUserAgentMiddleware(object): | |
"""Rotate user-agent for each request.""" | |
def __init__(self, user_agents): | |
self.enabled = False | |
self.user_agents = user_agents |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
int myFunction(int a, int b) { | |
return a+b; | |
} |