Skip to content

Instantly share code, notes, and snippets.

View jsicot's full-sized avatar

Julien Sicot jsicot

View GitHub Profile
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 10, 2024 19:40
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@pksunkara
pksunkara / config
Last active April 28, 2024 18:59
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[init]
defaultBranch = master
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
@gremau
gremau / trello-parser-readme.md
Last active March 18, 2024 18:21 — forked from RealOrangeOne/README.md
Trello JSON parser

Trello Parser

Download

Open a terminal, run this:

sudo curl https://gist.githubusercontent.com/gremau/290ab394c9bf2d6d03c18444ff60c225/raw/trello-parser.py -o /usr/local/bin/trelloparse && sudo chmod +x /usr/local/bin/trelloparse

Usage

$ trelloparse -h

usage: tp [-h] input output

@dinh
dinh / openrefine-tips.md
Last active March 3, 2024 04:35
[Useful recipes for achieving some tasks in OpenRefine] #openrefine #datawrangling #data

Useful recipes for achieving certain tasks in OpenRefine

This page collects OpenRefine recipes, small workflows and code fragments that show you how to achieve specific things with OpenRefine.

String Manipulation

Here are some examples of possible types of common string manipulation operations that you might encounter and how they can be achieved with the GREL-Functions. See also GREL String Functions.

Extract out the first value in a multi-valued cell

@hubgit
hubgit / marc-to-mods.php
Created April 24, 2012 16:54
Convert Harvard Library Bibliographic Dataset (MARC21) to MODS XML
<?php
require 'File/MARC.php';
$xsl = new DOMDocument;
$xsl->load('http://www.loc.gov/standards/mods/v3/MARC21slim2MODS3-4.xsl');
$xsltproc = new XSLTProcessor;
$xsltproc->importStylesheet($xsl);
$marcxml = new DOMDocument;
@MagnusEnger
MagnusEnger / tab2marc.pl
Created April 2, 2014 07:11
Tab separated to MARC via Catmandu
#!/usr/bin/perl
# Copyright 2013 Magnus Enger Libriotech
=head1 NAME
tab2marc.pl - Convert some tab-delimited data to MARCXML.
=head1 SYNOPSIS

Groupe Koha/ABES

Le groupe Koha-ABES de l'Hackaton Koha 2021 a évalué les services web de l'ABES dans la perspective de leur utilisation depuis le SIGB Koha.

Participants

  • ABES :
    • Michael Serror
  • Thomas Michaux
@MagnusEnger
MagnusEnger / doaj2koha.sh
Created November 8, 2011 22:35
Transform CSV data from DOAJ into MARC suitable for ingestion into Koha
#!/bin/bash
# doaj2koha.sh
#
# Get the DOAJ (http://www.doaj.org/) data in CSV format here:
# http://www.doaj.org/doaj?func=csv
# Save the data as doaj.csv
#
# If you are only interested in some of the journals in DOAJ you
# can probably use the grep command to extract only the lines that