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
encrypt = (lambda message, offset: ''.join([ ( (lambda char: (lambda char: "abcdefghijklmnopqrstuvwxyz"[ ( ( ord(char[1] )-97 ) + char[0] ) % len("abcdefghijklmnopqrstuvwxyz")] if char[1].islower() else "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ ( ( ord(char[1] )-65 ) + char[0] ) % len("ABCDEFGHIJKLMNOPQRSTUVWXYZ") ]) (char) if char[1].isalpha() else char[1])) (char) for char in zip([offset for _ in range(len(list(message)))], list(message))])) | |
decrpyt = lambda message, word: list(filter(lambda x: word in x[0], [[(lambda message, offset: ''.join([ ( (lambda char: (lambda char: "abcdefghijklmnopqrstuvwxyz"[ ( ( ord(char[1] )-97 ) + char[0] ) % len("abcdefghijklmnopqrstuvwxyz")] if char[1].islower() else "ABCDEFGHIJKLMNOPQRSTUVWXYZ"[ ( ( ord(char[1] )-65 ) + char[0] ) % len("ABCDEFGHIJKLMNOPQRSTUVWXYZ") ]) (char) if char[1].isalpha() else char[1])) (char) for char in zip([offset for _ in range(len(list(message)))], list(message))]))(message, offset), offset] for offset in range(-1000,1000)]))[0][0] |
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
package org.firstinspires.ftc.teamcode; | |
import org.firstinspires.ftc.robotcore.external.Telemetry; | |
import org.opencv.core.*; | |
import org.opencv.imgproc.Imgproc; | |
import org.openftc.easyopencv.OpenCvPipeline; | |
import java.util.ArrayList; | |
public class ConeDetector extends OpenCvPipeline { |
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
package org.firstinspires.ftc.teamcode; | |
import org.firstinspires.ftc.robotcore.external.Telemetry; | |
import org.opencv.core.*; | |
import org.opencv.imgproc.Imgproc; | |
import org.openftc.easyopencv.OpenCvPipeline; | |
import java.util.ArrayList; | |
public class PoleCenterDetection extends OpenCvPipeline { |
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
package org.firstinspires.ftc.teamcode; | |
import org.firstinspires.ftc.robotcore.external.Telemetry; | |
import org.opencv.core.*; | |
import org.opencv.imgproc.Imgproc; | |
import org.openftc.easyopencv.OpenCvPipeline; | |
import java.util.ArrayList; | |
public class PoleDetector extends OpenCvPipeline { |
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
package org.firstinspires.ftc.teamcode; | |
import com.qualcomm.robotcore.eventloop.opmode.Autonomous; | |
import com.qualcomm.robotcore.hardware.DcMotorSimple; | |
import com.qualcomm.robotcore.util.ElapsedTime; | |
import com.qualcomm.robotcore.hardware.DcMotor; | |
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; | |
@Autonomous(name="MN-Testing-java") | |
public class MN_Test extends LinearOpMode { |
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
let speed = document.createElement("input"); | |
speed.type="number"; | |
speed.placeholder = "Playback Speed"; | |
speed.step = 0.25; | |
speed.onchange = (e) => {document.getElementsByTagName("video")[0].playbackRate = e.target.value;}; | |
speed.style.zIndex = 99999999999999999999999999999999999999999; | |
document.querySelector("#menu-container #menu").children[0].children[0].appendChild(speed); |
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
class Asteroid extends CollidingObject { | |
public Asteroid() { | |
super(); | |
int red = (int) (Math.random() * 255); | |
int green = (int) (Math.random() * 255); | |
int blue = (int) (Math.random() * 255); | |
color = new Color(red, green, blue); | |
} |
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
{ | |
"C": [ | |
{ | |
"octave": "0", | |
"freq": "16.351", | |
"wavelength": "20.812m", | |
"FIELD5": "MIDI note # 12" | |
}, | |
{ | |
"octave": "1", |