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
import functools | |
import numpy as np | |
class DataServiceManager: | |
def __init__(self) -> None: | |
pass | |
def service(self, **options): | |
print('service() called') |
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
# Ours, no blit, plot a timeseries | |
from datetime import datetime | |
from matplotlib import pyplot | |
from matplotlib.animation import FuncAnimation | |
from random import randrange | |
import numpy as np | |
n_pts = 256 | |
x_data = np.linspace(0, n_pts-1, n_pts) | |
y_data = np.zeros(n_pts) |
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
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor | |
This is a temporary script file. | |
""" | |
# Install OpenCV with | |
# pip install opencv-python |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86_64 4.4.35-33.55.amzn1.x86_64 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_PERF_EVENTS_INTEL_UNCORE=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" |
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
// | |
// PhotoLibraryAssetManager.swift | |
// Koowalla | |
// | |
// Created by Bryan Cattle on 8/22/16. | |
// Copyright © 2016 Koowalla, Inc. All rights reserved. | |
// | |
import UIKit | |
import Bolts |
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
Analysis of sampling carthage (pid 73423) every 1 millisecond | |
Process: carthage [73423] | |
Path: /usr/local/Cellar/carthage/0.10/bin/carthage | |
Load Address: 0x102c3d000 | |
Identifier: carthage | |
Version: 0 | |
Code Type: X86-64 | |
Parent Process: bash [39865] | |
Date/Time: 2015-11-18 13:49:51.562 -0800 |
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
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
alias ls='ls -G' | |
alias ll='ls -Gl' | |
alias la='ls -Ga' | |
alias grep='grep --color' |
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
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
alias ls='ls -G' | |
alias ll='ls -Gl' | |
alias la='ls -Ga' | |
alias grep='grep --color' | |
source $HOME/z.sh |
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
Bryans-Mac-2:~ bryan$ mediastreamvalidator https://s3-us-west-2.amazonaws.com/co.koowalla.oregon.video.published/fc909588-4cbc-4882-9f1c-6d879cd35dd4/160/hls.m3u8 | |
mediastreamvalidator: Beta Version 1.1(140602) | |
Validating master playlist https://s3-us-west-2.amazonaws.com/co.koowalla.oregon.video.published/fc909588-4cbc-4882-9f1c-6d879cd35dd4/160/hls.m3u8 | |
-------------------------------------------------------------------------------- | |
https://s3-us-west-2.amazonaws.com/co.koowalla.oregon.video.published/fc909588-4cbc-4882-9f1c-6d879cd35dd4/160/hls.m3u8 | |
-------------------------------------------------------------------------------- | |
Playlist Syntax: |
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
TWTRComposer *twitterComposer = [TWTRComposer new]; | |
[twitterComposer setText:[NSString stringWithFormat:@"%@ #koowalla", self.taglineField.text]]; | |
// TODO: this needs to be cropped to portrait | |
[twitterComposer setImage:self.videoThumbnail.image]; | |
[twitterComposer setURL:[NSURL URLWithString:[videoUpload getShareURL]]]; | |
if (twitterComposer != nil) { | |
[twitterComposer showFromViewController:self completion:^(TWTRComposerResult result){ // <- Attempt to present Exception here | |
// Main queue? | |
NSLog(@""); | |
}]; |
NewerOlder