Skip to content

Instantly share code, notes, and snippets.

@YamashitaRen
YamashitaRen / PKGBUILD trpc-libs
Created January 24, 2015 21:58
TreeP runtime libraries
# Contributor: Rob McCathie <archaur at rmcc dot com dot au>
# Contributor: Xemertix <arch88(at)katamail(dot)com>
pkgname=trpc-libs
pkgver=20120628
pkgrel=2
pkgdesc="TreeP runtime libraries"
url="http://fsinapsi.altervista.org"
license=("GPL")
depends=("gmp" "zlib" "gc")
@YamashitaRen
YamashitaRen / PKGBUILD trpc
Created January 24, 2015 22:05
The TreeP programming language compiler
# Contributor: Rob McCathie <archaur at rmcc dot com dot au>
# Contributor: Xemertix <arch88(at)katamail(dot)com>
pkgname=trpc
pkgver=20120628
pkgrel=1
pkgdesc="The TreeP programming language compiler"
url="http://fsinapsi.altervista.org"
license=("GPL")
depends=("trpc-libs=$pkgver")
@YamashitaRen
YamashitaRen / PKGBUILD mathgl-lite
Created January 25, 2015 01:35
A library for scientific data visualization, lite build
# Maintainer : zhulik <[email protected]>
pkgname=mathgl-lite
pkgver=2.3.1
pkgrel=1
pkgdesc="A library for scientific data visualization, lite build"
arch=('i686' 'x86_64')
url='http://mathgl.sourceforge.net'
license=('GPL3')
depends=('qt5-base' 'gsl' 'freeglut' 'mesa')
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <math.h>
#include <emmintrin.h>
#include "VapourSynth.h"
#ifdef _MSC_VER
#pragma warning(disable:4224 4996)
@YamashitaRen
YamashitaRen / VSclang
Last active August 29, 2015 14:14
Error when running Vapoursynth built by Clang
odroid@OdroidU2:/mnt/Terabox/Videos/ADC/Vapour$ LD_LIBRARY_PATH=/usr/local/lib vspipe -y QTGeisha.vpy test.y4m
Exception ignored in: 'vapoursynth.vpy_setVariable'
Traceback (most recent call last):
File "vapoursynth.pyx", line 1230, in vapoursynth.vsscript_get_core_internal (src/cython/vapoursynth.c:21504)
File "vapoursynth.pyx", line 1195, in vapoursynth.createCore (src/cython/vapoursynth.c:21024)
vapoursynth.Error: Failed to obtain VapourSynth API pointer. System does not support SSE2 or is the Python module and loaded core library mismatched?
Script evaluation failed:
Python exception: Failed to obtain VapourSynth API pointer. System does not support SSE2 or is the Python module and loaded core library mismatched?
Traceback (most recent call last):
File "vapoursynth.pyx", line 1488, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:25136)
@YamashitaRen
YamashitaRen / Make && make install
Created January 29, 2015 22:31
Vapoursynth installation with clang
odroid@OdroidU2:/mnt/Terabox/build/vapoursynth$ make -j5
CXX src/core/libvapoursynth_la-cachefilter.lo
CC src/core/libvapoursynth_la-cpufeatures.lo
CXX src/core/libvapoursynth_la-exprfilter.lo
CC src/core/libvapoursynth_la-mergefilters.lo
CC src/core/libvapoursynth_la-lutfilters.lo
CC src/core/libvapoursynth_la-reorderfilters.lo
CXX src/core/libvapoursynth_la-settings.lo
CC src/core/libvapoursynth_la-simplefilters.lo
CXX src/core/libvapoursynth_la-textfilter.lo
--preset <string> Use a preset to select encoding settings [medium]
Overridden by user settings.
- ultrafast:
--no-8x8dct --aq-mode 0 --b-adapt 0
--bframes 0 --no-cabac --no-deblock
--no-mbtree --me dia --no-mixed-refs
--partitions none --rc-lookahead 0 --ref 1
--scenecut 0 --subme 0 --trellis 0
--no-weightb --weightp 0
- superfast:
@YamashitaRen
YamashitaRen / sources.list
Last active August 29, 2015 14:20
Fichier sources.list Debian
## Debian
deb http://ftp.fr.debian.org/debian/ jessie main contrib non-free
deb http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
## Marillat
deb http://www.deb-multimedia.org jessie main non-free
@YamashitaRen
YamashitaRen / Error pysubs2
Created May 14, 2015 18:39
/usr/bin/pysubs2.py error
[yama@VaioLaptop pysubs2]$ ls /usr/lib/python3.4/site-packages/pysubs2
__init__.py __main__.py __pycache__ cli.py common.py exceptions.py formatbase.py formats.py jsonformat.py microdvd.py ssaevent.py ssafile.py ssastyle.py subrip.py substation.py time.py
[yama@VaioLaptop pysubs2]$ cat /usr/bin/pysubs2.py
#!/usr/bin/python
import sys
import pysubs2
if __name__ == "__main__":
cli = pysubs2.cli.Pysubs2CLI()
@YamashitaRen
YamashitaRen / SushiSNK
Created May 14, 2015 23:31
Shingeki no Kyojin - Sushi
Traceback (most recent call last):
File "Work/Sushi/sushi.py", line 797, in <module>
parse_args_and_run(sys.argv[1:])
File "Work/Sushi/sushi.py", line 790, in parse_args_and_run
run(args)
File "Work/Sushi/sushi.py", line 626, in run
script = AssScript.from_file(src_script_path) if script_extension == '.ass' else SrtScript.from_file(src_script_path)
File "/home/yama/Work/Sushi/subs.py", line 126, in from_file
return cls([SrtEvent(x) for x in script.read().replace(os.linesep, '\n').split('\n\n') if x])
File "/home/yama/Work/Sushi/subs.py", line 104, in __init__