Skip to content

Instantly share code, notes, and snippets.

# Maintainer: Nissar Chababy <funilrys at outlook dot com>
# Ex-Maintainer: David Manouchehri <manouchehri@riseup.net>
# Contributor: Vladimir Tsanev <tsachev@gmail.com>
# Contributor: Andrew Reed <reed.996@osu.edu>
pkgname=python-lz4
_pkgname=lz4
pkgver=0.21.6
pkgrel=1
pkgdesc="LZ4 Bindings for Python"
#include <ql/qldefines.hpp>
#include <ql/time/date.hpp>
#include <ql/instruments/creditdefaultswap.hpp>
#include <ql/pricingengines/credit/isdacdsengine.hpp>
#include <ql/termstructures/credit/piecewisedefaultcurve.hpp>
#include <ql/termstructures/credit/defaultprobabilityhelpers.hpp>
#include <ql/termstructures/yield/piecewiseyieldcurve.hpp>
#include <ql/termstructures/yield/ratehelpers.hpp>
#include <ql/time/calendars/weekendsonly.hpp>
#include <ql/time/daycounters/thirty360.hpp>
#include <ql/qldefines.hpp>
#include <ql/time/date.hpp>
#include <ql/instruments/creditdefaultswap.hpp>
#include <ql/pricingengines/credit/isdacdsengine.hpp>
#include <ql/termstructures/credit/piecewisedefaultcurve.hpp>
#include <ql/termstructures/credit/defaultprobabilityhelpers.hpp>
#include <ql/termstructures/yield/piecewiseyieldcurve.hpp>
#include <ql/termstructures/yield/ratehelpers.hpp>
#include <ql/time/calendars/weekendsonly.hpp>
#include <ql/time/daycounters/thirty360.hpp>
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgbase=python-thrift
pkgname=('python-thrift' 'python2-thrift')
_pkgname=thrift
pkgver=0.10.0
pkgrel=1
pkgdesc='Python bindings for the Apache Thrift RPC system'
arch=(i686 x86_64)
license=(Apache)
$(function() {
$("#btn_plus").click(function() {
$(this).remove();
var t = document.getElementById("fragment").cloneNode(true),
labels = t.content.querySelectorAll("label");
for (var i = 0; i < labels.length; i++ ) {
labels[i].setAttribute("for", labels[i].getAttribute("for") + "-" + "2");
}
var clone = document.importNode(t.content, true);
document.getElementById("outgoing").appendChild(clone);
a = 1
def f():
def g(x):
return a+x
return g
def g():
a = 2
# $Id$
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>
pkgname=belle-sip-git
_pkgname=belle-sip
pkgver=1.6.1.r69.g56436814
pkgrel=1
pkgdesc="A Voice-over-IP phone"
# $Id$
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Adrià Arrufat <swiftscythe@gmail.com>
# Contributor: Mark Lee <mark@markelee.com>
pkgname=mediastreamer-git
_pkgname=mediastreamer2
pkgver=2.15.1.r144.g8df4c333
# $Id$
# Contributor: Guillaume Horel <guillaume.horel@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=ortp-git
_pkgname=ortp
pkgver=1.0.1.r48.gb9e17f8
pkgrel=1
import pydbus
from gi.repository import GLib
def list_player_names():
bus = pydbus.SessionBus()
for n in bus.dbus.ListNames():
if n.startswith("org.mpris.MediaPlayer2"):
yield bus.get(n, "/org/mpris/MediaPlayer2")
def callback(self, metadata):