Skip to content

Instantly share code, notes, and snippets.

View Smorodov's full-sized avatar
🏠
Working from home

Andrey Smorodov Smorodov

🏠
Working from home
View GitHub Profile
@Hakky54
Hakky54 / cheat_sheet_http_client_ssl_configuration_for_java_kotlin_scala.md
Last active August 18, 2022 11:56
Cheat Sheet - Http Client SSL TLS Configuration for Java Kotlin and Scala with example http requests
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")
@mdasifchand
mdasifchand / Eigen Cheat sheet
Last active April 11, 2024 07:09 — forked from gocarlos/Eigen Cheat sheet
Cheat sheet for the linear algebra library Eigen: http://eigen.tuxfamily.org/
// 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;
@nadavrot
nadavrot / Matrix.md
Last active November 15, 2024 16:00
Efficient matrix multiplication

High-Performance Matrix Multiplication

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).

Intro

Matrix multiplication is a mathematical operation that defines the product of

@kosh04
kosh04 / .gitignore
Last active November 9, 2024 10:37
Chrome Cookies Decrypter
cookie.txt
@Oleksiy-Yakovenko
Oleksiy-Yakovenko / pipe.cpp
Created January 25, 2018 16:39
cross platform pipe IPC implementation in C++
#include "stdafx.h"
#define USE_POPEN 1
#if PLATFORM_WINDOWS
#define popen _popen
#define pclose _pclose
#endif
class Pipe
@thennequin
thennequin / PieMenu.cpp
Last active September 5, 2024 14:43
PieMenuAdv
struct PieMenuContext
{
static const int c_iMaxPieMenuStack = 8;
static const int c_iMaxPieItemCount = 12;
static const int c_iRadiusEmpty = 30;
static const int c_iRadiusMin = 30;
static const int c_iMinItemCount = 3;
static const int c_iMinItemCountPerLevel = 3;
struct PieMenu
@kkleidal
kkleidal / example.py
Created November 17, 2017 19:55
Matplotlib Image Summaries in Tensorboard
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.
@csukuangfj
csukuangfj / QGraphicsSceneTest.cpp
Last active June 23, 2023 19:30 — forked from benjbaron/QGraphicsSceneTest.cpp
Qt QGraphicsScene click, select, move, resize, delete QGraphicsItems
// Copyright 2017. All Rights Reserved.
// Author: [email protected] (Fangjun Kuang)
#include <QtGui>
#include <QGraphicsRectItem>
#include <QGraphicsView>
#include <QApplication>
#include <QGraphicsSceneMouseEvent>
class CustomItem : public QGraphicsEllipseItem
@luke14free
luke14free / FCN_deep_matting.ipynb
Created April 10, 2017 09:09
Deep matting with FCN/VGG16
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.