Skip to content

Instantly share code, notes, and snippets.

@levelsio
levelsio / levelsio-by.html
Last active March 10, 2021 05:20
Maker Link (aka the @levelsio by link)
<!-- Maker Link by @levelsio -->
<!-- MIT License -->
<style>
body {
background:#333;
}
.levelsio-by {
font-family:"Helvetica Neue",sans-serif;
right:0;
@harsha547
harsha547 / Layout.jade
Created February 4, 2018 11:28
Layout jade from brad traversy
doctype html
html(lang='en')
head
title Welcome
link(rel='stylesheet', href='/stylesheets/bootstrap.css')
link(rel='stylesheet', href='/stylesheets/style.css')
body
.navbar.navbar-default(role='navigation')
.container
.navbar-header
@bertrandmartel
bertrandmartel / passport-youtube.js
Last active July 3, 2022 16:44
Example of using youtube API on nodejs with passport
var app = require('express')(),
passport = require('passport'),
GoogleStrategy = require('passport-google-oauth').OAuth2Strategy,
mongoose = require('mongoose'),
google = require('googleapis'),
OAuth2 = google.auth.OAuth2,
session = require('express-session');
var config = {
clientID: 'CLIENT_ID',
@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