Skip to content

Instantly share code, notes, and snippets.

View rhiskey's full-sized avatar
📱
Master your craft

Vladimir Kiselev rhiskey

📱
Master your craft
View GitHub Profile
@rhiskey
rhiskey / Dockerfile
Created December 28, 2024 05:55 — forked from Congyuwang/Dockerfile
Dockerfile Install CMake
# install cmake
WORKDIR /root
RUN mkdir temp
WORKDIR /root/temp
RUN curl -OL https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz
RUN tar -xzvf cmake-3.27.4.tar.gz
WORKDIR /root/temp/cmake-3.27.4
RUN ./bootstrap -- -DCMAKE_BUILD_TYPE:STRING=Release
RUN make -j4
@rhiskey
rhiskey / compile-ffmpeg-nvenc.sh
Created September 10, 2024 22:34 — forked from ransagy/compile-ffmpeg-nvenc.sh
Script to build a static FFMpeg binary with NVENC support
#!/bin/bash
# This script will compile and install a static ffmpeg build with support for nvenc in ubuntu.
# See the prefix path and compile options if edits are needed to suit your needs.
# NOTE: This build is made to target Ubunutu 16.04 Data-Science Azure VMs - With nVidia 418.xx drivers and CUDA SDK 9.0.
# It also relies on a hack described in https://trac.ffmpeg.org/ticket/6431#comment:7 to make glibc dynamic still.
# Long story short, you need to edit your ffmepg's configure script to avoid failures on libm and libdl.
# in function probe_cc, replace the _flags_filter line to: _flags_filter='filter_out -lm|-ldl'
@rhiskey
rhiskey / aimgaze.py
Last active July 2, 2024 07:54
Mouse movement via eyes
import cv2
import numpy as np
import pyautogui
## Install CMake on system then:
## `pip install cmake dlib opencv-python pyautogui numpy`
# Constants for sensitivity and smoothing
SENSITIVITY = 20 # Adjust as needed
SMOOTHING = 0.5 # Adjust as needed
@rhiskey
rhiskey / secure-mailserver-postfix-dovecot-letsencrypt-debian-jessie.md
Last active March 13, 2024 21:08 — forked from jkullick/secure-mailserver-postfix-dovecot-letsencrypt-debian-jessie.md
Secure Mailserver with Postfix, Dovecot and Let's Encrypt on Debian Jessie
@rhiskey
rhiskey / classification_nn_seminarus.ipynb
Created August 9, 2022 18:00
Classification_NN_Seminarus.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiskey
rhiskey / seminarus-lang_det_ml_google.ipynb
Created July 23, 2022 19:51
Seminarus Lang_det_ML_Google.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiskey
rhiskey / mathfund_nn_from_scratch_lesson.ipynb
Created July 21, 2022 14:33
MathFund_NN_from_scratch_lesson.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiskey
rhiskey / alexnetarchitecture_seminarus.ipynb
Created July 13, 2022 14:34
AlexNetArchitecture_Seminarus.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiskey
rhiskey / stress_reddit_seminarus.ipynb
Created July 10, 2022 14:00
Stress_reddit_Seminarus.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhiskey
rhiskey / seminarus_article_recommender.ipynb
Created July 6, 2022 12:50
Seminarus_Article_recommender.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.