Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
config.yaml
. For example/** | |
* Render CyberBrokers | |
* Using the on-chain Broker renderer | |
**/ | |
// Change these variables as you see fit | |
const WEB3_PROVIDER_URL = "http://0.0.0.0:8545"; | |
const TOKEN_ID = 0; | |
const SVG_SAVE_FILE_NAME = `${__dirname}/CyberBroker_${TOKEN_ID}.svg`; |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/* | |
This code is untested, feel free to use it, but do so at your own risk | |
*/ | |
contract Random { | |
uint256[] tokens = new uint256[](100); |
xMin = 0
xMax = 22
yMin = -1
yMax = 14
1
where you want to draw a pixel, then paste the result into the y =
text field on the website.### BASE ### | |
FROM node:12-buster-slim AS base | |
RUN apt-get update && apt-get install --no-install-recommends --yes openssl | |
WORKDIR /app | |
### BUILDER ### | |
FROM base AS builder |
import UIKit | |
struct Action { | |
let title: String | |
let style: UIAlertAction.Style | |
let action: () -> Void | |
} | |
extension Action { | |
static func `default`(_ title: String, action: @escaping () -> Void) -> [Action] { |
// path to documents directory to save our usdc file | |
NSString* usdcPath = [documentsDirectory stringByAppendingPathComponent:@"usdcExample.usdc"]; | |
NSURL *usdcUrl = [NSURL fileURLWithPath: usdcPath]; | |
// path to documents directory to save our final usdz file | |
NSString* usdzPath = [documentsDirectory stringByAppendingPathComponent:@"usdzExample.usdz"]; | |
NSURL *usdzUrl = [NSURL fileURLWithPath:usdzPath]; | |
// load the .obj file at filePath as an MDLAsset | |
NSURL *url = [NSURL fileURLWithPath:filePath]; |
Onavo Protect is a free and popular VPN owned by Facebook.
Facebook ostensibly uses Onavo to monitor user network traffic, specifically to gain insight into what is and isn't working in competing apps. That kind of sucks if you're building a consumer app and aren't planning on selling it to Facebook.
Detecting if the people who use your app are also using Onavo and encouraging them to disable it might be helpful to you.
Here is some Swift code that does that:
func checkForBadIP (_ ip: String) -> Bool {