Skip to content

Instantly share code, notes, and snippets.

View Kambaa's full-sized avatar

KambaAbi Kambaa

  • KambaAbi
  • Istanbul, Turkey
View GitHub Profile
@Kambaa
Kambaa / fix-eth-hang.md
Last active April 18, 2025 17:36 — forked from brunneis/fix-eth-hang.md
Proxmox | Fix "e1000e Detected Hardware Unit Hang"

Proxmox network unavailability problems after upgrading to 8.4.1

After upgrading to 8.x, sometimes access to the proxmox lan/web interface/ssh fails to connect after plugging off and on the ethernet port, it works again for some time and this problem occurs again.

When i connected a monitor and keyboard to the proxmox machine, First i read and thought the new device naming is the problem, so i updated the GRUB_CMDLINE_LINUX field on /etc/default/grub file: it became like this after adding:

GRUB_CMDLINE_LINUX="net.naming-scheme=v252"
@Kambaa
Kambaa / strokes plus keys.txt
Last active March 22, 2024 20:34 — forked from sysatom/sp_keys.txt
StrokesPlus : Full SendKeys listing
@ = WINKEY
+ = SHIFT
^ = CTRL
% = ALT
{ADD} = VK_ADD
{APPS} = VK_APPS
{AT} = @
{BACKSPACE} = VK_BACK
{BKSP} = VK_BACK
$ ffmpeg \
-f avfoundation \
-video_size 1920x1080 \
-framerate 30 \
-i "2:2" \
-c:v libx264 \
-b:v 6000K \
-maxrate 6000K \
-pix_fmt yuv420p \
-r 30 \
$ ffmpeg \
-re \
-i /path/to/video.mp4 \
-c:v libx264 \
-b:v 6000K \
-maxrate 6000K \
-pix_fmt yuv420p \
-s 1920x1080 \
-profile:v main \
-preset veryfast \
$ ffmpeg \
-re \
-stream_loop -1 \
-i /path/to/video.mp4 \
-stream_loop -1 \
-i /path/to/audio.mp3 \
-map 0:v:0 \
-map 1:a:0 \
-c:v libx264 \
-b:v 6000K \
ffmpeg \
-f avfoundation \
-framerate 30 \
-video_size 1920x1080 \
-i "3:" \
-f avfoundation \
-framerate 30 \
-video_size 640x480 \
-i "2:" \
-f avfoundation \

Prerequisites

Just to make sure everything works as expected, here are my current Node/AWS CLI versions (in case we need to look up an ARN or something with the CLI)

Node Version

$ node --version
v18.12.1
<!DOCTYPE html>
<html lang="en">
<head>
<title>IVS Playback</title>
<script src="https://player.live-video.net/1.14.0/amazon-ivs-player.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', () => {
// set stream url
const streamUrl = '[Playback URL]';
@Kambaa
Kambaa / semantic-commit-messages.md
Last active November 28, 2023 10:52 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Anlamlı Commit Mesajları

Kodlamalarınızda, iletilen commit'in ne içerdiğinin kısa özetinin sağlanması adına, belirlenmiş bazı kuralları ifade eder. Bu kurallara uyularak hareket edildiğinde, hem yapılan değişikler daha rahat takip edilebilir, hem uygulamada olan değişiklikler (CHANGELOG) daha kolay ayarlanıp proje koduna iliştirilebilinir.

Genel yapı:

Genel olarak commit messajının yapısı şu şekilde ifade edilmektedir:

subject line(konu başlığı - ZORUNLU)
empty line(boş satır - OPSİYONEL)
commit body(commit detayları - OPSİYONEL)
commit footer(alt metin ve imzalar - OPSİYONEL)
to check if the server works - https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice
stun:
stun.l.google.com:19302,
stun1.l.google.com:19302,
stun2.l.google.com:19302,
stun3.l.google.com:19302,
stun4.l.google.com:19302,
stun.ekiga.net,
stun.ideasip.com,