Skip to content

Instantly share code, notes, and snippets.

View clrh's full-sized avatar

Claire Hernandez clrh

View GitHub Profile
@clrh
clrh / gist:fa7303c30ad2597299f7f33585666393
Created January 18, 2022 14:47
UNIMARCslimUtils.xsl
<?xml version='1.0'?>
<!DOCTYPE stylesheet>
<xsl:stylesheet version="1.0"
xmlns:marc="http://www.loc.gov/MARC21/slim"
xmlns:items="http://www.koha-community.org/items"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:str="http://exslt.org/strings"
exclude-result-prefixes="marc items str">
<xsl:stylesheet version="1.0"
xmlns:marc="http://www.loc.gov/MARC21/slim"
xmlns:items="http://www.koha-community.org/items"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="marc items">
<xsl:import href="UNIMARCslimUtils.xsl"/>
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
<xsl:template match="/">
<xsl:apply-templates/>
// ==UserScript==
// @name Sophy with Pfaf
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Display Sophy phytotypes with Pfaf data
// @author Clrh
// @match https://sophy.tela-botanica.org/*
// @grant GM_xmlhttpRequest
// @grant GM_addStyle
// ==/UserScript==

Feedbacks branche de travail bibliostratus main_argv.py

Propositions:

  • 1 Avoir un nom de la commande plus "spécifique": main_argv.py => bibliostratus-cli.py

  • 2 Avoir un exemple d'utilisation: Ce qui peut être bienvenu est d'avoir un résumé de ce que la commande peut prendre en paramètres pour avoir rapidement une vue d'ensemble Usage: macommande --monoptionobligatoire monparamètreobligatoire [ --monoptionfacultativesansparamètre ] [ --monoptionfacultative monparamètreobligatoire ]

  • 3 Pouvoir bien identifier ce qui est facultatif ou pas

Quel est le meilleur paillage pour votre jardin ?

https://www.youtube.com/watch?v=AHUMAAHeFss

2:27 Pierres et cailloux

  • Ne nourrit pas le sol
  • Abris d'insectes (=> azote, phosphoe etc.)
  • Limite la croissance de spontannées
  • Durable

Que faire au jardin en octobre - Damien Dekarz

https://www.youtube.com/watch?v=GswUGxztnpU

0:32 Rappel des vidéos du mois de septembre

1:00 Arbres fruitiers

  • Idées : Plaqueminier (Kaki),Néflier d'allemagne, Goumi du japon, Asiminier,Feijoa (Goyavier du Brésil), Kumquat, Actinidia (Kiwi), Goji
  • Quelques pépinières: Burri, Dubosc, Cochet, Ribanjou, La Feuillade, Éric Dumont, Jabaouin etc. Bientôt l'Arche de Néo http://www.neo-pepiniere.fr/
@clrh
clrh / backup-full.sh
Created January 4, 2016 16:30 — forked from noreiller/backup-full.sh
Geeksphone Peak backup scripts
#!/bin/sh
BACKUP_DATE=`date +%Y-%m-%d_%H-%M-%S`
BACKUP_DIR="~/PEAK/BACKUPS/$BACKUP_DATE"
mkdir -p "$BACKUP_DIR"
cd "$BACKUP_DIR"
sudo adb pull /data/local/storage/persistent/
layout title description category tags
post
Opération #firefoxos, téléphone commandé !
firefoxos,nexus5
phone
firefoxos
nexus

Voilà 3 semaines que je suis sans smartphone, je résiste tant bien que mal, mais il faut que ça cesse :) Après de bons et loyaux services, mon Nexus 5 sous

@clrh
clrh / get-318-french-translations.sh
Created March 3, 2015 12:58
Dirty script to fetch current 3.18 french translation and launch installation
#!/bin/sh
# Dirty script to fetch current 3.18 french translation and launch installation
# Can be launch in a crontab for example every 15 minutes
# */15 * * * * /.../get-318-french-translations.sh
echo "go to po directory"
cd /home/koha/src/misc/translator/po
echo "remove all french translations"