Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kaplun on github.
  • I am kaplun (https://keybase.io/kaplun) on keybase.
  • I have a public key ASAzU9ooocxq9Vjh82OD2GpqxAirlDTugZqaRFkMF1Su4wo

To claim this, I am signing this object:

<?xml version="1.0"?>
<clientConfig version="1.1">
<emailProvider id="protonmail.com">
<domain>protonmail.com</domain>
<domain>protonmail.ch</domain>
<domain>pm.me</domain>
<displayName>ProtonMail</displayName>
<displayShortName>ProtonMail</displayShortName>
@kaplun
kaplun / ansible.cfg
Created February 1, 2018 15:16 — forked from towo/ansible.cfg
GPG wrapping Ansible Vault
[defaults]
hostfile = some-environment
vault_password_file = bin/gpg-wrapper.sh
for elem in a:
recid = elem[0]
cdsid = elem[3]
out.setdefault(cdsid, recid)
if out[cdsid] != recid:
print "http://inspirehep.net/record/%s" % out[cdsid], "http://inspirehep.net/record/%s" % recid, "https://inspirehep.net/record/merge/#recid1=%s&recid2=%s" % (out[cdsid], recid)
@kaplun
kaplun / es_cli.py
Created April 11, 2017 21:56 — forked from david-caro/es_cli.py
Small ES cli tool to remap an index
#!/usr/bin/env python
# encoding: utf-8
import json
import re
import time
import logging
import click
from elasticsearch import Elasticsearch
from elasticsearch.helpers import reindex
Gran Sasso --- INFN Laboratori Nazionali del Gran Sasso, LNGS, Assergi, Italy
INFN, Milan --- Dipartimento di Fisica - Università degli Studi e INFN - Milano 20133 - Italy
Okayama U. --- Department of Physics, Okayama University, Okayama 700-8530, Japan
Virginia Tech. --- Virginia Tech.
IPCMS, Strasbourg --- Institut de Physique et Chimie des Matériaux de Strasbourg - 23 rue du Loess - F-67037 - Strasbourg - France
Dresden, Tech. U. --- Technische Universität Dresden, 01062, Dresden, Germany
Irkutsk State U. --- Irkutsk State University, Irkutsk 664003, Russia
Beijing, Inst. High Energy Phys. --- Institute of High Energy Physics - CAS - Beijing 100049 - China
CERN --- CERN, Geneva, Switzerland
Hiroshima U. --- Graduate School of Advanced Science of Matter - Hiroshima U. - Kagamiyama - Higashi-Hiroshima - 739-8530 - Hiroshima - Japan
This file has been truncated, but you can view the full file.
{
"Bergamo U., Ingengneria Dept.": [
"Department of Engineering and Applied Sciences - U. of Bergamo - Via Marconi 5 - Dalmine (BG) - Italy",
"U. of Bergamo Viale Marconi 5 - I-24044 Dalmine (BG) - Italy",
"Universit&#x00E0; di Bergamo, Dipartimento di Ingegneria e Scienze Applicate, Viale Marconi 5, I- 24044 Dalmine (BG), Italy",
"Universita degli Studi di Bergamo - Italy",
"U. of Bergamo - Via Marconi 5 - Dalmine (BG) - Italy"
],
"Hasylab, DESY": [
"DESY Theory Group",
From 01060edd4b946823fb5799b0c78edf6afb70da36 Mon Sep 17 00:00:00 2001
From: Micha Moskovic <michamos@gmail.com>
Date: Wed, 30 Nov 2016 15:39:24 +0100
Subject: [PATCH] api: correct handling of non-ascii references
Signed-off-by: Micha Moskovic <michamos@gmail.com>
kbs: report numbers update
* Add new often cited report numbers, found with
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<collection xmlns="http://www.loc.gov/MARC21/slim">
<record>
<datafield tag="035" ind1=" " ind2=" ">
<subfield code="9">arXiv</subfield>
<subfield code="a">oai:arXiv.org:1611.05330</subfield>
</datafield>
<datafield tag="037" ind1=" " ind2=" ">
<subfield code="9">arXiv</subfield>
<subfield code="a">arXiv:1611.05330</subfield>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<collection xmlns="http://www.loc.gov/MARC21/slim">
<record>
<datafield tag="035" ind1=" " ind2=" ">
<subfield code="9">arXiv</subfield>
<subfield code="a">oai:arXiv.org:1611.05165</subfield>
</datafield>
<datafield tag="037" ind1=" " ind2=" ">
<subfield code="9">arXiv</subfield>
<subfield code="a">arXiv:1611.05165</subfield>