entrycode | titre | autres_publications |
---|---|---|
fr/TP 3p009 | Le fils du soleil | fr/ALPMB 68A,fr/ALPMB 68C,fr/ALPMB 68D,fr/GEP 3,fr/PM 200,fr/PM 315,fr/PM 487,fr/PM 531 |
fr/TP 3p036 | La valse des investisseurs | fr/ALPMB 28,fr/GEP 3,fr/PM 192,fr/PM 326,fr/PM 466,fr/PM 515 |
fr/TP 3p046 | Chat sœur deux trop fée ! | fr/ALJM 132,fr/ALPMB 64A,fr/ALPMB 64C,fr/DM 88-33,fr/GEP 3,fr/JM 1886,fr/PM 315,fr/PM 467,fr/PM 535,fr/PMHS S4 |
fr/TP 3p056 | Caisse à la casse ! | fr/ALJM 132,fr/ALPMB 25,fr/ALPMB 48,fr/ALPMB 68B,fr/DM 88-36,fr/GEP 3,fr/JM 1889,fr/LI 1,fr/PM 313,fr/PM 404,fr/PM 486 |
fr/TP 3p068 | L'argent liquide | fr/ALJM 130,fr/ALPMB 26,fr/ALPMB 27,fr/ALPMB 58,fr/DM 88-07,fr/GEP 3,fr/JM 1860,fr/LI 2,fr/PM 319,fr/PM 442,fr/PM 514,fr/TR 2 |
fr/TP 3p094 | Un sapin de luxe | fr/ALJM 139,fr/ALPMB 27,fr/ALPMB 58,fr/DM 89-52,fr/GEP 3,fr/JM 1957,fr/PM 323,fr/PM 443,fr/PM 517,fr/SPGHS 7 |
fr/TP 3p098 | Citrouille carabinée |
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 | |
# shellcheck disable=SC2034 | |
src='\033[0;32m' | |
applications_sv_app_firstvet_com='\033[0;36m' | |
applications_app_firstvet_com='\033[0;35m' | |
NC='\033[0m' # No Color | |
dirs=( "." "applications/app.firstvet.com" "applications/sv.app.firstvet.com" ) | |
setColor() { | |
dir_norm=$(echo "$1" | sed "s/[\/.]/_/g") |
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 | |
# shellcheck disable=SC2034 | |
src='\033[0;32m' | |
applications_sv_app_firstvet_com='\033[0;36m' | |
applications_app_firstvet_com='\033[0;35m' | |
NC='\033[0m' # No Color | |
dirs=( "." "applications/app.firstvet.com" "applications/sv.app.firstvet.com" ) | |
setColor() { | |
dir_norm=$(echo "$1" | sed "s/[\/.]/_/g") |
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 | |
image=/var/www/html/DucksManager-old/edges/se/elements/KAP.Fond-169-195.png | |
doubles=(181 188 194) | |
start=169 | |
end=195 | |
width=$(identify -format '%w' $image) | |
height=$(identify -format '%h' $image) | |
crop_size_single=$(echo "scale=3;$width/(${#doubles[@]}+1+$end-$start)" | bc) |
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
select uc.universecode AS "Univers", | |
concat( | |
SUBSTRING_INDEX( | |
group_concat(distinct character_examples.charactername), | |
',', | |
5), | |
',...') AS "Exemples de personnages de cet univers", | |
count(distinct uc.charactercode) AS "Nombre de personnages", | |
count(distinct s.storycode) AS "Histoires avec au moins un personnage de cet univers" | |
from inducks_universe u |
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 | |
# Usage : chmod +x graphviz-linter.sh && ./graphviz-linter.sh myfile.dot | |
path=$1 | |
output='' | |
indent=0 | |
while read line; do | |
if [[ "${line:0:1}" = '}' ]]; then indent=$((indent - 1)); fi |
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 | |
grep -hrEo "ui-sref='([^(']+)" src | sed "s/ui-sref='//g" | \ | |
while read -r sref; do | |
echo $sref;grep -r ".state('$sref'" src | |
done |
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
(/(\$[a-zA-Z0-9]+) = (new [^;]+;)\n([ ]{4})\3\1->/g,'$1 = $2\n$3$3$1\n$3$3$3->') | |
(/(\$[a-zA-Z0-9]+)\n([ ]{4})(\2\2->(?!persist)[^;]+);\n\2\2\1->/g,'$1\n$2$3\n$2$2$2->') |
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
// https://gist.github.com/andrei-m/982927#gistcomment-1931258 looks like the fastest Levenshtein implementation | |
const levenshtein = (a, b) => { | |
if (a.length === 0) return b.length | |
if (b.length === 0) return a.length | |
let tmp, i, j, prev, val | |
// swap to save some memory O(min(a,b)) instead of O(a) | |
if (a.length > b.length) { | |
tmp = a | |
a = b | |
b = tmp |
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
-- On DM server | |
create server 'coa_federated' foreign data wrapper 'mysql' options (HOST '127.0.0.1', DATABASE 'coa_federated', USER 'root', PASSWORD 'changeme', PORT 3306, SOCKET '', OWNER 'root'); | |
sudo cp /var/www/inducks/createtables_clean.sql /var/www/inducks/createtables_clean_federated.sql | |
sudo sed -i "s/MyISAM/FEDERATED CONNECTION=\"coa\"/g" /var/www/inducks/createtables_clean_federated.sql | |
-- On coa server | |
CREATE USER federated@'%' IDENTIFIED BY 'changeme'; | |
GRANT ALL ON coa.* TO federated@'%'; | |
FLUSH PRIVILEGES; |
NewerOlder