Skip to content

Instantly share code, notes, and snippets.

View TripleFrequency's full-sized avatar
probably working too much

Michael Haas TripleFrequency

probably working too much
View GitHub Profile
package media.thehoard.thirdparty.api.trakt.objects.get.shows.implementations;
import com.google.gson.annotations.SerializedName;
import media.thehoard.thirdparty.api.trakt.enums.TraktShowStatus;
import media.thehoard.thirdparty.api.trakt.objects.get.shows.TraktShowAirs;
import media.thehoard.thirdparty.api.trakt.objects.get.shows.TraktShowExtended;
import java.time.Instant;
import java.util.List;
@TripleFrequency
TripleFrequency / TraktCheckinPost.java
Last active March 22, 2018 00:05
Kotlin vs Java boiler-plate code
package media.thehoard.thirdparty.api.trakt.objects.post.checkins;
import media.thehoard.thirdparty.api.trakt.objects.basic.implementations.TraktSharingImpl;
public interface TraktCheckinPost<T extends TraktCheckinPost> {
TraktSharingImpl getSharing();
void setSharing(TraktSharingImpl sharing);
T withSharing(TraktSharingImpl sharing);
try:
from tkinter.ttk import *
import requests, argparse, urllib.request, os, tkinter
except ImportError:
print("You need the module requests to run this!")
window = tkinter.Tk()
do_download_videos = tkinter.IntVar(value=0)