Skip to content

Instantly share code, notes, and snippets.

View CannonballSkippy's full-sized avatar

Cannonball Skippy CannonballSkippy

View GitHub Profile
@CannonballSkippy
CannonballSkippy / index.html
Created May 17, 2017 17:50
Common meta tags and stuff that is imperative for responsive web design...
<!DOCTYPE html>
<html>
<head>
<!-- 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
CannonballSkippy / flexbox.css
Created June 5, 2017 10:35
A brief and short CSS flexbox reference
/*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
CannonballSkippy / gist:4a5d05ad85e456dc89ca4a04f3274ccf
Created May 18, 2017 21:23
Complete list of github markdown emoji markup

People

: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
CannonballSkippy / Convert audio to video with ffmpeg - examples.md
Created April 1, 2017 10:48
A list of examples on how you can use filters to make visual representations of audio using 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
@CannonballSkippy
CannonballSkippy / test.html
Created May 17, 2017 21:33
Basic markup test content for typography
<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>
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
@CannonballSkippy
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.
@echo off
echo ----------------------------------------------------------------------
echo VIDEO AND SUBTITLE MERGER
echo version 1.0.0 by Seyoum
echo ----------------------------------------------------------------------
:: Set file video extention
:VIDEOFILEEXTENTION
echo.
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
Windows Registry Editor Version 5.00
;-----------------------------------
; https://superuser.com/a/1284919/402626
;-----------------------------------
; REMOVE DEFAULT NEW CONTEXT MENU ITEMS
;-----------------------------------