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
<#list concepts as rule> | |
[#jqassistant_${rule.id}] | |
= ${rule.description} | |
**** | |
<#if rule.hasReports> | |
<#list rule.reports.links as labeledLink> | |
link:${labeledLink.link}[${labeledLink.label}] | |
</#list> | |
<#list rule.reports.images as labeledImage> |
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
application { | |
config { | |
baseName store, | |
applicationType gateway, | |
packageName com.jhipster.demo.store, | |
serviceDiscoveryType consul, | |
authenticationType oauth2, | |
prodDatabaseType mysql, |
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
#!/usr/bin/env bash | |
set -e | |
JHI_ROOT=/c/Users/aurelien.mino/git/perso/jhipster/generator-jhipster | |
JHI_APP=$1 | |
JHI_ENTITY=$2 | |
export BUILD_REPOSITORY_LOCALPATH=$JHI_ROOT |
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
#MIT License | |
# | |
#Copyright (c) 2017 Daniele Andreis | |
#Permission is hereby granted, free of charge, to any person obtaining a copy | |
#of this software and associated documentation files (the "Software"), to deal | |
#in the Software without restriction, including without limitation the rights | |
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
#copies of the Software, and to permit persons to whom the Software is | |
#furnished to do so, subject to the following conditions: | |
# |
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
#!/usr/bin/python | |
# Change medley ARs to attributes of performance-of ARs | |
# | |
# Rough outline: | |
# 1. Get a list of [Recording] is medley of [Work] relationships and | |
# any equivalent recording_work relationship (no open edits on | |
# recording, work or medley relationship) | |
# For each: | |
# 2. Confirm dates do not conflict |
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
0. Update code from SVN + full rebuild of code | |
1. Releases | |
- launch manually updateindex2.sh --indexes release --verbose | |
- add this command to cron every hour with a specific log (updateindexes-release.log) | |
2. Recordings | |
- fully rebuild index for recordings (somethings like java -Xmx512M -jar index-2.0-SNAPSHOT-jar-with-dependencies.jar -indexes-dir /home/search/indexdata --indexes recording) | |
- launch manually updateindex2.sh --indexes recording --verbose | |
- add this command to cron every hour at H+30min (0:30, 1:30, ...) with a specific log (updateindexes-recording.log) |
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
#!/bin/bash | |
############################################################ | |
# SETTINGS # | |
############################################################ | |
# Local slave database settings | |
DB_HOST=localhost | |
DB_NAME=musicbrainz | |
DB_USER=musicbrainz |
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
$ carton exec -Ilib -- prove t/tests.t :: --tests 'Controller::Artist::Create' | |
[...] | |
INSERT INTO link (id, link_type, attribute_count) VALUES (1, 1, 1); | |
INSERT INTO link (id, link_type, attribute_count) VALUES (2, 1, 2); | |
INSERT INTO link (id, link_type, attribute_count) VALUES (3, 2, 0); | |
INSERT INTO link_attribute (link, attribute_type) VALUES (1, 4); | |
INSERT INTO link_attribute (link, attribute_type) VALUES (2, 1); |
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
murdos@hyperion:~/projects/musicbrainz/mbslave$ ./mbslave-sync.py | |
Downloading http://ftp.musicbrainz.org/pub/musicbrainz/data/replication//replication-60134.tar.bz2 | |
Processing /tmp/tmpyLg7Zk.tar.bz2 | |
- Packet was produced at 2012-06-26 00:40:22.382983+00 | |
Traceback (most recent call last): | |
File "./mbslave-sync.py", line 189, in <module> | |
process_tar(tmp, db, schema, ignored_tables, schema_seq, replication_seq, hook) | |
File "./mbslave-sync.py", line 142, in process_tar | |
importer.process() | |
File "./mbslave-sync.py", line 110, in process |
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
// ==UserScript== | |
// @name Import Discogs releases to MusicBrainz | |
// @version 2012-01-18_01 | |
// @namespace http://userscripts.org/users/22504 | |
// @icon http://www.discogs.com/images/discogs130.png | |
// @include http://*musicbrainz.org/release/add | |
// @include http://*musicbrainz.org/release/*/add | |
// @include http://*musicbrainz.org/release/*/edit | |
// @include http://www.discogs.com/* |
NewerOlder