Cheat Sheet - Http Client SSL TLS Configuration for Java, Kotlin and Scala with example http requests
The examples below use the base ssl configuration found here: SSLConfig of the library: SSLContext Kickstart
Java
The examples below use the base ssl configuration found here: SSLConfig of the library: SSLContext Kickstart
Java
cmake_minimum_required(VERSION 3.19 FATAL_ERROR) | |
project(icu VERSION 68.1 LANGUAGES C CXX) | |
#set(ICU_VER "${PROJECT_VERSION_MAJOR}-${PROJECT_VERSION_MINOR}") | |
#set(ICU_URL "https://github.com/unicode-org/icu/archive/release-${ICU_VER}.tar.gz") | |
#set(ICU_SHA "5b3cfb519c20511c1c0429b093ec16960f6a6a0d7968a9065fda393f9eba48fc") | |
#download(${ICU_URL} ${ICU_SHA} src) | |
set(ICU_DIR "release-${PROJECT_VERSION_MAJOR}-${PROJECT_VERSION_MINOR}") | |
set(ICU_TAR "icu4c-${PROJECT_VERSION_MAJOR}_${PROJECT_VERSION_MINOR}-src.tgz") |
// Eigen library usage analogous to Matlab | |
// Full example can be found at : https://github.com/mdasifchand/EigenExamples/blob/main/main.cpp | |
// Author : Asif, few ideas are adapted from Keir Mierle and gocarlos | |
#include <iostream> | |
#include <eigen3/Eigen/Dense> | |
using namespace Eigen; |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of
cookie.txt |
#include "stdafx.h" | |
#define USE_POPEN 1 | |
#if PLATFORM_WINDOWS | |
#define popen _popen | |
#define pclose _pclose | |
#endif | |
class Pipe |
import tensorflow as tf | |
import io | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import scipy as scipy # Ensure PIL is also installed: pip install pillow | |
''' | |
matplotlib_summary code: | |
Code for generating a tensorflow image summary of a custom matplotlib plot. |
// Copyright 2017. All Rights Reserved. | |
// Author: [email protected] (Fangjun Kuang) | |
#include <QtGui> | |
#include <QGraphicsRectItem> | |
#include <QGraphicsView> | |
#include <QApplication> | |
#include <QGraphicsSceneMouseEvent> | |
class CustomItem : public QGraphicsEllipseItem |