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
//Not Deprecated Get Headphones State Method | |
public void getHeadphoneStateZDP(final TextView v) { | |
SnapshotClient snapshotClient = Awareness.getSnapshotClient(this); | |
Task<HeadphoneStateResponse> headphoneStateResponseTask = snapshotClient.getHeadphoneState(); | |
headphoneStateResponseTask.addOnCompleteListener(new OnCompleteListener<HeadphoneStateResponse>() { | |
@Override | |
public void onComplete(@NonNull Task<HeadphoneStateResponse> task) { | |
if (task.isSuccessful()) { | |
HeadphoneStateResponse result = task.getResult(); |
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
def install(package): | |
from sys import executable | |
from subprocess import check_call | |
print(f"Installing {package}...") | |
check_call([executable, "-m", "pip", "install", package]) | |
from typing import Union | |
try: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<source: http://mcrscast.mcr.iol.pt/> | |
http://mcrscast.mcr.iol.pt/M8060 | |
http://mcrscast.mcr.iol.pt/M8070 | |
http://mcrscast.mcr.iol.pt/M8080 | |
http://mcrscast.mcr.iol.pt/M8090 | |
http://mcrscast.mcr.iol.pt/M80BALLADS | |
http://mcrscast.mcr.iol.pt/SMOOTHSOUL | |
http://mcrscast.mcr.iol.pt/cidHiphop | |
http://mcrscast.mcr.iol.pt/cidLatina | |
http://mcrscast.mcr.iol.pt/cidadefm |
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
class PixelFormatsAsDict: | |
""" | |
Use this class to easily access pixel format properties. Also useful to use as an enumeration to PixelFormat class. | |
Each pixel format is a dictionary with the following keys: | |
>> name: The Name of the Pixel Format. | |
>> pixel_bits: The Number of Bits per Pixel. | |
>> components: The Number of Components. | |
>> is_input_format: Supported Input format for conversion. | |
>> is_output_format: Supported Output format for conversion. | |
>> is_hardware_accel_format: Hardware accelerated format. |
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 os | |
import json | |
from typing import List | |
class AgregateMetrics: | |
""" | |
Stores the attributes of the agregate metrics. | |
""" | |
integer_adm2: float = None |
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 argparse | |
import multiprocessing | |
import os | |
import re | |
import subprocess | |
from functools import partial | |
import tqdm | |
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 argparse | |
import multiprocessing | |
import os | |
import subprocess | |
from functools import partial | |
import tqdm | |
from cv2 import cv2 as cv | |
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 argparse | |
import multiprocessing | |
import os | |
import re | |
import subprocess | |
from functools import partial | |
import tqdm | |
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 argparse | |
import multiprocessing | |
import os | |
import re | |
import subprocess | |
from functools import partial | |
import tqdm | |
OlderNewer