Skip to content

Instantly share code, notes, and snippets.

View vortextemporum's full-sized avatar

Berk Özdemir vortextemporum

View GitHub Profile
@rogerallen
rogerallen / 0_tweegeemee.txt
Last active January 23, 2020 16:31
tweegeemee archive 12/20/2019
Archive of the code for images posted to https://twitter.com/tweegeemee
Started December 20, 2019
:clisk-random-seed 191220
Learn more at https://github.com/rogerallen/tweegeemee
@vortextemporum
vortextemporum / SERIOUS SOUND RANDOMIZER.ipynb
Last active March 9, 2020 19:32
Guide and code for replacing all sound files in Serious Sam HD: Second Encounter
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pofulu
pofulu / Audio to Spark AR
Last active August 14, 2020 21:01
Convert any sound to the format acceptable to Spark AR Studio with FFmpeg.
ffmpeg -i audio.wav -ar 44100 -ac 1 output.m4a
@vortextemporum
vortextemporum / boom-plus-plus.lua
Created February 16, 2019 19:38 — forked from Sanqui/boom-plus-plus.lua
A Lua script for corrupting Gameboy and Gameboy Advance games live. Supply to VBA-RR. Consult your doctor before use.
--
-- ░█▀▄░█▀█░█▀█░█▄█░░░░█░░░█░█░█▀█
-- ░█▀▄░█░█░█░█░█░█░░░░█░░░█░█░█▀█
-- ░▀▀░░▀▀▀░▀▀▀░▀░▀░▀░░▀▀▀░▀▀▀░▀░▀
--
--
-- Fair warning: this code is about as bad as the things it does to games.
-- GBA support experimental and frankly quite boring.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
USAGE:
morphagene_audacity.py -w <inputwavfile> -l <inputlabels> -o <outputfile>'
Used to convert Audacity labels in .txt form on .WAV files into
single 32-bit float .WAV with CUE markers within the file, directly
compatible with the Make Noise Morphagene.
@Ian-FR
Ian-FR / Fix WSL DNS
Last active December 20, 2024 10:17
WSL as Web Server
# /etc/wsl.conf
[network]
generateResolvConf = false
# /etc/resolv.conf
nameserver 8.8.8.8
nameserver 1.1.1.1
@neon-ninja
neon-ninja / decimate.py
Created March 16, 2018 04:42
Blender script to load in an FBX then decimate all meshes it contains
import bpy
import sys
import time
argv = sys.argv
argv = argv[argv.index("--") + 1:] # get all args after "--"
if len(argv) < 2:
print("Give arguments -- fbx_file decimate_ratio")
@twobob
twobob / mergeMP4.py
Last active April 23, 2018 14:58
Merge all MP4's in a directory using MoviePy
import glob
import os.path
from moviepy.editor import *
dir = '.'
files = glob.glob(os.path.join(dir, '*.mp4'))
L=list()
#print (len(files))
for file in files:
L.append(VideoFileClip(file,audio=True))
final_clip = concatenate_videoclips(L,method="compose")
@gridwalk
gridwalk / websplicer.js
Last active October 30, 2018 09:36
WebSplicer Bookmarklet
var ajax = {};
ajax.x = function () {
if (typeof XMLHttpRequest !== 'undefined') {
return new XMLHttpRequest();
}
var versions = [
"MSXML2.XmlHttp.6.0",
"MSXML2.XmlHttp.5.0",
"MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.3.0",