Skip to content

Instantly share code, notes, and snippets.

View ramazansancar's full-sized avatar
📚
Study

Ramazan Sancar ramazansancar

📚
Study
View GitHub Profile

Github to Discord Webhook Tutorial

In this tutorial I'll show you how to create a Github webhook that will post updates from your Github account to a channel in Discord. The steps are simple so follow along!

Create a Webhook in a Discord Channel

First you need to create a webhook in a text channel. We're assuming you have both Manage Channel and Manage Webhooks permissions!

  • Go in a channel properties (Alternatively, Server Settings, Webhooks works too)
@GokhanPolat
GokhanPolat / stations.csv
Last active October 21, 2022 07:21
pyradio playlist file
# YERLI RADYOLAR
Açık Radyo https://stream.34bit.net/ar.opus
Pal FM https://moondigitaledge.radyotvonline.net/palfm/playlist.m3u8
Pal Station https://moondigitaledge.radyotvonline.net/palstation/playlist.m3u8
Pal Nostalji https://moondigitaledge.radyotvonline.net/palnostalji/playlist.m3u8
Radyo Viva https://moondigitaledge.radyotvonline.net/radyoviva/playlist.m3u8
Kent Fm https://moondigitaledge.radyotvonline.net/kentfm/playlist.m3u8
# TURKULER
TURKU - Pal Doğa https://ssl4.radyotvonline.com/radyohome/paldogahome.stream_aac/playlist.m3u8
@regstuff
regstuff / gist:33e072e97a446160839062d53d54b6e3
Created June 18, 2020 08:03
Show volume with ffmpeg, and use streamlink
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showfreqs=s=480x240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showvolume=p=1,scale=480:240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showspectrum=s=480x240:scale=log[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
ffmpeg -i http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4 -filter_complex "[0:a]showcqt=s=480x240[vv];[0:v][vv]overlay=x=0:y=(H-h)/2" -c:v libx264 -c:a aac -f mpegts - | ffplay -i -
streamlink https://www.youtube.com/watch?v=dp5IuihmwhQ worst -O | ffmpeg -i pipe:0 -filter_
@GokhanPolat
GokhanPolat / castero_podcast_links.txt
Created May 12, 2020 12:11
Exported podcast list from castero, for importing see castero --help
import * as http from 'http';
import onFinished from 'on-finished';
/**
* Create a middleware that logs all requests.
*
* @param log - Logger to log to.
* @param [options] - Options.
* @param [options.excludeUrls] - An array of endpoints which should not be
@horosin
horosin / README.md
Last active September 19, 2025 18:00
Chrome Remote Desktop on Debian Server

Chrome Remote Desktop on Debian/Ubuntu Server

Get a remote connection to your cloud server! This utility script by default installs XFCE, Chrome and Chrome Remote Desktop.

Based on this guide, made ready to install with one command and use xfce by default.

Steps:

  1. Install requirements (please check if the script is safe before you execute this command!)
@sumodirjo
sumodirjo / looking-glass.md
Last active April 29, 2023 18:06
Looking Glasses
@fatihyildizhan
fatihyildizhan / Docker 23 + Traefik 2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Last active August 29, 2024 13:19
Docker 23 + Traefik 2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Docker 23 + Traefik v2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Content:
- Ubuntu 22.04
- Docker Engine 23.0.3
- Docker Compose 2.17.2
- Traefik v1.7.18 with dnsChallenge
- Traefik v2.9.9 with httpChallenge
--
- Github Registry V2 ghcr.io
@cagcak
cagcak / turkish_NumberToWords.js
Created September 29, 2019 09:27
A function that converts a number to words in Turkish
const turkish_NumberToWords = (number = 0) => {
/*
* Assign spelling words in seperate arrays
*/
const steps = ['', 'bir', 'iki', 'üç', 'dört', 'beş', 'altı', 'yedi', 'sekiz', 'dokuz']
const tens = ['', 'on', 'yirmi', 'otuz', 'kırk', 'elli', 'altmış', 'yetmiş', 'seksen', 'doksan']
const hundreds = ['', 'yüz', 'ikiyüz', 'üçyüz', 'dörtyüz', 'beşyüz', 'altıyüz', 'yediyüz', 'sekizyüz', 'dokuzyüz']
const nS = ['', 'bin', 'milyon', 'milyar', 'trilyon', 'katrilyon', 'kentilyon', 'seksilyon', 'septilyon', 'oktilyon']
/*
* Maximum number step is 30
@jhochwald
jhochwald / Convert-HolidayFromApiToCsAutoAttendantHolidays.ps1
Created September 9, 2019 22:32
Get German Holidays via API and export them to CSV for Skype for Business (Online). We use the German service feiertage-api.de to fetch the list, that is a great wrapper for the German Holidays published on Wikipedia.
<#
.SYNOPSIS
Get German Holidays via API and export them to CSV for Skype for Business (Online).
.DESCRIPTION
Get German Holidays via API and export them to CSV for Skype for Business (Online).
We use the German service feiertage-api.de to fetch the list, that is a great wrapper for the German Holidays published on Wikipedia.
.PARAMETER State
The german state