Skip to content

Instantly share code, notes, and snippets.

View ocdude's full-sized avatar

Cristian Alvarado ocdude

View GitHub Profile
@ocdude
ocdude / install-ffmpeg.sh
Last active July 5, 2019 20:25
ffmpeg configure parameters
#!/bin/bash
# This script will download all of the appropriate and necessary components required to
# install FFMPEG on Ubuntu 14.04 and above. This uses checkinstall instead of the normal
# make install to generate a .deb so ffmpeg and the x265 library can be managed by the package manager.
# When passed the nvenc parameter, it will attempt to compile ffmpeg with the nvenc and nvenc_h265 encoders which use
# nvidia GPUs for encoding rather than CPU. Check https://developer.nvidia.com/nvidia-video-codec-sdk for more information.
set -e
@grindars
grindars / steam_bootstrap.sh
Created December 7, 2012 07:53
Steam installer for Debian
#!/bin/bash
#
# Steam installer for Debian wheezy (32- and 64-bit)
#
# Place into empty directory and run.
#
download() {
local url="$1"
local filename="$(basename "$url")"
@dupuy
dupuy / README.rst
Last active June 4, 2025 14:19
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

@vanto
vanto / README.md
Last active December 23, 2021 21:28
OEmbed Liquid Tag for Jekyll

OEmbed Liquid Tag for Jekyll

This is a simple liquid tag that helps to easily embed images, videos or slides from OEmbed enabled providers. It uses Magnus Holm's great oembed gem which connects to the OEmbed endpoint of the link's provider and retrieves the HTML code to embed the content properly (i.e. an in-place YouTube player, Image tag for Flickr, in-place slideshare viewer etc.). By default it supports the following OEmbed providers (but can fallback to Embed.ly or OoEmbed for other providers):

  • Youtube
  • Flickr
  • Viddler
  • Qik
  • Revision3
  • Hulu
  • Vimeo