Search concept with options
A Pen by Fabio Ottaviani on CodePen.
ELASTICBEANSTALK | |
create weasyprint.config inside .ebextensions and add the following inside | |
packages: | |
yum: | |
cairo: [] | |
cairo-devel: [] | |
giflib-devel: [] | |
libjpeg-turbo-devel: [] |
# Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1. | |
sudo yum install erlang --enablerepo=epel | |
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.1/rabbitmq-server-3.1.1-1.noarch.rpm | |
sudo rpm -Uvh rabbitmq-server-3.1.1-1.noarch.rpm | |
# Enable managament plugin | |
sudo rabbitmq-plugins enable rabbitmq_management |
# An example to get the remaining rate limit using the Github GraphQL API. | |
import requests | |
headers = {"Authorization": "Bearer YOUR API KEY"} | |
def run_query(query): # A simple function to use requests.post to make the API call. Note the json= section. | |
request = requests.post('https://api.github.com/graphql', json={'query': query}, headers=headers) | |
if request.status_code == 200: |
Search concept with options
A Pen by Fabio Ottaviani on CodePen.