I hereby claim:
- I am yuriploc on github.
- I am yuriploc (https://keybase.io/yuriploc) on keybase.
- I have a public key ASBJd2TddgRiSq3hK3Ffny1lR62QHnXOgk-lwHnEISmQdQo
To claim this, I am signing this object:
| [user] | |
| email = my@email.sh | |
| name = Юрий Оливейра | |
| [alias] | |
| lo = log --graph --format=oneline --abbrev-commit | |
| loa = !git lo --all | |
| lol = log --graph --format='%C(auto)%h%d %s%Creset %Cgreen(%cr)%Creset %C(cyan)<%an>%Creset' | |
| lola = !git lol --all | |
| co = checkout | |
| br = branch |
I hereby claim:
To claim this, I am signing this object:
| def are_eq?(left, right) when is_list(left) and is_list(right), do: same_members?(left, right) | |
| defp same_members?([hd_left | t_left], [_ | _] = right) do | |
| if Enum.any?(right, &(&1 == hd_left)) do | |
| index = Enum.find_index(right, &(&1 == hd_left)) | |
| {_, next_right} = List.pop_at(right, index) | |
| same_members?(t_left, next_right) | |
| else | |
| false |
%{ author: "Yuri Oliveira", author_link: "https://github.com/yuriploc", tags: , date: ~D[2021-11-12], title: "Writing a cleaner select query", excerpt: """ How learning more about the Ecto.Query module can help you write cleaner select queries. """ }
| ARG CUDA_VERSION=11.2.2 | |
| ARG CUDNN_VERSION=8 | |
| ARG UBUNTU_VERSION=18.04 | |
| # https://hub.docker.com/r/nvidia/cuda | |
| FROM nvidia/cuda:${CUDA_VERSION}-cudnn${CUDNN_VERSION}-devel-ubuntu${UBUNTU_VERSION} | |
| ARG PYTHON_VERSION=3.8 | |
| ARG OPENCV_VERSION=4.5.5 |
| defmodule Eye do | |
| alias Evision, as: Cv | |
| def read(video, frame_read, count) when frame_read != false do | |
| scale = 0.5 | |
| {height, width, _channels} = frame_read.shape | |
| new_width = trunc(width * scale) | |
| new_height = trunc(height * scale) | |
| frame_read |