Skip to content

Instantly share code, notes, and snippets.

View Melanpan's full-sized avatar
❤️
友利奈緒を深く愛してる

Melon Melanpan

❤️
友利奈緒を深く愛してる
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <errno.h>
#include <signal.h>
#include <pulse/simple.h>
#include <pulse/error.h>
import sys
import cv2
import struct
import numpy as np
import socket
from pyboy import PyBoy
pyboy = PyBoy(sys.argv[1],debugging=False,disable_input=False,hide_window="--quiet" in sys.argv)
pyboy.set_emulation_speed(1)
import socket
import struct
import logging
from PIL import Image
class PixelClient():
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
buffer = []
log = logging.getLogger("pixelclient")
import socket
import struct
import pyaudio
import wave
import audioop
import math
UDP_IP = "192.168.3.4"
UDP_PORT = 5000
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
"""
Small script that syncs the current now playing (MPD) with Icecast
By Melan
"""
import time
import os
import requests
from mpd import MPDClient
#!/usr/bin/python3.5
import os
import subprocess
import json
import pyinotify
import time
import logging
class autoEncoder():