- 100% — FF
- 95% — F2
- 90% — E6
- 85% — D9
- 80% — CC
- 75% — BF
- 70% — B3
- 65% — A6
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
| // @mui/x-date-pickers: 8.22.1 | |
| // @mui/joy: 5.0.0-beta.52 | |
| // @mui/material: 7.3.6 | |
| import { Fragment } from 'react/jsx-runtime'; | |
| import { ThemeProvider, createTheme } from '@mui/material/styles'; | |
| import { CssVarsProvider, THEME_ID } from '@mui/joy/styles'; | |
| import Input from '@mui/joy/Input'; | |
| import IconButton from '@mui/joy/IconButton'; | |
| import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'; |
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
| /** | |
| * This navigate function is designed to programmatically manipulate and navigate within | |
| * a React application using React Router from standalone context. | |
| * | |
| * It leverages the browser's History API to update the URL without causing a full page | |
| * reload and dispatches a popstate event to ensure React Router updates the UI accordingly. | |
| */ | |
| const navigate = (path) => { | |
| if (window.history && window.history.pushState) { | |
| // Use the browser's History API to manipulate the location |
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
| /* Copyright (c) 2018 FIRST, Thomas Barnette, George Marchant, and Trey Woodlief. All rights reserved. | |
| * | |
| * Redistribution and use in source and binary forms, with or without modification, | |
| * are permitted (subject to the limitations in the disclaimer below) provided that | |
| * the following conditions are met: | |
| * | |
| * Redistributions of source code must retain the above copyright notice, this list | |
| * of conditions and the following disclaimer. | |
| * | |
| * Redistributions in binary form must reproduce the above copyright notice, this |
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
| const fetch = require('node-fetch'); | |
| const schedule = require('node-schedule'); | |
| //////////////////////////////////////////// | |
| const config = { | |
| username: '', | |
| password: '', | |
| schoolId: 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
| const fetch = require('node-fetch'); | |
| const https = require('https'); | |
| const agent = new https.Agent({ | |
| rejectUnauthorized: false | |
| }); | |
| const config = { | |
| email: '', | |
| password: '', |
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
| #!/bin/bash | |
| TGTFILE="./FIRST-Tech-Challenge-Live -u" | |
| # Bash Title | |
| echo -en "\033]0;FIRST Tech Challenge Live\a" | |
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| cd "${DIR}" | |
| cd bin | |
| echo "Welcome to FIRST Tech Challenge Live!" |
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
| Array.from(document.querySelectorAll('.ellipsis-more')).forEach(btn => btn.click()); | |
| Array.from(document.querySelectorAll('[ng-click="vm.deleteDevice(item)"]')).forEach(btn => btn.click()); | |
| Array.from(document.querySelectorAll('[ng-click="dialog.hide()"]')).forEach(btn => btn.click()); |
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
| Runner.prototype.gameOver = function(){} | |
| Runner.instance_.setSpeed(1000) |
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
| public static boolean isFirstTime(Context context) { | |
| SharedPreferences preferences = context.getSharedPreferences("firstTimeSP", Context.MODE_PRIVATE); | |
| boolean firstTime = preferences.getBoolean("firstTime", true); | |
| if (firstTime) { | |
| // first time | |
| SharedPreferences.Editor editor = preferences.edit(); | |
| editor.putBoolean("firstTime", false); | |
| editor.commit(); | |
| } | |
| return firstTime; |