Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <random> | |
namespace sftrabbit { | |
template <typename RealType = double> | |
class beta_distribution | |
{ |
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
BBEdit / BBEdit-Lite / TextWrangler Regular Expression Guide Modified: 2018/08/10 01:19 | |
———————————————————————————————————————————————————————————————————————————————————————————————————— | |
NOTES: | |
The PCRE engine (Perl Compatible Regular Expressions) is what BBEdit and TextWrangler use. | |
Items I'm unsure of are marked '# PCRE?'. The list while fairly comprehensive is not complete. |
(* | |
* Finder Open Atom Here - v1.0 - 6/12/2014 | |
* http://shauvik.com/ | |
* | |
* Copyright (c) 2014 Shauvik Roy Choudhary | |
* Dual licensed under the MIT and GPL licenses. | |
* Based on Open iTerm Here script by Ben Alman | |
*) | |
tell application "Finder" |
// C port of http://ldesoras.free.fr/prod.html#src_hiir | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <math.h> | |
#include <errno.h> | |
const double PI = 3.1415926535897932384626433832795; | |
void | |
compute_transition_param(double *kp, double *qp, double transition) |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control
and E-Tag
headers, etc.), minification, etc.
// | |
// RecordAudio.swift | |
// | |
// This is a Swift class (updated for Swift 5) | |
// that uses the iOS RemoteIO Audio Unit | |
// to record audio input samples, | |
// (should be instantiated as a singleton object.) | |
// | |
// Created by Ronald Nicholson on 10/21/16. | |
// Copyright © 2017,2019 HotPaw Productions. All rights reserved. |
(Based on info from Peter Downs' gitub but with modified behavior to open a new terminal window for each invocation instead of reusing an already open window.)
The following three ways to launch an iTerm2 window from Finder have been tested on iTerm2 version 3+ running on macOS Mojave+.
pdanford - April 2020
#include <GLFW/glfw3.h> | |
#include <yoga/Yoga.h> | |
#include <stdlib.h> | |
int main(void) | |
{ | |
GLFWwindow* window; | |
/* Initialize the library */ | |
if (!glfwInit()) |