Skip to content

Instantly share code, notes, and snippets.

@a2line
a2line / sourcelist
Created Dec 12, 2019
Insee récupération des fichiers de décès 1970-2019
View sourcelist
#!/bin/bash
curl http://data.cquest.org/insee_deces/LISEZMOI.txt --output LISEZMOI.txt
curl http://data.cquest.org/insee_deces/deces-1970.txt --output deces-1970.txt
curl http://data.cquest.org/insee_deces/deces-1971.txt --output deces-1971.txt
curl http://data.cquest.org/insee_deces/deces-1972.txt --output deces-1972.txt
curl http://data.cquest.org/insee_deces/deces-1973.txt --output deces-1973.txt
curl http://data.cquest.org/insee_deces/deces-1974.txt --output deces-1974.txt
curl http://data.cquest.org/insee_deces/deces-1975.txt --output deces-1975.txt
curl http://data.cquest.org/insee_deces/deces-1976.txt --output deces-1976.txt
curl http://data.cquest.org/insee_deces/deces-1977.txt --output deces-1977.txt
@a2line
a2line / gist:9e23127249eaa0ce0699af2d4f56e59b
Created May 1, 2018
make opt GeneWeb (when nothing has been changed)
View gist:9e23127249eaa0ce0699af2d4f56e59b
A2@D ~/geneweb
$ make opt
make -C wserver opt
make[1] : on entre dans le répertoire « /cygdrive/c/gw/wserver »
make[1]: rien à faire pour « opt ».
make[1] : on quitte le répertoire « /cygdrive/c/gw/wserver »
make -C dag2html opt
make[1] : on entre dans le répertoire « /cygdrive/c/gw/dag2html »
make[1]: rien à faire pour « opt ».
make[1] : on quitte le répertoire « /cygdrive/c/gw/dag2html »
View gist:5fedccf3001f4e3cdf4e88ce548692bd
A2@D ~/pilotes/configGenerator
$ ./genAll.sh
+ ./configGenerator.pl x_xkb_root
+ ./configGenerator.pl x_xkb_user
+ ./configGenerator.pl x_xmodmap
+ ./configGenerator.pl x_compose
Unknown symbol: dead_curl
Unknown symbol: U2133
No unicode for symbol: U2133
+ ./configGenerator.pl win_msklc_azerty
View gist:997b0e507ec2987da34e85489758edbc
A2@D ~/pilotes/configGenerator
$ ./genAll.sh
+ ./configGenerator.pl x_xkb_root
+ ./configGenerator.pl x_xkb_user
+ ./configGenerator.pl x_xmodmap
+ ./configGenerator.pl x_compose
Unknown symbol: U2422
No unicode for symbol: U2422
Unknown symbol: UA792
No unicode for symbol: UA792
@a2line
a2line / opamwin.bat
Last active Jun 23, 2021
batch to install Opam/OCaml/ocamlfind/Camlp5 for GeneWeb under Windows
View opamwin.bat
@echo off
REM Quick test for Windows generation: UAC aware or not ; all OS before NT4 ignored for simplicity
SET NewOSWith_UAC=YES
VER | FINDSTR /IL "5." > NUL
IF %ERRORLEVEL% == 0 SET NewOSWith_UAC=NO
VER | FINDSTR /IL "4." > NUL
IF %ERRORLEVEL% == 0 SET NewOSWith_UAC=NO
REM Test if Admin
CALL fltmc >nul 2>&1