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
"use client"; | |
import AnimatedHeader from "@/components/AnimatedHeader"; | |
import QuestionsDropdown from "@/components/DropQ/QuestionsDropdown"; | |
import Timer from "@/components/Timer"; | |
import { AnimButton } from "@/components/ui/button"; | |
import { AnimCard } from "@/components/ui/card"; | |
import { Separator } from "@/components/ui/separator"; | |
import { animFadeInWithDelay, animFadeUpWithDelay } from "@/constants/anim"; | |
import { | |
dynamicFillBlankContent, |
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
* Updated color palette for a more appealing appearance | |
* Resolved serialization issue on the profile screen under the path: workoutbuilder/profile info | |
* Aligned toast message color schemes and integrated custom components to match the design style | |
* Rectified animation glitch (reverse animation) occurring between the profile information screens | |
* Implemented Android support for input fields and animated labels (excluding picker functionality, currently malfunctioning) | |
* Introduced haptic feedback during onboarding process |
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 { BORDER_WIDTH } from '@/constants/theme' | |
import { useTheme } from '@/hooks/useTheme' | |
import { t } from 'i18next' | |
import LottieView from 'lottie-react-native' | |
import React from 'react' | |
import { Text, View } from 'react-native' | |
import { TouchableOpacity } from 'react-native-gesture-handler' | |
import { | |
FireIcon, | |
HandThumbDownIcon, |
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
#include <iostream> | |
#include <string> | |
#include <fstream> //allows use of file stream | |
#include <sstream> | |
int main() | |
{ | |
// constructor for file streams implements the open() function | |
// example -> ifs.open("foo.txt") = ifs("foo.txt") | |
//std::ios::app means write data from the end of the 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
#include <iostream> | |
#include <random> | |
static unsigned long long genRandRange(unsigned int min, unsigned int max) | |
{ | |
//create random number engine | |
std::mt19937_64 engine; | |
engine.seed(std::random_device()()); | |
//create random number range definition (distribution) | |
std::uniform_int_distribution<std::mt19937_64::result_type> randDistro(min, max); |
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
#include <iostream> | |
#include <chrono> | |
struct Timer { //use object lifetime to automatically print time elapsed | |
//within scope | |
//timepoints | |
std::chrono::time_point<std::chrono::steady_clock> begin, end; | |
//used to find change in time | |
std::chrono::duration<double> duration; |
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
#include <iostream> | |
#include <string> | |
#include <regex> | |
int main() | |
{ | |
//string that we want to find matches in | |
std::string string = "The dog went to the dog park. " | |
"There were numerous other doggies"; | |