Skip to content

Instantly share code, notes, and snippets.


Cannonball Skippy CannonballSkippy

View GitHub Profile
View 2021.12.14 - Import fra Språkrådet - Avløserord.tsv
Importord Avløserord
@ krøllalfa
abort (IKT)programbrot/programbrudd, programavbrot/programavbrudd
access tilgang
access code tilgangskode
access point tilgangspunkt
account manager kundeleiar/kundeleder, kundeansvarleg/kundeansvarlig, kundekontakt, jf. key account manager
accountability ansvarsutkreving, ansvarleggjering/ansvarliggjøring
actionfilm spenningsfilm, valdsfilm/voldsfilm
adde (IKT) leggje til, leggje inn / legge til, legge inn
View Remove default and add custom new file to context menu in Windows 10.reg
Windows Registry Editor Version 5.00
CannonballSkippy / flexbox.css
Created June 5, 2017 10:35
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;
CannonballSkippy / gist:4a5d05ad85e456dc89ca4a04f3274ccf
Created May 18, 2017 21:23
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:
CannonballSkippy / test.html
Created May 17, 2017 21:33
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>
CannonballSkippy / index.html
Created May 17, 2017 17:50
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;" />
CannonballSkippy / Video-and-Subtitle-merger-batch-for-mkvmerge.bat
Created May 15, 2017 13:27
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
CannonballSkippy / Convert audio to video with ffmpeg -
Created April 1, 2017 10:48
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