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
/target | |
**/*.rs.bk | |
Cargo.lock |
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
// | |
// SettingsView.swift | |
// flysight-grapher | |
// | |
// Created by richö butts on 7/11/19. | |
// Copyright © 2019 richö butts. All rights reserved. | |
// | |
import Foundation | |
import SwiftUI |
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
// | |
// ViewController.swift | |
// test | |
// | |
// Created by richö butts on 7/8/19. | |
// Copyright © 2019 richö butts. All rights reserved. | |
// | |
import UIKit | |
import MobileCoreServices |
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
// | |
// FilePickerPresentedView.swift | |
// flysight-grapher | |
// | |
// Created by richö butts on 7/8/19. | |
// Copyright © 2019 richö butts. All rights reserved. | |
// | |
import Foundation | |
import SwiftUI |
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
use std::env; | |
use std::io::{self, Write}; | |
use std::process; | |
fn embiggen_word(word: String) -> String { | |
word.chars().map(|c| { | |
match c { | |
'!' => ":exclamation:".to_string(), | |
'?' => ":question:".to_string(), | |
'0' => ":zero:".to_string(), |
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 | |
# -*- coding: utf-8 -*- | |
import sys | |
import string | |
replacements = { | |
'!': ':exclamation:', | |
'?': ':question:', | |
'0': ':zero:', | |
'1': ':one:', |
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
Compiling archiver v0.1.0 (file:///Users/richo/code/ext/archiver) | |
error[E0495]: cannot infer an appropriate lifetime for lifetime parameter in generic type due to conflicting requirements | |
--> src/ptp_device.rs:57:5 | |
| | |
57 | fn next(&mut self) -> Option<GoproFile> { | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
note: first, the lifetime cannot outlive the lifetime 'c as defined on the impl at 54:1... | |
--> src/ptp_device.rs:54:1 | |
| |
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
error[E0621]: explicit lifetime required in the type of `conn` | |
--> src/ptp_device.rs:24:19 | |
| | |
22 | pub fn reader<'a>(self, conn: &'a mut GoproConnection) -> GoproFileReader<'a> { | |
| ---- consider changing the type of `conn` to `&'a mut ptp_device::GoproConnection<'a>` | |
23 | GoproFileReader { | |
24 | conn: conn, | |
| ^^^^ lifetime `'a` 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
import sys | |
import string | |
replacements = { | |
'!': ':exclamation:', | |
'?': ':question:', | |
'0': ':zero:', | |
'1': ':one:', | |
'2': ':two:', | |
'3': ':three:', |
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 os | |
from tusclient import client | |
import json | |
import requests | |
from flysight_ma |