Skip to content

Instantly share code, notes, and snippets.

View Ponywka's full-sized avatar

Vladimir Avtsenov Ponywka

View GitHub Profile
@Ponywka
Ponywka / 50-tft.conf
Last active February 13, 2025 03:21
TFT display (ILI9486 + XPT2046 (ADS7846)) on Orange Pi 3 LTS
Section "Device"
Identifier "ILI9486 Screen"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection
Section "InputClass"
Identifier "ADS7846 Touchscreen"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
@Ponywka
Ponywka / install-snx-checkpoint
Last active May 20, 2024 22:11
How to install SNX Checkpoint VPN client in Fedora 40
# Based on https://gist.github.com/ikurni/b88b8f32eacd2e39c11cb52b6f0b5ba2
### Install few required packages to run SNX
sudo dnf install libX11.i686 libpamtest.i686 libnsl.i686 https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/compat-libstdc++-33-3.2.3-72.el7.i686.rpm
### Install snx_linux.sh
### Download snx_linux_30.sh file from Checkpoint
### Active URL : https://supportcenter.checkpoint.com/supportcenter/portal/user/anon/page/default.psml/media-type/html?action=portlets.DCFileAction&eventSubmit_doGetdcdetails&fileid=22824
### or Alternative URL: wget https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh
sh snx_install_linux30.sh
@Ponywka
Ponywka / .env
Last active April 15, 2022 12:46
FFmpeg IceCast Stream
RADIO_URL=http://localhost/radio/8000/320.mp3
STREAM_URL=rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx
TITLE_FILE=/tmp/icy-yt-title
ARTIST_FILE=/tmp/icy-yt-artist
@Ponywka
Ponywka / .html
Created September 28, 2020 21:57
Audio Sound Visualizer | JavaScript
<html>
<head>
<meta charset="utf-8">
<title>Audio Sound Visualizer</title>
<style>
div {
margin: 1em;
}
</style>