I hereby claim:
- I am millerhooks on github.
- I am millerhooks (https://keybase.io/millerhooks) on keybase.
- I have a public key ASAawXj0pDq7bIMHaCX4kxwfF-y1jEa72PTE-qW8oetUIwo
To claim this, I am signing this object:
// A proxy for sending/receiving SMS via IRC | |
// | |
// This code is part of our family IRC server whose code is available at | |
// https://gist.github.com/mndrix/7947009178e4a18c247b4bd25821661f | |
// | |
// This file won't compile by itself because it's only one file from | |
// my larger family server (movie hosting, Asterisk dialplan, Git | |
// hosting, personal assistant, etc). | |
// | |
// Copyright 2018 Michael Hendricks |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import argparse | |
import sys | |
import jinja2 | |
import markdown | |
TEMPLATE = """<!DOCTYPE html> | |
<html> |
#!/usr/bin/env python | |
import argparse | |
import sys | |
import jinja2 | |
import markdown | |
TEMPLATE = """<!DOCTYPE html> | |
<html> |
#!/bin/bash | |
export SOURCE_PATH=/tmp | |
export ARROW_SOURCE_PATH=$SOURCE_PATH/arrow \ | |
export PARQUET_SOURCE_PATH=$SOURCE_PATH/parquet-cpp | |
cd $SOURCE_PATH | |
pip install --upgrade pip && pip install \ | |
six numpy pandas cython pytest wheel cmake pyarrow | |
mkdir $SOURCE_PATH/dist |
cmake_minimum_required(VERSION 3.5) | |
project(LedTest CXX C ASM) | |
add_definitions(-DSTM32F4) | |
add_definitions(-DSTM32F405xx) | |
add_definitions(-DUSE_HAL_DRIVER) | |
# List your application specific source files here, include header files! | |
file(GLOB_RECURSE USER_SOURCES |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>SVG Test</title> | |
</head> | |
<body> | |
<svg id="s" version="1.1" | |
width="300" height="300" | |
xmlns="http://www.w3.org/2000/svg"> |
See my DASH-IF presentation from October, 2014: | |
https://s3.amazonaws.com/misc.meltymedia/dash-if-reveal/index.html#/ | |
1. encode multiple bitrates with keyframe alignment: | |
ffmpeg -i ~/Movies/5D2_Portrait.MOV -s 1280x720 -c:v libx264 -b:v 1450k -bf 2 \ | |
-g 90 -sc_threshold 0 -c:a aac -strict experimental -b:a 96k -ar 32000 out.mp4 | |
My input was 30 fps = 3000 ms. If it were 29.97, then a GOP size of 90 frames will yield a base segment | |
size of 3003 milliseconds. You can make the segment size some multiple of this, e.g.: 6006, 9009, 12012. |
#!/usr/bin/env python | |
# openscad_surface_export.py | |
# by Rob Antonishen | |
# http://ffaat.pointclark.net | |
# | |
# Version 1.2 (20141214) | |
# | |
# Description | |
# File save handler for openscad dat format |
import requests | |
import urllib | |
class Cleverbot(object): | |
"""Handles a conversation with Cleverbot. | |
Example usage: | |
>>> from cleverbot import Cleverbot | |
>>> cb = Cleverbot('my-api-key') | |
>>> cb.ask("Hi. How are you?") |