📺 OpenCV C++ Mac M1 Installation Tutorial Video
We need homebrew installed in our system
brew install cmake
mkdir Open_CV && cd Open_CV
📺 OpenCV C++ Mac M1 Installation Tutorial Video
We need homebrew installed in our system
brew install cmake
mkdir Open_CV && cd Open_CV
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
from flask import current_app | |
from cryptography import x509 | |
from cryptography.exceptions import InvalidSignature | |
from cryptography.hazmat.backends import default_backend | |
from cryptography.hazmat.primitives import hashes | |
from cryptography.hazmat.primitives.asymmetric import rsa | |
from cryptography.hazmat.primitives.asymmetric import padding | |
import base64 | |
from urllib.parse import urlparse | |
import logging |
def get_isin_from_cusip(cusip_str, country_code): | |
""" | |
>>> get_isin_from_cusip('037833100', 'US') | |
'US0378331005' | |
""" | |
isin_to_digest = country_code + cusip_str.upper() | |
get_numerical_code = lambda c: str(ord(c) - 55) | |
encode_letters = lambda c: c if c.isdigit() else get_numerical_code(c) | |
to_digest = ''.join(map(encode_letters, isin_to_digest)) |
#include <iostream> | |
#include <string> | |
#include <curl/curl.h> | |
static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) | |
{ | |
((std::string*)userp)->append((char*)contents, size * nmemb); | |
return size * nmemb; | |
} |