Skip to content

Instantly share code, notes, and snippets.

View ghamarian's full-sized avatar

Amir Ghamarian ghamarian

View GitHub Profile
// rangesFilterTransform.cpp
#include <iostream>
//#include <ranges>
#include <range/v3/all.hpp>
#include <vector>
int main() {
std::vector<int> numbers = {1, 2, 3, 4, 5, 6};
{
"symbol": "ETHBTC",
"status": "TRADING",
"baseAsset": "ETH",
"baseAssetPrecision": 8,
"quoteAsset": "BTC",
"quotePrecision": 8,
"orderTypes": ["LIMIT", "MARKET"],
"icebergAllowed": false,
"filters": [
import itertools
import logging
import os
import os.path
import threading
from functools import partial
from typing import List, Sequence
import cv2
from math import log, pi
import itertools
import logging
import os
import os.path
import threading
from functools import partial
from typing import List, Sequence
import cv2
from math import log, pi
@ghamarian
ghamarian / broadcasting.py
Created September 17, 2020 18:29
Numpy broadcasting implementation (for educational purposes)
import operator
from itertools import cycle
from numbers import Number
import numpy as np
def broadcast(a, b, op):
result = []
if isinstance(a, Number) and isinstance(b, Number):
| adwaita-icon-theme | Icons for the GNOME project |
| ------------------------- | ---------------------------------------------------------------------------- |
| aom | Codec library for encoding and decoding AV1 video streams |
| aria2 | Download with resuming and segmented downloading |
| atk | GNOME accessibility toolkit |
| atool | Archival front-end |
| autoconf | Automatic configure script builder |
| automake | Tool for generating GNU Standards-compliant Makefiles |
| azure-cli | Microsoft Azure CLI 2.0 |
| bat | Clone of cat(
| adwaita-icon-theme | Icons for the GNOME project |
| ------------------------- | ---------------------------------------------------------------------------- |
| aom | Codec library for encoding and decoding AV1 video streams |
| aria2 | Download with resuming and segmented downloading |
| atk | GNOME accessibility toolkit |
| atool | Archival front-end |
| autoconf | Automatic configure script builder |
| automake | Tool for generating GNU Standards-compliant Makefiles |
| azure-cli | Microsoft Azure CLI 2.0 |
| bat | Clone of cat(
for i in *; do export extension="${filename##*.}" export filename="${filename%.*}"; echo $extension; echo $filename ; done
for i in *; do export extension=zip export filename=tax; echo ; echo tax.zip ; done
-Learn-Artificial-Intelligence-with-TensorFlow
origin https://github.com/PacktPublishing/-Learn-Artificial-Intelligence-with-TensorFlow.git (fetch)
-----------------
Advanced-Deep-Learning-with-Keras
origin https://github.com/PacktPublishing/Advanced-Deep-Learning-with-Keras.git (fetch)
-----------------
Deep-Learning-with-Keras
origin https://github.com/PacktPublishing/Deep-Learning-with-Keras.git (fetch)
-----------------
Distributed-Deep-Learning