This file contains hidden or 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 { FC, ReactNode } from 'react'; | |
import { ConnectionProvider, WalletProvider } from '@solana/wallet-adapter-react' | |
import { WalletModalProvider } from "@solana/wallet-adapter-react-ui"; | |
import * as web3 from '@solana/web3.js' | |
import * as walletAdapterWallets from '@solana/wallet-adapter-wallets'; | |
require('@solana/wallet-adapter-react-ui/styles.css'); | |
const WalletContextProvider: FC<{ children: ReactNode }> = ({ children }) => { | |
const endpoint = web3.clusterApiUrl('devnet') | |
const wallets = [new walletAdapterWallets.PhantomWalletAdapter()] |
This file contains hidden or 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
// h/t: https://github.com/facebook/create-react-app/issues/12219#issuecomment-1085567299 | |
import { createRoot } from 'react-dom/client'; | |
import { BrowserRouter } from 'react-router-dom'; | |
import { StrictMode } from 'react'; | |
import App from './App'; | |
import reportWebVitals from './reportWebVitals'; | |
import './index.css'; | |
const container = document.getElementById('root'); |
This file contains hidden or 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
<p>Observe the Console.</p> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta | |
name="viewport" | |
content="width=device-width, initial-scale=1, shrink-to-fit=no" | |
/> | |
<meta name="theme-color" content="#000000" /> | |
<!-- |
This file contains hidden or 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
# Author: Raghavendra Saralaya | |
waiting_users = [{"username": "lyingOrange6", "skill": 62, "user_level": 2, "waiting_time": 4}, {"username": "betrayedSnipe6", "skill": 25, "user_level": 4, "waiting_time": 32}, {"username": "morbidDove1", "skill": 92, "user_level": 0, "waiting_time": 47}, {"username": "decimalCheese8", "skill": 94, "user_level": 4, "waiting_time": 82}, {"username": "lazySnail8", "skill": 29, "user_level": 2, "waiting_time": 47}, {"username": "shamefulBuzzard5", "skill": 72, "user_level": 2, "waiting_time": 51}, {"username": "giddyBuck3", "skill": 71, "user_level": 1, "waiting_time": 30}, {"username": "panickyToucan5", "skill": 23, "user_level": 2, "waiting_time": 62}, {"username": "cynicalCordial3", "skill": 26, "user_level": 2, "waiting_time": 15}, {"username": "zestyMagpie5", "skill": 26, "user_level": 2, "waiting_time": 46}, {"username": "dearEggs6", "skill": 47, "user_level": 2, "waiting_time": 88}, {"username": "grudgingPup3", "skill": 72, "user_level": 4, "waiting_time": 0}, {"username": |
This file contains hidden or 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
// Define main function | |
void main() { | |
// 05. MAPS ============================ | |
print('\n05. MAPS: \n------------------------------'); | |
// Maps are like Python Dictionaries | |
Map student = { | |
'name': 'Naruto', | |
'age': 21, |
This file contains hidden or 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
// Define main function | |
void main() { | |
// 04. CLASSES ============================ | |
print('\n04. CLASSES: \n------------------------------'); | |
User userOne = User('ancilla',30); | |
print(userOne.username); | |
print(userOne.age); | |
This file contains hidden or 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
// Define main function | |
void main() { | |
// 00. HELLO WORLD ============================ | |
// Hello World Program | |
print('hello world'); | |
// 01. DATA TYPES ============================ | |
print('\n01. DATA TYPES: \n------------------------------'); |
This file contains hidden or 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
--- | |
backend: | |
name: git-gateway | |
branch: master | |
publish_mode: editorial_workflow | |
media_folder: images/uploads | |
site_url: https://nmc-wme.netlify.com | |
collections: | |
- name: pages | |
label: Pages |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder