View ffmpeg-commands.md

Turn a video into an MP3:

ffmpeg -i filename.mp4 filename.mp3

combine video from first file and audio from second file:

ffmpeg -t 12:54.00 -i mash.mp4 -i dat_beat.mp4 -acodec copy -vcodec copy final-skies.mp4

concat one or more video files:

View html5-demos.md

The HTML5 Amount of Awesomeness

Rainbox Vomit

A collection of freaking awesome HTML5 demos (work in progress).

WebGL

View keybase.md

Keybase proof

I hereby claim:

  • I am jaytaylor on github.
  • I am jaytaylor (https://keybase.io/jaytaylor) on keybase.
  • I have a public key whose fingerprint is C41E 2D55 C0D6 95B8 2A9D DB87 867D ADD6 C217 A51D

To claim this, I am signing this object:

View find-dupe-prefixes.py
#!/usr/bin/env python
import glob, os, sys
def first_occurrence_of(s, delimiters):
delim_indexes = [pos for pos in map(s.find, delimiters) if pos != -1]
if len(delim_indexes) == 0:
return -1
first_index = min(delim_indexes)
return first_index
View algorithms-design-manual-solutions_TADM2E-2.35.py
>>> def count(n):
... x = 0
... m = 0
... while m < n:
... j = m
... while j < 2 * m:
... x += 1
... j += 1
... m += 1
... return x
View egg-drop-simulator.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@author Jay Taylor [@jtaylor]
@date 2016-07-17
@description Egg drop algorithm simulator.
"""
import math
View grpc_6918_experiment.md

Sure, in fact I first saw this error yesterday after having built off HEAD.

To narrow things down, I devised and ran a simple experiment to determine which versions of things are being troublesome.

Skip to the results

Key

  • venv2 is Python 2.7.11+
  • venv3 is Python 3.5.1+
View philosophers.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
5 philosophers at a round table w/ bowls of spaghetto
Forks are placed between each pair of philosophers (5 forks)
Must think and eat
View ark-ShooterGame-Saved-Config-LinuxServer-Game.ini
[/Script/ShooterGame.ShooterGameMode]
BabyMatureSpeedMultiplier=1000.0
EggHatchSpeedMultiplier=8.0
MatingIntervalMultiplier=0.01
View parse_query.cpp
#include <iostream>
#include <sstream>
#include <string>
using namespace::std;
void parseTerms(string query, string components[][3]);
void parseToken(string token, string parsed[]);
int main() {