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 |
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
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
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 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
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
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 has been truncated, but you can view the full file.
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
INFO global: Vagrant version: 2.2.3 | |
INFO global: Ruby version: 2.4.4 | |
INFO global: RubyGems version: 2.6.14.1 | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.3/gems/vagrant-2.2.3/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_LOG="debug" | |
WARN global: resolv replacement has not been enabled! | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.3/gems/vagrant-2.2.3/plugins/synced_folders/nfs/plugin.rb |
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
pragma solidity ^0.4.24; | |
import "./EtherHiloInterfaces.sol"; | |
import "./Ownable.sol"; | |
import "oraclize-api/usingOraclize.sol"; | |
/// @title EtherHiLoRandom | |
/// @dev the contract than handles the EtherHiLo random numbers | |
contract EtherHiLoRandom is usingOraclize, Ownable, EtherHiLoRandomNumberGenerator { |
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 class BaseRxComponent | |
implements OnDestroy { | |
private subscription: Subscription = new Subscription(); | |
protected manage(teardown: TeardownLogic): Subscription { | |
return this.subscription.add(teardown); | |
} |
NewerOlder