This file contains hidden or 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
| # ASCII Unit separator, purpose is to separate subrecords, etc... | |
| set __dict_US \31 | |
| # Groks name[key] and sets varname and key variables | |
| function dict._parsename -S -a raw | |
| set -l data (string match -r '(.+)\[(.+)\]' $raw) | |
| if [ (count $data) -lt 3 ] | |
| echo "Invalid dictionary syntax '$raw'" | |
| return 1 | |
| else |
This file contains hidden or 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
| # AJ Caldwell - tomatrow@gmail.com | |
| function codestream -d "Twitch streaming customized for coding (mostly reading documentation)." | |
| # Input configuration. | |
| set IN_VIDEO_ID "1" # The main screen we code from. | |
| set IN_AUDIO_ID "0" # The Twitch-Input we set previously. | |
| set SOURCE "$IN_VIDEO_ID:$IN_AUDIO_ID" # avfoundation assigns numbers to video/audio devices. | |
| set INRES "1440x900" # input resolution for a macbook air | |
| set IN_FPS "10" # Our rate of video capture. |
This file contains hidden or 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
| // | |
| // BSBTopping.m | |
| // BaltimoreSnowball | |
| // | |
| // Created by AJ Caldwell on 1/11/14. | |
| // Copyright (c) 2014 AJ Caldwell. All rights reserved. | |
| // | |
| #import "BSBTopping.h" | |
| #import "BSBConstants.h" |
NewerOlder