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
#include <SDL2/SDL.h> | |
#define MUS_PATH "tmp.wav" | |
// prototype for our audio callback | |
// see the implementation for more information | |
void my_audio_callback(void *userdata, Uint8 *stream, int len); | |
// variable declarations | |
static Uint8 *audio_pos; // global pointer to the audio buffer to be played |
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/env python3 | |
# Unzip files with specified encoding | |
# ORIGINAL: | |
# Windowsで作られた日本語ファイル名入りのZIPアーカイブにも対応した unzip 用 Python スクリプト | |
# https://gist.github.com/doraTeX/0d79d8ff35710a27bc3e5176cc646b60 | |
import sys | |
import re |
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
## This source code is licensed under WTFPL | |
## Project page https://shouravbr.github.io/pickerpy | |
## PickerPY (python3) version 1 | |
## Modified by aoowweenn | |
from tkinter import * | |
from tkinter import filedialog | |
from tkinter import messagebox | |
from tkinter import ttk | |
import subprocess |