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
// once you have a one day plan: | |
// 1. navigate to your vehicles page under 'Service Information' | |
// 2. Leave 'Category 1' set to '[Category 1]' and click search | |
// 3. Open your JS console | |
// get all document titles | |
titles = document.getElementsByClassName("title") | |
documentIds = [] | |
// extract each document id |
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
JAVA_VERSION=$(java -version 2>&1 | awk 'NR==1{ gsub(/"/,""); print $3 }' | cut -f1 -d".") |
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
############################### | |
## main.c | |
############################### | |
#include <ApplicationServices/ApplicationServices.h> | |
#include <IOKit/graphics/IOGraphicsLib.h> | |
const UInt8 SERIAL = 0xFF; | |
const UInt8 DISPLAY_NAME = 0xFC; | |
const UInt8 UNSPECIFIED_TEXT = 0xFE; |
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 androidx.arch.core.executor.ArchTaskExecutor | |
import androidx.arch.core.executor.TaskExecutor | |
import org.junit.jupiter.api.extension.ExtensionContext | |
import org.junit.jupiter.api.extension.TestInstancePostProcessor | |
class InstantTaskExecutor : TestInstancePostProcessor { | |
override fun postProcessTestInstance(testInstance: Any?, context: ExtensionContext?) { | |
ArchTaskExecutor.getInstance().setDelegate(object : TaskExecutor() { | |
override fun executeOnDiskIO(runnable: Runnable) { | |
runnable.run() |
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
package io.github.wreed12345; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.jnetpcap.Pcap; | |
import org.jnetpcap.PcapIf; | |
import org.jnetpcap.packet.PcapPacket; | |
import org.jnetpcap.packet.PcapPacketHandler; | |
import org.jnetpcap.protocol.tcpip.Tcp; |