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
| 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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ffmpeg -i audio.wav -ar 44100 -ac 1 output.m4a |
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
| -- | |
| -- ░█▀▄░█▀█░█▀█░█▄█░░░░█░░░█░█░█▀█ | |
| -- ░█▀▄░█░█░█░█░█░█░░░░█░░░█░█░█▀█ | |
| -- ░▀▀░░▀▀▀░▀▀▀░▀░▀░▀░░▀▀▀░▀▀▀░▀░▀ | |
| -- | |
| -- | |
| -- 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.
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 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. | |
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
| # /etc/wsl.conf | |
| [network] | |
| generateResolvConf = false | |
| # /etc/resolv.conf | |
| nameserver 8.8.8.8 | |
| nameserver 1.1.1.1 |
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 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") |
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 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") |
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
| 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", |
NewerOlder