Skip to content

Instantly share code, notes, and snippets.

@lordscales91
lordscales91 / wipe_tests_2.py
Created July 17, 2021 07:11
wipe_tests_2.py
import openshot
def create_clip(image, layer=1):
r1 = openshot.QtImageReader(image)
c1 = openshot.Clip(r1)
c1.Layer(layer)
return c1
# Create an empty timeline
t = openshot.Timeline(720, 480, openshot.Fraction(24,1), 44100, 2, openshot.LAYOUT_STEREO)
@lordscales91
lordscales91 / Main.java
Created March 28, 2019 12:11
Simple helper program to clean corrupt JARs in a Maven Repository
package cleaner;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="gen-libs">
<!--
This little magic Ant script is intended to be run from Maven's antrun plugin. However, it
can still be run from ant provided that you properly set it up(uncomment taskdef) and
give the required parameters it should work.
Parameters:
- input.dir the directory containing the AAR libs
- output.dir the directory to store the generated libprojects
-->
@lordscales91
lordscales91 / libsolvemedia.py
Created January 3, 2016 14:58
This is a Python3 compatible version of SolveMedia's official Python library. https://portal.solvemedia.com/portal/help/pub/python/
# Copyright (c) 2009 by Jeff Weisberg
# Author: Jeff Weisberg
# Created: 2009-Jun-25 13:18 (EDT)
# Function: python solvemedia interface
#
# $Id$
# Python3 compatibility implemented by lordscales91
# with the help of the six compatibility layer
@lordscales91
lordscales91 / userChrome.css
Created March 7, 2015 08:59
Firefox customization trick
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#navigator-toolbox { min-height: 180px !important; }
@lordscales91
lordscales91 / pmx20.md
Last active December 4, 2016 15:08 — forked from felixjones/pmx21.md

PMX (Polygon Model eXtended) 2.0

This is an English description of the .PMX file format used in Miku Miku Dance (MMD).

PMX is the successor to the .PMD format (Polygon Model Data).

PMX files must be read in binary mode as EOF markers may appear in the middle of the file.

Types