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 Discord = require("discord.js"); | |
const constants = require("../constants.json"); | |
exports.run = async (client, msg, args) => { | |
if (msg.author.bot) return false; | |
const Role1 = msg.guild.roles.cache.get("750031561805791254"); | |
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 Discord = require("discord.js"); | |
const constants = require("../constants.json"); | |
exports.run = async (client, msg, args) => { | |
if (msg.author.bot) return false; | |
const Role1 = msg.guild.roles.cache.get("770247415764221952"); // MC Helper | |
const Role2 = msg.guild.roles.cache.get("750031561805791254"); // PC Expert | |
const Role3 = msg.guild.roles.cache.get("750029105856249977"); // Official Artist | |
const filter = (reaction, user) => |
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
xport default class Browser extends Component { | |
render = () => ( | |
<div className={styles.browserContainer}> | |
<div id="screenSimulation" className={styles.screenSimulation}> | |
<div className={styles.screenSimulationHeader}> | |
<div | |
style={{ backgroundColor: '#21ffb0' }} | |
className={styles.screenSimulationHeaderButton}></div> | |
<div | |
style={{ backgroundColor: '#fce303' }} |
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 express from 'express'; | |
import User from '../models/userModel.js'; | |
import auth from '../middleware/auth.js' | |
const userRouter = express.Router(); | |
userRouter.post('/create', async (req, res) => { | |
const user = new User(req.body) | |
try { |
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 mongoose from 'mongoose'; | |
import jwt from 'jsonwebtoken'; | |
import bcrypt from 'bcryptjs'; | |
// import validator from 'validator'; | |
const userSchema = new mongoose.Schema({ | |
name: { type: String, required: true, trim: true }, | |
email: { | |
type: String, required: true, unique: true, trim: true, lowercase: true, |
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
# Default ignored files | |
/shelf/ | |
/workspace.xml | |
# Datasource local storage ignored files | |
/../../../../../../:\Users\karri\IdeaProjects\variables_java\.idea/dataSources/ | |
/dataSources.local.xml | |
# Editor-based HTTP Client requests | |
/httpRequests/ |
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 class variables { | |
public static void main(String[] args) { | |
int year = 2021; | |
int day = 7; | |
int month = 1; | |
int age = 18; | |
int balance = 300; | |
System.out.println("Original Data:"); | |
System.out.println("The year is " + year); |
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 class variables { | |
public static void main(String[] args) { | |
float hrsWorked = 40; | |
double payRate = 10.00; | |
double taxRate1 = 0.25; | |
double taxRate2 = 0.50; | |
double grossPay = 0.00; | |
double taxAmt = 0.00; | |
double netPay = 0.00; |
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 java.util.Scanner; | |
public class MyChoices { | |
public static void main(String[] args) { | |
Scanner MyChoices = new Scanner(System.in); | |
Scanner Input = new Scanner(System.in); | |
System.out.print("Please input your name: "); |
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 java.util.Scanner; | |
public class MySizes { | |
public static void main(String[] args) { | |
// int waistSize = 10; | |
Scanner input = new Scanner(System.in); | |
System.out.println("Please input your pant size: "); | |
int number = input.nextInt(); |
OlderNewer