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
! youtube block list | |
! video page | |
youtube.com###related | |
! youtube.com###comments | |
! youtube.com###chat-container | |
youtube.com##.ytp-next-button | |
youtube.com##.ytp-cards-button | |
youtube.com##.ytp-cards-teaser | |
youtube.com##.annotation | |
youtube.com##.ytp-ce-video |
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
USE: | |
This autohotkey script allows the touchpad to operate like a touch slider in Project Diva Megamix+ | |
DISADVANTAGES: | |
This script disables the Left Control key, | |
rebinds scrolling, | |
and will type letters when you move the mouse | |
SETUP: | |
1. Make sure "mouseDelta.ahk" and "TouchSlider.ahk" are in the same folder |
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 WormArray() { | |
public: | |
int* head; //Values from head inclusive to tail exclusive | |
int* tail; | |
int* min; | |
int* max; | |
int shift() { | |
if(head == tail) return 0; | |
return *(head++); | |
} |
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
ClassLoader classLoader = new URLClassLoader(new URL[]{new URL("jar:file:/standard.jar!/")});URL url = classLoader.getResource("StandardPlugin.class");JarURLConnection connection = (JarURLConnection) url.openConnection();JarFile file = connection.getJarFile();String jarPath = file.getName();manager.addClass(classLoader.loadClass(jarPath)); |
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.io.BufferedInputStream;import java.io.FileInputStream;import java.io.IOException;import java.util.ArrayList;import java.util.Enumeration;import java.util.jar.JarEntry;import java.util.jar.JarFile;import java.io.FileNotFoundException;import java.util.jar.JarInputStream;import java.util.zip.ZipEntry;import java.util.zip.ZipInputStream;public class a{ public static void main(String[] args) throws IOException, FileNotFoundException { System.out.println('a'); JarFile t = new JarFile("C:\\Users\\galbraithja\\Desktop\\.git\\Test\\src\\test.jar"); ArrayList<JarEntry> classes = new ArrayList<JarEntry>(); JarEntry e = new JarEntry("C:\\Users\\galbraithja\\Desktop\\.git\\Test\\src\\test.jar"); System.out.println(t.toString() +" , " + e.toString()); System.out.println('c'); Enumeration<JarEntry> c = t.entries(); c.nextElement(); c.nextElement(); int f=0; while (c.hasMoreElements()) { classes.add(c.nextElement()); |