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
| #!/usr/bin/python3.7 | |
| from appJar import gui | |
| from subprocess import run,PIPE | |
| from os.path import join | |
| from os import remove | |
| from mutagen import File,flac | |
| app = gui(title="Lazy WebM") | |
| res = {"1920x1080":"1920:1080","1280x720":"1280:720","720x480":"720:480","640x480":"640:480","640x360":"640:360","480x360":"480:360"} |
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 xml.etree.ElementTree as et | |
| from urllib.parse import unquote | |
| import tkinter as tk | |
| from tkinter import filedialog,messagebox | |
| outstr = "#EXTM3U\n" | |
| infile = filedialog.askopenfile(filetypes=(("ASF Playlists","*.asf"),)) | |
| f = et.parse(infile).getroot() | |
| count = 0 | |
| for i in f.findall("entry"): |
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
| from pbot_utils import * | |
| import aiohttp | |
| BASE_URL = config['konishi_url'] | |
| async def handle_image(msg): | |
| if len(msg.attachments)>0: | |
| img = msg.attachments[0] | |
| async with aiohttp.get(img.url) as r: | |
| r = await r.read() |
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
| <?php | |
| //Remove on prod | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| include __DIR__.'/vendor/autoload.php'; | |
| use RestCord\DiscordClient; | |
| $conn = mysqli_connect("localhost", "root", "", "pbot"); | |
| $conn->set_charset('utf8'); |
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 com.company; | |
| import com.mashape.unirest.http.JsonNode; | |
| import com.mashape.unirest.http.Unirest; | |
| import java.text.SimpleDateFormat; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.concurrent.TimeUnit; | |
| import io.javalin.Javalin; | |
| import org.json.JSONObject; |
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 aiosqlite3 | |
| import discord | |
| import aiohttp | |
| from discord.ext.commands import Bot | |
| client = Bot(command_prefix='>>') | |
| DEFAULT_IMAGE = "https://s3-us-west-2.amazonaws.com/superdeluxe.com/dankland/generators/-92598402-Maybeyesmaybeno.jpg" | |
| store = {} | |
| @client.event |
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 json | |
| import tkinter as tk | |
| from tkinter import filedialog | |
| root = tk.Tk() | |
| root.withdraw() | |
| file = filedialog.askopenfilename() | |
| osu = open(file,'r+').readlines() | |
| out = {} | |
| sliders = ['C','L','P','B'] |
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
| // Sweep code by BARRAGAN http://barraganstudio.com/ | |
| // Blink code from Arduino examples | |
| // PWM Servo library from http://arduiniana.org/libraries/pwmservo/ | |
| // Fingerprint Scanner library, partial fingerprint identity test, along with hardware help from: | |
| // http://wordpress.hawleyhosting.com/ramblings/?p=375 | |
| // Code help from Ms. Natalie Freed | |
| #include "FPS_GT511C3.h" | |
| #include "SoftwareSerial.h" | |
| #include <PWMServo.h> |
NewerOlder