Skip to content

Instantly share code, notes, and snippets.

https://drive.google.com/file/d/1Mu16NjB8-mc9W_mxGFy05i5J0QFs5dMP/view?usp=sharing
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import Home from './pages/Home';
import PageOne from './pages/PageOne';
import PageTwo from './pages/PageTwo';
import PageThree from './pages/PageThree';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import {
StatusBar
pragma solidity >=0.4.21 <0.7.0;
/*
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
pragma solidity >=0.4.21 <0.7.0;
import "./TradableERC.sol";
contract TestCon is TradeableERC721Token {
constructor(address _proxyRegistryAddress) TradeableERC721Token("EggGame", "Egg", _proxyRegistryAddress) public { }
uint storedData;
function set(uint x) public {
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
// drag tutorial https://www.youtube.com/watch?v=p7akGCRgBLA
public class MouseManager : MonoBehaviour {
private Vector2 initialPos;
private Vector2 mousePointer;
export enum Faction {
Horde = "horde",
Mechanical = "mechanical",
Crawler = "crawler",
Slimy = "slimy",
Nature = "nature",
Kitty = "kitty",
Universal = "universal",
Flying = "flying",
Humanoid = "humanoid",
export enum Faction {
Horde = "horde",
Mechanical = "mechanical",
Crawler = "crawler",
Slimy = "slimy",
Nature = "nature",
Kitty = "kitty",
Universal = "universal",
Flying = "flying",
Humanoid = "humanoid",
var a = ['S', 'O', 'R', 'T', 'E', 'X', 'A', 'M', 'P', 'L', 'E'];
function qSort(from, to) {
if (from >= to) {
return;
}
var pivot = a[to];
var counter = from;
for (var i = from; i < to; i++) {
var a = [];
function generateRandomData(limit) {
const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
for (let i = 0; i < limit; i++) {
let item = alphabet[Math.floor(Math.random() * alphabet.length)];
a.push(item);
}
}
generateRandomData(10000);
// var a = ['S', 'O', 'R', 'T', 'E', 'X', 'A', 'M', 'P', 'L', 'E'];
var a = [];
function generateRandomData(limit) {
const alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
for (let i = 0; i < limit; i++) {
let item = alphabet[Math.floor(Math.random() * alphabet.length)];
a.push(item);
}
}