- You have Ghostscript installed, right? Otherwise
sudo apt-get install ghostscript
- This is important and installs the headers (
iapi.h
etc) which are required but don't come with the default Ghostscript package:sudo apt-get install libgs-dev
- I also needed
sudo apt-get install gs-esp
- For me the pre compiled version of ImageMagick never accepted Ghostscript, so let's remove it:
sudo apt-get --purge remove imagemagick
- Get the source of ImageMagick, untar it,
cd ImageMagick-xx
./configure --with-gslib=yes
[and what else you need]- Confirm in the output near the bottom
gslib yes yes
and notgslib yes no
make
make install
- Run
convert -list configure | grep DELEGATES
=>DELEGATES bzlib djvu freetype gs jpeg jng jp2 lcms png tiff x11 xml zlib
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
# Yleiskommentteja | |
'''Läpikäynnin tarkoituksena oli ohjata kertaamaan kurssilla aiemmin | |
käsiteltyjä asioita ja toimia demonstraationa luennon sisällöille. | |
Tähän asti olimme käyttäneet harjoituksissa ainoastaan Pythonin | |
perustoiminnallisuuksia sekä NLTK-kirjastoa. Nyt otimme lisäksi | |
käyttöön Gensim-kirjaston, joka sisältää monia tiedonhaun tutkimuksessa | |
ja käytännön sovellutuksissa hyödyllisiä toiminnallisuuksia Python-kielellä | |
toteutettuna. |
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 | |
$auth_url = "http://search.isiknowledge.com/esti/wokmws/ws/WOKMWSAuthenticate?wsdl"; | |
$auth_client = @new SoapClient($auth_url); | |
$auth_response = $auth_client->authenticate(); | |
$search_url = "http://search.isiknowledge.com/esti/wokmws/ws/WokSearchLite?wsdl"; | |
$search_client = @new SoapClient($search_url); | |
$search_client->__setCookie('SID',$auth_response->return); | |
$search_array = array( |
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
#!/m1/oracle/app/oracle/product/11.2.0/db_1/perl/bin/perl | |
# this program processes a flat file created by M. Doran's # newbooks system (newbooks.txt) | |
# author of this program: # w. grotophorst, (c) 2005, Lost Packet Planet | |
# Program may be freely copied, modified & improved. | |
# Support for book covers and feed filtering by mjlassila, 2013. | |
######################################### | |
# use strict; | |
# use warnings; | |
use open qw/:std :utf8/; | |
use utf8; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
module namespace testaus= "http://testausta.coj/"; | |
import module namespace functx = "http://www.functx.com" at "functx-1.0-nodoc-2007-01.xqm"; | |
(: URL routing :) | |
declare | |
%restxq:GET | |
%restxq:path("testaus") |
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
--- | |
# Listing of search types and their component parts and weights. | |
# | |
# Format is: | |
# searchType: | |
# # CustomMunge is an optional section to define custom pre-processing of | |
# # user input. See below for details of munge actions. | |
# CustomMunge: | |
# MungeName1: | |
# - [action1, actionParams] |
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
<!-- START of: Content/account_overview.en.tpl --> | |
{assign var="title" value="JYKDOK help – Login and My account"} | |
{capture append="sections"} | |
{literal} | |
<h2 title="login">Login</h2> | |
<p>Login to JYKDOK if you want to manage your personal account details, loans, payments and reservation transactions, renew your loans, or place reservations. When logged in, you can save your searches and favourites for later use. JU students and staff can also use library e-materials from off campus with their own user accounts.</p> | |
<p>Click on <strong>Login</strong> to log into JYKDOK using either your library card or user account.</p> | |
<p><strong>Login with library card</strong></p> | |
<ul> |
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 | |
require_once 'RecordDrivers/MarcRecord.php'; | |
/** | |
* Local MarcRecord modifications. | |
*/ | |
class MarcRecordLocal extends MarcRecord | |
{ | |
/** | |
* Assign necessary Smarty variables and return a template name to | |
* load in order to display holdings extracted from the base record |
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 module namespace functx="http://www.functx.com"; | |
declare option output:indent "no"; | |
declare option output:item-separator "\n"; | |
declare option output:method "text"; | |
(: Käydään dumppi läpi tietue kerrallaan:) | |
for $record in /OAI-PMH/ListRecords/record/metadata/record | |
(: Muuttujaan talteen kaikki tietueen kentän 593 arvot.:) | |
(: On otettava huomioon, että 593-kenttiä voi olla useampi :) | |
(: Kentässä kurssikoodeja voi olla useita, pilkulla erotettuna :) | |
let $raw_course_codes:=$record/datafield[@tag="593"]/subfield[@code='a'] |