This pre-request script uses environment variables to fetch an auth JWT.
This Auth JWT is used in the header of all requests when testing API endpoints that use Firebase for authorization.
\documentclass[11pt, oneside]{article} | |
\usepackage[margin=0.5in]{geometry} | |
\geometry{letterpaper} | |
\usepackage[parfill]{parskip} | |
\usepackage{graphicx} | |
\usepackage{amssymb} | |
\usepackage{xcolor} | |
\pagecolor{white} | |
\usepackage[colorlinks = true, linkcolor = blue, urlcolor = blue]{hyperref} | |
\pagestyle{empty} |
// | |
// ContentView.swift | |
// DualScrollView | |
// | |
// Created by Magesh Sridhar on 1/28/23. | |
// | |
import SwiftUI | |
import SwiftUISnappingScrollView | |
import Foundation |
// | |
// LiveKnobSwiftUI.swift | |
// ControlBud-SwiftUI | |
// | |
// Created by Cem Olcay on 11/3/21. | |
// | |
import UIKit | |
import SwiftUI | |
import LiveKnob |
// | |
// LiveFaderSwiftUI.swift | |
// ControlBud-SwiftUI | |
// | |
// Created by Cem Olcay on 11/4/21. | |
// | |
import UIKit | |
import SwiftUI | |
import LiveFader |
#!/usr/bin/env bash | |
set -eu | |
failed=0 | |
test_pattern='\b(fdescribe|fit|fcontext|xdescribe|xit|xcontext)\b' | |
if git diff-index -p -M --cached HEAD -- '*Tests.swift' '*Specs.swift' | grep '^+' | egrep "$test_pattern" >/dev/null 2>&1 | |
then | |
echo "COMMIT REJECTED for fdescribe/fit/fcontext/xdescribe/xit/xcontext." >&2 | |
echo "Remove focused and disabled tests before committing." >&2 |
import UIKit | |
final class BubbleTriangleView: UIView { | |
private var viewBorderWidth: CGFloat = 3 | |
private var radius: CGFloat = 15 | |
private var viewFillColor: UIColor = .supAzure | |
private var viewBorderColor: UIColor = .white | |
// MIT License | |
// | |
// Copyright (c) 2020 Simon Lightfoot | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
import UIKit | |
protocol WordsFlexViewDelegate: class { | |
func didSelectWord(word: String, intId: Int, phraseView: WordsFlexView) | |
} | |
class WordsFlexView: UIView { | |
enum WordsFlexViewType { | |
case selectable |
import logging | |
import os | |
from typing import List | |
import gpxpy | |
# Use | |
# Put the GPX files you want to parse in a folder 'gpx_files' next to this file | |
# Execute the file in a terminal: 'python3 parse_gpx.py' | |
# The output GPX files will be in a folder called 'parsed_files' |