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
https://drive.google.com/file/d/1Mu16NjB8-mc9W_mxGFy05i5J0QFs5dMP/view?usp=sharing |
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 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 |
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.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) { |
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.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 { |
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
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; |
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 enum Faction { | |
Horde = "horde", | |
Mechanical = "mechanical", | |
Crawler = "crawler", | |
Slimy = "slimy", | |
Nature = "nature", | |
Kitty = "kitty", | |
Universal = "universal", | |
Flying = "flying", | |
Humanoid = "humanoid", |
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 enum Faction { | |
Horde = "horde", | |
Mechanical = "mechanical", | |
Crawler = "crawler", | |
Slimy = "slimy", | |
Nature = "nature", | |
Kitty = "kitty", | |
Universal = "universal", | |
Flying = "flying", | |
Humanoid = "humanoid", |
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
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++) { |
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
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); |
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
// 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); | |
} | |
} |
NewerOlder