This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Super quick-and-dirty php script to create a todo item in Things wheneven you save/star an item in Slack. | |
// Put this on webserver, and create a Slack app with a "star added" event subscription. See also | |
// https://nordicapis.com/a-beginners-guide-to-building-a-slack-bot-in-php/ | |
// Stuff to fill in; get history key via: | |
// curl -H 'Authorization: Password YourPasswordHere' -v https://cloud.culturedcode.com/version/1/account/Your@Email.Here/own-history-key | |
$thingsHistoryKey = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; // Required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
EXCEPTIONS=( | |
', ' | |
'animations:' | |
'animateChanges:' | |
'changes:' | |
'completion:' | |
'completionBlock:' | |
'CompletionBlock:' | |
'performAnimations:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = "TheAmazingAudioEngine" | |
s.version = "1.5.7" | |
s.summary = "Core Audio, Cordially: A sophisticated framework for iOS audio applications, built so you don't have to." | |
s.homepage = "http://theamazingaudioengine.com" | |
s.license = 'zlib' | |
s.author = { "Michael Tyson" => "michael@atastypixel.com" } | |
s.source = { :git => "https://github.com/TheAmazingAudioEngine/TheAmazingAudioEngine.git", :tag => "1.5.7" } | |
s.ios.deployment_target = '7.0' | |
s.osx.deployment_target = '10.9' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/* | |
Usage (at your own risk!): | |
1. Work on screenshots (try this Sketch template: http://bit.ly/1G9xstD) | |
2. Setup: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import gi | |
import sys | |
gi.require_version('Gst', '1.0') | |
from gi.repository import GObject, Gst | |
import cairo | |
class Renderer(): | |
OVERLAY_FRAME_WIDTH = 320 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Message handler fuction | |
*/ | |
typedef long (*TPAudioControllerMessageHandler) (TPAudioController *THIS, long parameter1, long parameter2, long parameter3, void *ioOpaquePtr); | |
/*! | |
* Message | |
*/ | |
typedef struct _message_t { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Some types: | |
typedef struct _message_t { | |
int action; | |
int kind; | |
long parameter1; | |
long parameter2; | |
long parameter3; | |
void *response_ptr; | |
void (^response_block)(struct _message_t message, long response); |