View meu_tema.R
require(ggplot2); require(RColorBrewer); require(scales); require(grid)
cinza <- brewer.pal("Greys", n=9)[6]
meu_tema <- function() {
# Generate the colors for the chart procedurally with RColorBrewer
palette <- brewer.pal("Greys", n=9)
color.background = palette[2]
color.grid.major = palette[3]
View ffmpeg-desktop-livestreaming-nvenc-and netcat.md

Low-Latency Live Streaming for your Desktop using ffmpeg and netcat

Preamble:

In this post I will explore how to stream a video and audio capture from one computer to another using ffmpeg and netcat, with a latency below 100ms, which is good enough for presentations and general purpose remote display tasks on a local network.

The problem:

View p7.exs
defmodule P7 do
# public function that calls a private one with accumulator
def flatten(list), do: do_flatten(list, [])
# base case - empty list
defp do_flatten([], result), do: result
# next two clauses are for lists with only one element - either a list or value
defp do_flatten([head], result) when is_list(head), do: do_flatten(head, result)
defp do_flatten([head], result), do: [head | result]
end
View .block
license: gpl-3.0
height: 2910
border: no
View docker-cook-guide.md
View gist:976172

Header 1

Header 2

Header 3 ### (Hashes on right are optional)

Header 4

Header 5

Markdown plus h2 with a custom ID ## {#id-goes-here}

Link back to H2

This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one

View 1001-movies.md
  • A Trip to the Moon (Le Voyage Dans La Lune) (1902)
  • The Great Train Robbery (1903)
  • The Birth of a Nation (1915)
  • Les Vampires (1915)
  • Intolerance (1916)
  • The Cabinet of Dr. Caligari (Das Kabinett des Doktor Caligari) (1920)
  • Broken Blossoms (1919)
  • Within Our Gates (1920)
  • Way Down East (1920)
  • Orphans of the Storm (1921)
View Error Message Better option.java
public enum Error {
DATABASE(0, "A database error has occured."),
DUPLICATE_USER(1, "This user already exists.");
private final int code;
private final String description;
private Error(int code, String description) {
this.code = code;
this.description = description;
View feed.json
{"updated":"2016-07-23 23:04:33 +0000","articles":[{"title":"– Tim Kaine er alt Trump ikke er","link":"https://www.nrk.no/urix/tim-kaine-lanseres-som-demokratenes-visepresidentkandidat-1.13056697"},{"title":"«Kan styrke inntrykket av Hillary som arrogant»","link":"https://www.nrk.no/ytring/hoyt-spill-i-cleveland---og-i-philadelphia-1.13056287"},{"title":"– Som å bli trener for Man. United","link":"https://www.nrk.no/nordland/_-som-a-bli-trener-for-manchester-united-1.13055438"},{"title":"Norge fikk bank av OL-motstanderen","link":"https://www.nrk.no/sport/norge-fikk-bank-av-ol-motstander-1.13056664"},{"title":"Feiret Widvey fire uker før toppjobben","link":"http://www.nrk.no/norge/maeland-feiret-widveys-bursdag-rett-for-hun-gav-henne-mektig-verv-1.13056232"},{"title":"– Det blør inni hele meg","link":"https://www.nrk.no/norge/her-gar-fallskjermhoppet-galt_-_-det-blor-inni-hele-meg-1.13054996"},{"title":"Slik husker vi 22. juli","link":"https://www.nrk.no/norge/terroren-som-forandret-norge-1.13055202"},{"titl