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 me.fullcam.toolsapi.util; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import org.apache.log4j.LogManager; | |
| import org.apache.log4j.Logger; | |
| import org.springframework.http.ResponseEntity; | |
| import java.io.IOException; | |
| import java.util.Arrays; | |
| import java.util.List; |
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 YouTubeViewer { | |
| public static void main(String[] args) { | |
| NativeInterface.open(); | |
| SwingUtilities.invokeLater(new Runnable() { | |
| public void run() { | |
| JFrame frame = new JFrame("YouTube Viewer"); | |
| frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); | |
| frame.getContentPane().add(getBrowserPanel(), BorderLayout.CENTER); | |
| frame.setSize(800, 600); |
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 BubbleSortExample { | |
| public static void main(String[] args) { | |
| int[] literallyAnything = {10, 2, 39, 666, 1823, 38853, 31, 2, 64, 231, 7}; | |
| int[] show = bubbleSort(literallyAnything); | |
| for (int a = 0; a < show.length; a++) { | |
| System.out.println(show[a]); | |
| } | |
| } | |
| public static int[] bubbleSort(int v[]) { |