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 / 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 / git-deployment.md
Created August 18, 2020 08:36 — forked from noelboss/git-deployment.md
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.