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.
{ | |
"intrinsic_fields" : { | |
"idno" : "TEST-123", | |
"type_id" : 43 | |
}, | |
"preferred_labels" : [ | |
{ | |
"locale" : "en_US", | |
"forename" : "Walter", | |
"middlename" : "H.", |
#!/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 |
{ | |
"intrinsic_fields" : { | |
"idno" : "TEST-123", | |
"type_id" : 43 | |
}, | |
"preferred_labels" : [ | |
{ | |
"locale" : "en_US", | |
"forename" : "Walter", | |
"middlename" : "H.", |
-- This creates a mysql table which contains the values of | |
-- datamodel.conf so that we can use the values in constructing | |
-- queries | |
DROP TABLE IF EXISTS cmis_table_numbers; | |
CREATE TABLE cmis_table_numbers ( | |
table_name VARCHAR(64) NOT NULL UNIQUE, | |
table_num INT(11) PRIMARY KEY, |
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.
#!/bin/sh | |
rsync="/usr/bin/rsync" | |
################################ | |
# VARIABLES | |
################################ | |
# General Variables | |
remote_server="yourserver.com" | |
remote_port="22" |
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 |
mkdir -p generated | |
sips -Z 29 --out generated/iPhoneSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/iPhoneSettings-29x29@2x.png sourceIcon.png | |
sips -Z 80 --out generated/iPhoneSpotlight-40x40@2x.png sourceIcon.png | |
sips -Z 120 --out generated/iPhoneApp-60x60@2x.png sourceIcon.png | |
sips -Z 29 --out generated/iPadSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/iPadSettings-29x29@2x.png sourceIcon.png | |
sips -Z 40 --out generated/iPadSpotlight-40x40.png sourceIcon.png |
{ | |
"intrinsic_fields" : { | |
"idno" : "NEWTEST-456", | |
}, | |
"remove_all_labels" : true, | |
"preferred_labels" : [ | |
{ | |
"locale" : "en_US", | |
"forename" : "Walter", | |
"middlename" : "H.", |