Ones you have generated, downloaded and extracted the certificate zip, you will find 2 files in it:
gd_bundle-g2-g1.crt
Intermediate CertificateRANDOM_NUM.crt
Your SSL Certificate
# During space-race-1 we tuned the dealbots frequency to not overwhelm the miners | |
# With space-race-2 underway your miner will be negotiating deals with a number of | |
# clients, who lack coordination among themselves. Therefore it is *very strongly* | |
# recommended to tune your miner parameters based on the sealing capacity you already | |
# known from space-race-1 | |
# | |
# The numbers below are the bare minimum for a single-box, non-gpu miner, and are | |
# very conservative safe numbers. No doubt your miner can do better so you can bring | |
# these numbers up. But! Do not dial them too high: if you lose sectors due to an | |
# unresponsive miner, your clients will be... sad. |
import Foundation | |
struct DateComponentUnitFormatter { | |
private struct DateComponentUnitFormat { | |
let unit: Calendar.Component | |
let singularUnit: String | |
let pluralUnit: String | |
// | |
// GIF2MP4.swift | |
// | |
// Created by PowHu Yang on 2020/4/24. | |
// Copyright © 2020 PowHu Yang. All rights reserved. | |
// | |
/* How to use | |
let data = try! Data(contentsOf: Bundle.main.url(forResource: "gif", withExtension: "gif")!) | |
let tempUrl = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("temp.mp4") |
#!/bin/sh | |
# ================================================ | |
# Description: Run compass watch in background | |
# GistID: 965f3e1a0876592db33f | |
# GistURL https://gist.github.com/allex/965f3e1a0876592db33f | |
# Author: Allex Wang (allex.wxn@gmail.com) | |
# Last Modified: Tue Dec 09, 2014 12:12PM | |
# ================================================ |