Skip to content

Instantly share code, notes, and snippets.

@floft
floft / class1.py
Last active April 3, 2018 21:08
Variable shared between classes
def f1():
print("1 Class1.last_object", Class1.last_object)
Class1.last_object = "Class1 set last_object"
print("2 Class1.last_object", Class1.last_object)
class Class1():
last_object = "base1"
def get(self):
return Class1.last_object
@floft
floft / PKGBUILD
Last active January 19, 2018 22:23
zyn-fusion PKGBUILD
# Maintainer: spider-mario <spidermario@free.fr>
pkgname=zyn-fusion
pkgver=3.0.3 # Note right now this uses latest from git...
_libuv=1.9.1
pkgrel=1
pkgdesc="ZynAddSubFX with a new interactive UI"
arch=('x86_64')
url="http://zynaddsubfx.sourceforge.net/zyn-fusion.html"
license=('custom')
depends=('fftw' 'libglvnd' 'mxml' 'jack2' 'liblo')