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
class P2pvc < Formula | |
homepage "https://github.com/mofarrell/p2pvc" | |
head "https://github.com/mofarrell/p2pvc.git" | |
depends_on "pkg-config" => :build | |
depends_on "homebrew/science/opencv" | |
depends_on "ncurses" | |
depends_on "portaudio" | |
def install |
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 python | |
def curry(func): | |
""" | |
Decorator to curry a function, typical usage: | |
>>> @curry | |
... def foo(a, b, c): | |
... return a + b + c |
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 cz.jirutka.rsql.parser.ast.*; | |
import org.springframework.core.convert.ConversionService; | |
import org.springframework.core.convert.support.DefaultConversionService; | |
import javax.persistence.criteria.CriteriaBuilder; | |
import javax.persistence.criteria.Path; | |
import javax.persistence.criteria.Predicate; | |
import javax.persistence.criteria.Root; | |
import javax.persistence.metamodel.Attribute; | |
import java.util.List; |
This configuration uses nsswitch and compat mode, which is supposedly obsolete, but much more convenient than alternatives.
emerge -va sys-auth/nss_ldap sys-auth/pam_ldap sys-apps/unscd
Note: unscd (Micro Name Service Caching Daemon) is not necessary, but it’s recommended.
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
#!/bin/bash | |
# | |
# This script triggers (re)build of the specified project on Travis CI. | |
# | |
# It expects Travis token to be set in environment variable TRAVIS_TOKEN. | |
# To get a token, run: travis token. | |
# | |
# Usage: | |
# travis-build-dependent <REPO_SLUG> [<BRANCH>] | |
# |
This project has been moved to https://github.com/jirutka/qemu-openrc.