Skip to content

Instantly share code, notes, and snippets.


Seyoum seyoum

View GitHub Profile
seyoum / index.html
Created May 17, 2017
Common meta tags and stuff that is imperative for responsive web design...
View index.html
<!DOCTYPE html>
<!-- This is needed to avoid zoself-explanatoryoming function and instead base the VP on the device VP -->
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'>
<!-- This is needed for IE9 especially -->
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
seyoum / flexbox.css
Created Jun 5, 2017
A brief and short CSS flexbox reference
View flexbox.css
/*The first values are the defaults*/
.parent {
display: flex | inline-flex;
flex-direction: row | row-reverse | column | column-reverse;
flex-wrap: nowrap | wrap | wrap-reverse;
justify-content: flex-start | flex-end | center | space-between | space-around;
align-items: stretch | flex-end | center | baseline | flex-start;
align-content: stretch | flex-end | center | space-between | space-around | flex-start;
View Remove default and add custom new file to context menu in Windows 10.reg
Windows Registry Editor Version 5.00
seyoum / gist:4a5d05ad85e456dc89ca4a04f3274ccf
Created May 18, 2017
Complete list of github markdown emoji markup
View gist:4a5d05ad85e456dc89ca4a04f3274ccf


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
seyoum / Video-and-Subtitle-merger-batch-for-mkvmerge.bat
Created May 15, 2017
This is a batch script that will merge subtitles with a video file, resulting in an *.mkv file with internal subtitles.
View Video-and-Subtitle-merger-batch-for-mkvmerge.bat
@echo off
echo ----------------------------------------------------------------------
echo version 1.0.0 by Seyoum
echo ----------------------------------------------------------------------
:: Set file video extention
set /p videofileformat=Enter the video file type extension (e.g mp4):
if /I "%videofileformat%" EQU "webm" echo You have chosen %videofileformat% as your video file format&goto:SUBTITLEFILEEXTENTION
seyoum / test.html
Created May 17, 2017
Basic markup test content for typography
View test.html
<h1>Testing display of HTML elements</h1>
<h2>This is 2nd level heading</h2>
<p>This is a test paragraph.</p>
<h3>This is 3rd level heading</h3>
<p>This is a test paragraph.</p>
<h4>This is 4th level heading</h4>
<p>This is a test paragraph.</p>
<h5>This is 5th level heading</h5>
<p>This is a test paragraph.</p>
seyoum / Convert audio to video with ffmpeg -
Created Apr 1, 2017
A list of examples on how you can use filters to make visual representations of audio using ffmpeg
View Convert audio to video with ffmpeg -

Convert audio to video with ffmpeg - examples


ffmpeg -i input.mp3 -filter_complex "[0:a]avectorscope=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a avectorscope.mp4


ffmpeg -i input.mp3 -filter_complex "[0:a]showcqt=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a showcqt.mp4


ffmpeg -i input.mp3 -filter_complex "[0:a]ahistogram=s=1920x1080,format=yuv420p[v]" -map "[v]" -map 0:a ahistogram.mp4
You can’t perform that action at this time.