Skip to content

Instantly share code, notes, and snippets.

View davidhariri's full-sized avatar

David Hariri davidhariri

View GitHub Profile
@davidhariri
davidhariri / convert
Created May 15, 2016 17:15
Convert MKV to iTunes MP4 without transcoding video
ffmpeg -i "movie.mkv" -c:v copy -c:a aac -b:a 256k -strict -2 "movie.mp4"
{
"does_this" : "do the same thing?"
}
@davidhariri
davidhariri / responsive-grid.html
Created September 14, 2015 15:55
A simple mobile responsive grid for a Volley answer
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<style media="screen">
body {
margin: 0;
padding: 0;
@davidhariri
davidhariri / gist:0f004913d9e46c207266
Last active August 29, 2015 14:23
New in Volley 1.0

#New in Volley 1.0 ##Built

  • Complete rewrite of the app (Javascript only, baby!)
  • Brand new API
  • Mobile-friendly
  • Public replies
  • Activity Inbox
  • Topics
  • Publicly available for everyone (no long invite only)

##Hi there! 👋

We're taking some time to update Volley and will be back shortly. Check Twitter for an update on when we're live again

Thanks for your patience 🙏

David

import sys
import colour
import random
import svgwrite
import math
from datetime import datetime
# i redacted most of our colors for testing purposes
palette = [ "#ecc3af", "#ac3f3d", "#fee2cd"]
@davidhariri
davidhariri / all-the-links.md
Last active September 15, 2015 09:20
All of my links to blogs, resources, tutorials and people I find inspiring