Skip to content

Instantly share code, notes, and snippets.

@Ambalus
Ambalus / dcm4chee.sh
Created August 6, 2016 17:12 — forked from edueo/dcm4chee.sh
Install dcm4chee
#!/bin/bash
mkdir -p /vagrant/dcm
cd /vagrant/dcm/
wget -O dcm4chee-2.17.3.zip 'http://downloads.sourceforge.net/project/dcm4che/dcm4chee/2.17.3/dcm4chee-2.17.3-mysql.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdcm4che%2Ffiles%2Fdcm4 chee%2F2.17.3%2F&ts=1378999040&use_mirror=ufpr' &
wget -O dcm4che-2.0.23.zip 'http://downloads.sourceforge.net/project/dcm4che/dcm4che2/2.0.23/dcm4che-2.0.23-bin.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdcm4che%2Ffiles%2Fdcm4che2 %2F2.0.23%2F&ts=1378999971&use_mirror=ufpr' &
wget -O jboss-4.2.3.zip 'http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjboss%2Ffiles%2FJBoss%2FJ Boss-4.2.3.GA%2F&ts=1378999423&use_mirror=ufpr' &
# wget -O dcmtk-3.6.0.zip 'ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk360/dcmtk-3.6.0.zip' &
wget -O oviyam-1.war 'https://dl.dropboxusercontent.com/u/28191834/proradis-config/programas/oviyam-1.war' &
wget -O oviyam2.war 'https://dl.dropboxu
@Ambalus
Ambalus / dcm4chee_install.sh
Last active August 10, 2017 15:47 — forked from gaelicWizard/dcm4chee_install.sh
bash script to install dcm4chee and components on fresh Ubuntu 12.04 image
#!/bin/bash
set -e
function usage()
{
echo "Usage: $0 -u <Postgres_Username> -p <Password>"
}
@Ambalus
Ambalus / build.sh
Last active August 4, 2016 11:32 — forked from ashumilova/build.sh
#!/bin/bash
# Orthanc - A Lightweight, RESTful DICOM Store
# Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics
# Department, University Hospital of Liege, Belgium
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
@Ambalus
Ambalus / install-mongo.sh
Created December 22, 2015 17:00 — forked from vilasmaciel/install-mongo.sh
Install mongodb
#!/bin/sh
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-get update
sudo apt-get install -y mongodb-org
@Ambalus
Ambalus / php7.sh
Created November 22, 2015 07:19 — forked from jzumbrun/php7.sh
php7
sudo apt-get remove php5*
git clone https://github.com/kasparsd/php-7-debian.git
cd php-7-debian
./build.sh
./install.sh
sudo rm -Rf php-7-debian/
cd /usr/local/php7/bin
@Ambalus
Ambalus / SetIBlockAdminListDisplaySettings.php
Created November 20, 2015 14:19 — forked from mesilov/SetIBlockAdminListDisplaySettings.php
Программная настройка столбцов списка элементов ИБ в админке инфоблоков для bitrix
/**
* Настройка столбцов списка элементов ИБ в админке инфоблоков
*
* @param integer $IBlockID — ID инфоблока
* @param string $arIBlockListAdminColumns — символьные коды полей и свойств для показа в списке элементов ИБ
* @param string $orderByColumnName — наименования поля или свойства по которому нудно отсортировать
* @param string $orderDirection - направление сортировки
* @param integer $pageSize - количество элементов на страницу
* @param boolean $isToAllUsers - значение будет для всех, или для текущего пользователя
* @return boolean
@Ambalus
Ambalus / clariondate.sql
Last active November 27, 2015 15:57 — forked from fushnisoft/clariondate.sql
Convert a Clarion Date (INT) to SQL DateTime
/*
A Clarion standard date is the number of days that have elapsed since
December 28, 1800. The range of accessible dates is from January 1, 1801
(standard date 4) to December 31, 9999 (standard date 2,994,626). Date
procedures will not return correct values outside the limits of this range.
The standard date calendar also adjusts for each leap year within the range of
accessible dates. Dividing a standard date by modulo 7 gives you the day of the
week: zero = Sunday, one = Monday, etc.
If you are working with the newer DATE type fields (introduced in MSSQL2008)
---------------------------------------------------------------------
| The CASC (Content Addressable Storage Container) Filesystem |
| Warlords of Draenor Alpha, Build 6.0.1.18125 |
| Written April 14th, 2014 by Caali |
| Version 1.2 |
---------------------------------------------------------------------
Distribution and reproduction of this specification are allowed without
limitation, as long as it is not altered. Quotation in other works is
freely allowed, as long as the source and author of the quote are stated.