Skip to content

Instantly share code, notes, and snippets.

View binoculars's full-sized avatar

Barrett Harber binoculars

View GitHub Profile
[ 14%] Building CXX object CMakeFiles/yuv.dir/third_party/libyuv/source/scale_win.cc.o
/usr/bin/c++ -I/tmp/aom -I/tmp/aom/build_tmp -I/tmp/aom/apps -I/tmp/aom/common -I/tmp/aom/examples -I/tmp/aom/stats -I/tmp/aom/third_party/libyuv/include -O3 -DNDEBUG -std=c++11 -Wall -Wdisabled-optimization -Wextra -Wextra-semi -Wfloat-conversion -Wformat=2 -Wlogical-op -Wpointer-arith -Wsign-compare -Wtype-limits -Wuninitialized -Wunused -Wvla -Wstack-usage=240000 -Wno-psabi -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -fPIC -Wno-unused-parameter -MD -MT CMakeFiles/yuv.dir/third_party/libyuv/source/scale_win.cc.o -MF CMakeFiles/yuv.dir/third_party/libyuv/source/scale_win.cc.o.d -o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_win.cc.o -c /tmp/aom/third_party/libyuv/source/scale_win.cc
In file included from /tmp/aom/av1/encoder/arm/neon/quantize_neon.c:12:
/tmp/aom/aom_dsp/arm/mem_neon.h: In function 'load_tran_low_to_s16q':
/usr/lib/gcc/armv6-alpine-linux-musl
@binoculars
binoculars / config.log
Created October 18, 2022 23:32
FFmpeg build with libbluray on alpine edge
#231 21.31 gcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -fno-strict-overflow -fstack-protector-all -fPIE -fopenmp -std=c11 -fomit-frame-pointer -fPIC -pthread -I/usr/local/include -I/usr/local/include/libvmaf -pthread -I/usr/local/include -I/usr/include/libpng16 -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/local/include -I/usr/local/include/libxml2 -DLIBXML_STATIC -I/usr/include/freetype2 -I/usr/include/libpng16 -L/usr/local/lib -L/usr/local/lib -L/lib -L/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -c -o /tmp/ffconf.XXAOJKph/test.o /tmp/ffconf.XXAOJKph/test.c
#231 21.31 gcc -fopenmp -Wl,-z,stack-size=2097152 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,noexecstack -fPIE -static-pie -I/usr/local/include -I/usr/local/include/libxml2 -DLIBXML_STATIC -I/usr/include/
@binoculars
binoculars / components.my-component.js
Created September 14, 2018 13:42
Component Hash / Yield
import Ember from 'ember';
export default Ember.Component.extend({
});

Keybase proof

I hereby claim:

  • I am binoculars on github.
  • I am binoculars (https://keybase.io/binoculars) on keybase.
  • I have a public key ASB_epwQmk5dczX7jbbFq9LEHpQU4VAHW0bFWXpJHvqW_go

To claim this, I am signing this object:

@binoculars
binoculars / quick-argument-parser.js
Created August 5, 2016 16:57
Node.js quick CLI arguments parser for key-value pair arguments
/**
* Takes arguments in the form of --arg-name value and puts them into an object (argMap).
* Argument keys begin with double hyphens and additional hyphens are converted to camelCase.
*
* E.g. `node quick-argument-parser.js --test-arg1 'value1' --test-arg2 'value2'` will create argMap with the value:
* ```
* {
* testArg1: 'value1',
* testArg2: 'value2'
* }
'use strict'; // avoid ambiguity and sloppy errors
/**
* Tests wether or not a given string is a Palindrome
* @param {string} stringToTest - the string to test.
* @returns {boolean}
*/
function isPalindrome(stringToTest) {
var start = 0;
@binoculars
binoculars / terminal.output
Created February 15, 2016 20:18
aws-lambda-ffmpeg installation
➜ ~ git clone https://github.com/binoculars/aws-lambda-ffmpeg.git
Cloning into 'aws-lambda-ffmpeg'...
remote: Counting objects: 137, done.
remote: Total 137 (delta 0), reused 0 (delta 0), pack-reused 137
Receiving objects: 100% (137/137), 179.76 KiB | 0 bytes/s, done.
Resolving deltas: 100% (76/76), done.
Checking connectivity... done.
➜ ~ cd aws-lambda-ffmpeg
➜ aws-lambda-ffmpeg git:(master) npm i
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
@binoculars
binoculars / awsm-s3tokenvendor_frontend.html
Last active November 26, 2015 20:02
An example front-end page for binoculars/awsm-s3tokenvendor
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>awsm-s3tokenvendor Example</title>
</head>
<body>
<input id="fileInput" type="file">
@binoculars
binoculars / app.js
Last active August 29, 2015 14:17
express index route for app-router
var express = require('express');
var path = require('path');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var app = express();
// view engine setup
app.set('views', path.join(__dirname, 'views'));