This is a series of tutorials that will walkthrough:
- Obtaining Consent and Generating PDF
- Creating a Heart Rate Task + Heart Rate with Apple Watch
- Displaying the Results as a chart + Send via HTTP
This is a series of tutorials that will walkthrough:
#!/usr/bin/env bash | |
# SOURCES: | |
# https://gist.github.com/pirafrank/18d62c062e2806c1d183 | |
# SEE THIS EXCELLENT SITE IF GIST FAILS: | |
# https://office-reset.com | |
# activate verbose standard output (stdout) | |
set -v |
//: Playground - noun: a place where people can play | |
import UIKit | |
import PlaygroundSupport | |
extension String { | |
func getUnicodeCodePoints() -> [String] { | |
return unicodeScalars.map { "U+" + String($0.value, radix: 16, uppercase: true) } | |
} | |
} |
// | |
// NetworkManager.swift | |
// | |
// Created by Ryan Daulton on 8/15/17. | |
// Copyright © 2017 Ryan Daulton. All rights reserved. | |
// | |
import Foundation | |
import Alamofire | |
import SwiftyJSON |
/* | |
* SEP firmware split tool | |
* | |
* Copyright (c) 2017 xerub | |
*/ | |
#include <fcntl.h> | |
#include <stddef.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
These instructions should work for Streisand as well for others VPN providers (Streisand is a Software that automatically configures a VPS online server with OpenVPN and other VPN/Proxy Softwares in order to have a private VPN Server)
These instructions are for getting an OpenWrt Based Router working as OpenVPN Client (should work for LEDE, Gargoyle and another distributions). Computers connected to Lan Ports of the OpenWrt Router will navigate through the Internet connection of the OpenVPN Server (in this case the Streisand one previously set up) you need a working Router with OpenWrt based firmware flashed on it (LEDE or eko.one.pl could also work) steps works well on Chaos Calmer 15.05 or 15.05.1.
telnet 192.168.1.1
(OpenWrt Router) and set up a password using passwd
You can skip this if you already have a password and can connect using ssh.
import Foundation | |
enum API { | |
static let baseURL = URL(string: "https://cocoacasts.com")! | |
} | |
class NetworkManager { |
You can see it anywhere. It's very popular in home screen, gallery screen. See how to do that.
Is Initial View Controller
HeaderCell
. Set cell's height to 400.APP="MyApp" | |
CONSTRUCT=xcodebuild -workspace $(APP).xcworkspace -scheme $(APP) clean | |
install_deps: | |
pod install | |
create_config: | |
swift package fetch | |
swift package generate-xcodeproj | |
wipe: | |
rm -rf .build $(APP).xcodeproj $(APP).xcworkspace Package.pins Pods Podfile.lock |
// The issue with sectionHeadersPinToVisibleBounds and sectionFootersPinToVisibleBounds is that they do not pin | |
// first header and last footer when bouncing. This layout subclass fixes that. | |
class StickyLayout: UICollectionViewFlowLayout { | |
override init() { | |
super.init() | |
self.sectionFootersPinToVisibleBounds = true | |
self.sectionHeadersPinToVisibleBounds = true | |
} |