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
export const ONE_MILLISECOND: number = 1; | |
export const ONE_SECOND: number = ONE_MILLISECOND * 1000; | |
export const ONE_MINUTE: number = ONE_SECOND * 60; | |
export const ONE_HOUR: number = ONE_MINUTE * 60; | |
Date.prototype.getUTCTime = getUTCTime; | |
Date.prototype.isEqual = isEqual; | |
Date.prototype.isBefore = isBefore; | |
Date.prototype.isAfter = isAfter; |
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 java.util.Collection; | |
import com.graphhopper.jsprit.core.algorithm.recreate.listener.InsertionStartsListener; | |
import com.graphhopper.jsprit.core.algorithm.recreate.listener.JobInsertedListener; | |
import com.graphhopper.jsprit.core.algorithm.state.StateId; | |
import com.graphhopper.jsprit.core.algorithm.state.StateManager; | |
import com.graphhopper.jsprit.core.algorithm.state.StateUpdater; | |
import com.graphhopper.jsprit.core.problem.Capacity; | |
import com.graphhopper.jsprit.core.problem.Location; | |
import com.graphhopper.jsprit.core.problem.job.Delivery; |
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
Homebrew build logs for denji/nginx/nginx-full on macOS 10.15.4 | |
Build date: 2020-05-03 12:47:54 |
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 NonFungibleToken from 0xNONFUNGIBLETOKEN | |
pub contract NFTMetaDataExample: NonFungibleToken { | |
// The immutable data for an NFT, this is the actual NFT | |
// | |
pub resource NFT: NonFungibleToken.INFT { | |
pub let id: UInt64 | |
pub let metadata: {String: TenantService.MetadataField} |
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 NonFungibleToken from 0xNONFUNGIBLETOKEN | |
pub contract TenantService: NonFungibleToken { | |
// basic data about the tenant | |
pub let version: UInt32 | |
pub let name: String | |
pub let description: String | |
pub var closed: Bool |
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
pub contract interface NonFungibleToken { | |
pub var totalSupply: UInt64 | |
pub event ContractInitialized() | |
pub event Withdraw(id: UInt64, from: Address?) | |
pub event Deposit(id: UInt64, to: Address?) | |
pub resource interface INFT { | |
pub let id: UInt64 |
OlderNewer