π
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package esperida; | |
/** | |
* | |
* @author cl7-15 |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package esperida; | |
import java.util.Scanner; | |
/** |
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 'dart:async'; | |
int fl = 100; | |
int fr = 100; | |
int rl = 100; | |
int rr = 100; | |
int ps = 100; | |
int _fl = 50; | |
int _fr = 50; |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
debugShowCheckedModeBanner: false, |
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
void main() { | |
var numbers = [1,2,3,4,5,6,7,8,9,10]; | |
for(var count = 0; count < numbers.length; count++){ | |
if(isEven(numbers[count])){ | |
print(numbers[count]); | |
} | |
} | |
} |
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
void main() { | |
var numbers = {1,2,3,4,5,6,7,8,9,10}; | |
numbers.forEach((value) => { | |
if(isEven(value)){ | |
print(value) | |
} | |
}); | |
} | |
bool isEven(int number) { |
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
exports.run = async (client, message, floor, level) => { // eslint-disable-line no-unused-vars | |
var floor17 = "744906832430104607"; | |
var floor16 = "744906785449574501"; | |
var floor15 = "744906708207534090"; | |
var floor14 = "744906579735871589"; | |
var floor12 = "744906380837650473"; | |
var floor11 = "744906487893065852"; | |
var floor10 = "744906375213088939"; |
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
module.exports = async (reaction, user) => { | |
if (user.bot) return; | |
var role = reaction.message.guild.roles.cache.find(r => r.name === 'Verified Apprentice'); | |
var member = reaction.message.guild.members.cache.find(member => member.id === user.id); | |
var sendtochannel = reaction.client.channels.cache.find(channel => channel.name === 'bot-spam'); | |
var ruleschannel = reaction.client.channels.cache.find(channel => channel.name === 'rules-and-info'); | |
if (reaction.message.channel.id === ruleschannel.id) { | |
if (reaction.emoji.name === 'β ') { |
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 java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner in = new Scanner(System.in); | |
System.out.print("Enter Grade: "); | |
double gradein1 = in.nextDouble(); | |
System.out.print("Enter Grade: "); |
NewerOlder