ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yaz
yaz-client will then be available and you can use it like this:
run the program and you get a Z> prompt.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yaz
yaz-client will then be available and you can use it like this:
run the program and you get a Z> prompt.
<!doctype html> | |
<html> | |
<head> | |
<title>Exemple de Leaflet sans Browserify</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" /> | |
<style type="text/css"> | |
#map { height: 380px; } | |
</style> |
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
#!/usr/bin/env ruby | |
toc = "# Table of Contents\n" | |
newmd = "" | |
ARGF.each_line do |line| | |
newmd << line | |
next if !line.start_with?("#") | |
heading = line.gsub("#", "").strip |
#!/bin/bash | |
# Configuration de base: datestamp e.g. YYYYMMDD | |
DATE=$(date +"%Y%m%d") | |
# Dossier où sauvegarder les backups (créez le d'abord!) | |
BACKUP_DIR="/backup/mysql" |
#!/bin/bash | |
REGION="ap-southeast-2" | |
EFS="fs-a75dbd9e.efs.$REGION.amazonaws.com" | |
CMIS_ENV=cmis-uat | |
# Adapted from https://github.com/collectiveaccess/providence/blob/develop/Vagrantfile | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
set -e |