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 random | |
total_players = 0 | |
total_rolls = 0 | |
seed = int(input("Please enter a seed value: ")) | |
random.seed(seed) | |
play_again = 'y' | |
while play_again == 'y': |
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 { View, Text } from "react-native"; | |
import { Link } from "expo-router"; | |
import { styles } from "../styles/styles"; | |
export default function Page() { | |
return ( | |
<View style={styles.container}> | |
<View> | |
<Text style={styles.subtitle}>app/index.tsx</Text> | |
</View> |
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 { Tabs } from "expo-router"; | |
export default function Layout() { | |
return ( | |
<Tabs> | |
<Tabs.Screen | |
name="user" | |
options={{ | |
headerShown: false, | |
tabBarLabel: "Users", |
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 { View, Text } from "react-native"; | |
import { styles } from "../../../styles/styles"; | |
import { Link } from "expo-router"; | |
export default function Page() { | |
return ( | |
<View style={styles.container}> | |
<View> | |
<Text style={styles.subtitle}>app/(drawer)/profile.tsx</Text> | |
</View> |
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 { View, Text } from "react-native"; | |
import { styles } from "../../../styles/styles"; | |
import { Link } from "expo-router"; | |
export default function Page() { | |
return ( | |
<View style={styles.container}> | |
<View> | |
<Text style={styles.subtitle}>app/(drawer)/favorites.tsx</Text> | |
</View> |
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 { View, Text } from "react-native"; | |
import { styles } from "../../../styles/styles"; | |
import { Link } from "expo-router"; | |
export default function Page() { | |
return ( | |
<View style={styles.container}> | |
<View> | |
<Text style={styles.subtitle}>app/(drawer)/dashboard.tsx</Text> | |
</View> |
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 { Drawer } from "expo-router/drawer"; | |
import { | |
Button, | |
useWindowDimensions, | |
} from "react-native"; | |
import { useNavigation } from "expo-router"; | |
import { DrawerActions } from "@react-navigation/native"; | |
export default function Layout() { | |
const dimensions = useWindowDimensions(); |
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 io | |
import os | |
import hashlib | |
import pandas as pd | |
import requests | |
from bs4 import BeautifulSoup | |
from PIL import Image | |
from IPython.display import Image as IPImage, display | |
from pathlib import Path | |
from google.colab import drive |
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
//app/_layout.tsx | |
import { Stack, router } from "expo-router"; | |
import { Button } from "react-native"; | |
export default function Layout() { | |
return ( | |
<Stack> | |
<Stack.Screen name="index" options={{ headerShown: false }} /> | |
<Stack.Screen | |
name="modal" |
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 { Tabs } from "expo-router"; | |
export default function Layout() { | |
return ( | |
<Tabs> | |
<Tabs.Screen | |
name="user" | |
options={{ | |
headerShown: false, | |
tabBarLabel: "Users", |
NewerOlder