This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template match="/"> | |
<html> | |
<head> | |
<style> | |
table, th, td { | |
border: 1px solid black; border-collapse: collapse; width:100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = "https://api-na.hosted.exlibrisgroup.com/almaws/v1/bibs/99374837900561?apikey=l7xx0e4..."; | |
echo "Calling $url ...\n"; | |
$curl = curl_init($url); | |
curl_setopt($curl, CURLOPT_URL, $url); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($curl, CURLOPT_HEADER, FALSE); | |
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'PUT'); | |
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/xml')); | |
$data = ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Vector; | |
import com.jcraft.jsch.Channel; | |
import com.jcraft.jsch.ChannelSftp; | |
import com.jcraft.jsch.ChannelSftp.LsEntry; | |
import com.jcraft.jsch.JSch; | |
import com.jcraft.jsch.JSchException; | |
import com.jcraft.jsch.Session; | |
import com.jcraft.jsch.SftpATTRS; | |
import com.jcraft.jsch.SftpException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Creating an input file of users for uploading to Alma. | |
Details in https://developers.exlibrisgroup.com/blog/uploading-users-from-excel-file-using-powershell/ | |
#> | |
Set-StrictMode -Version Latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define SIZE 26 | |
// See demo in https://youtu.be/vD1pToPe5N4 | |
String letters[SIZE]={ | |
// A to I | |
".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", | |
// J to R | |
".---", "-.-", ".-..", "--", "-.", "---", ".--.", "--.-", ".-.", | |
// S to Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01_q: | |
בכל השאלות אחד פירושו בכלל לא, וחמש פירושו ממש כן. ניתן לדלג על שאלות כאשר לא מעוניינים לענות או כאשר לא יודעים. שאלה ראשונה: מרגיש טוב היום? | |
02_q: | |
מאושר בחיים? | |
03_q: | |
אין כמו ארץ ישראל | |
04_q: | |
מטרה מרכזית לעבודה - כסף | |
05_q: | |
אם היה אפשר לקבל את המשכורת בלי לעבוד עדיין הייתי בא לעבודה |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html ng-app="exampleApp"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Example - GET using AngularJS</title> | |
<!-- based on http://www.apress.com/9781430264484 listing 20-3 --> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.min.js"></script> | |
<script> | |
angular.module("exampleApp", []) | |
.controller("defaultCtrl", function ($scope, $http) { |