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
| # | |
| # Copyright (C) 2009-2024 OpenWrt.org | |
| # | |
| # This is free software, licensed under the GNU General Public License v2. | |
| # See /LICENSE for more information. | |
| # | |
| include $(TOPDIR)/rules.mk | |
| PKG_NAME:=mdk4 |
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 | |
| import argparse | |
| import os | |
| import subprocess | |
| def main(): | |
| parser = argparse.ArgumentParser(description='Split flac file using cue') | |
| parser.add_argument('cue', type=str, help='path to cue file') |
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/env python3 | |
| ######################################################################## | |
| # | |
| # Simple HTTP server that supports file upload for moving data around | |
| # between boxen on HTB. Based on a gist by bones7456, but mangled by me | |
| # as I've tried (badly) to port it to Python 3, code golf it, and make | |
| # It a little more robust. I was also able to strip out a lot of the | |
| # code trivially because Python3 SimpleHTTPServer is a thing, and the | |
| # cgi module handles multipart data nicely. | |
| # |
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
| /* | |
| * Simple sound playback using ALSA API and libasound. | |
| * | |
| * Compile: | |
| * $ cc -o play sound_playback.c -lasound | |
| * | |
| * Usage: | |
| * $ ./play <sample_rate> <channels> <seconds> < <file> | |
| * | |
| * Examples: |