This file contains 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 Audiveris < Formula | |
desc "Optical Music Recognition" | |
homepage "https://audiveris.github.io/audiveris/" | |
url "https://github.com/Audiveris/audiveris.git", | |
# tag: "development", | |
revision: "f29f417386e3d9c68b3a4103cfaf48239769ac58" | |
version "5.3-beta" | |
license "AGPL-3.0" | |
depends_on "gradle" => :build |
This file contains 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
[ 43%] Building CXX object torchaudio/csrc/CMakeFiles/_torchaudio_ffmpeg.dir/ffmpeg/pybind/pybind.cpp.o | |
cd /tmp/torchaudio-20230216-95817-nuezt6/build/torchaudio/csrc && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_RPC -DUSE_TENSORPIPE -D_torchaudio_ffmpeg_EXPORTS -I/tmp/torchaudio-20230216-95817-nuezt6 -isystem /opt/homebrew/include/torch/csrc/api/include -Wall -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -std=gnu++14 -MD -MT torchaudio/csrc/CMakeFiles/_torchaudio_ffmpeg.dir/ffmpeg/pybind/pybind.cpp.o -MF CMakeFiles/_torchaudio_ffmpeg.dir/ffmpeg/pybind/pybind.cpp.o.d -o CMakeFiles/_torchaudio_ffmpeg.dir/ffmpeg/pybind/pybind.cpp.o -c /tmp/torchaudio-20230216-95817-nuezt6/torchaudio/csrc/ffmpeg/pybind/pybind.cpp | |
In file included from /tmp/torchaudio-20230216-95817-nuezt6/torchaudio/csrc/ffmpeg/pybind/pybind.cpp:1: | |
In file included from /opt/homebrew/include/pybind11/stl.h:12: | |
In file included from /opt/homebrew |
This file contains 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 { Plugin, Build, ScopeGraphQLScalarType } from "graphile-build"; | |
import { PhoneNumber, parsePhoneNumber } from "libphonenumber-js"; | |
declare module "graphile-build" { | |
interface ScopeGraphQLScalarType { | |
isPhoneNumberScalar: boolean; | |
} | |
} | |
export default (function PgTypesLibphonenumberPlugin(builder) { |
This file contains 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
drop schema if exists sh cascade; | |
create schema sh; | |
create table sh.hero ( | |
id serial primary key, | |
species text | |
); | |
create table sh.hero_name ( | |
id serial primary key, |
This file contains 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
// Given a `leftTable`, trace through the foreign key relations | |
// and identify a `junctionTable` and `rightTable`. | |
// Returns a list of data objects for these many-to-many relations. | |
function manyToManyRelations(leftTable, build) { | |
const { | |
pgIntrospectionResultsByKind: introspectionResultsByKind, | |
pgOmit: omit, | |
} = build; | |
return leftTable.foreignConstraints |
This file contains 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
const flatten = require("lodash/flatten"); | |
module.exports = (function PgManyToManyRelationArgCondition(builder) { | |
builder.hook( | |
"init", | |
(_, build) => { | |
const { | |
newWithHooks, | |
pgIntrospectionResultsByKind: introspectionResultsByKind, | |
pgGetGqlInputTypeByTypeIdAndModifier, |
This file contains 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 PgLibphonenumber < Formula | |
desc "libphonenumber extension for Postgres" | |
homepage "https://github.com/blm768/pg-libphonenumber" | |
url "https://github.com/blm768/pg-libphonenumber/archive/master.zip" | |
version "0.1.0" | |
sha256 "5b29e96e96eba790e856e0624724a548bba82dfd0a3dc314eafd2ac3ace92e0f" | |
depends_on "libphonenumber" | |
depends_on "postgresql" | |
def install |
This file contains 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 flask | |
def test_pytest_failure(): | |
""" | |
This test passes on Pytest 4, but throws an error on Pytest 5. | |
""" | |
app = flask.Flask(__name__) |
This file contains 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
$ git clone [email protected]:alex3165/react-mapbox-gl.git | |
Cloning into 'react-mapbox-gl'... | |
remote: Counting objects: 4617, done. | |
remote: Compressing objects: 100% (9/9), done. | |
remote: Total 4617 (delta 1), reused 4 (delta 1), pack-reused 4607 | |
Receiving objects: 100% (4617/4617), 12.55 MiB | 4.60 MiB/s, done. | |
Resolving deltas: 100% (3062/3062), done. | |
$ cd react-mapbox-gl/example | |
$ npm install |
NewerOlder