One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# instructions: | |
# pip3 install requests | |
# python3 app.py | |
import requests | |
import json | |
def fetch_and_print_data(): | |
url = "https://www.cinemas.nos.pt/graphql/execute.json/cinemas/getTopMovies" | |
response = requests.get(url) |
openapi: 3.0.1 | |
info: | |
title: BG PSD2 API | |
version: "1.2" | |
description: | | |
# Summary | |
The **NextGenPSD2** *Framework Version 1.2* offers a modern, open, harmonised and interoperable set of | |
Application Programming Interfaces (APIs) as the safest and most efficient way to provide data securely. | |
The NextGenPSD2 Framework reduces XS2A complexity and costs, addresses the problem of multiple competing standards | |
in Europe and, aligned with the goals of the Euro Retail Payments Board, |
/* eslint-disable no-undef */ | |
/* eslint-disable no-restricted-globals */ | |
if ("function" === typeof importScripts) { | |
importScripts( | |
"https://storage.googleapis.com/workbox-cdn/releases/5.0.0/workbox-sw.js" | |
); | |
//The new installed service worker replaces the old service worker immediately | |
self.skipWaiting(); | |
self.addEventListener("install", function(event) { |
### Keybase proof | |
I hereby claim: | |
* I am nip10 on github. | |
* I am nip10 (https://keybase.io/nip10) on keybase. | |
* I have a public key ASC3NctkuX9-PzqCjjbT48cGl66Z1rCh7VK7KRgytufYEgo | |
To claim this, I am signing this object: |
#include "StdAfx.h" | |
#include <Setupapi.h> | |
#pragma comment(lib, "Setupapi.lib") | |
#include "SerialPort.h" | |
SerialPort::SerialPort(void) : end_of_line_char_('\n') | |
{ | |
} |
# Originally at https://github.com/milq/milq/blob/master/scripts/bash/install-opencv.sh | |
###################################### | |
# INSTALL OPENCV ON UBUNTU OR DEBIAN # | |
###################################### | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |------------------------------------------------------| | |
# | OS | OpenCV | Test | Last test | | |
# |------------------|--------------|------|-------------| | |
# | Ubuntu 18.04 LTS | OpenCV 3.4.2 | OK | 18 Jul 2018 | |
import {action1, action2} from "myActions"; | |
import {bindActionCreators} from "redux"; | |
const mapDispatchToProps(dispatch) => { | |
return { | |
manuallyBoundAction : (...args) => dispatch(action1(...args)), | |
autoBoundAction : bindActionCreators(action2, dispatch), | |
multipleActionsTogether : bindActionCreators({action1, action2}, dispatch) | |
} | |
}; |
// approach 1: define action object in the component | |
this.props.dispatch({ | |
type : "EDIT_ITEM_ATTRIBUTES", | |
payload : { | |
item : {itemID, itemType}, | |
newAttributes : newValue, | |
} | |
}); | |
// approach 2: use an action creator function |