This file contains hidden or 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
from omero.gateway import BlitzGateway | |
import omero | |
from omero.rtypes import rstring | |
from omero_model_ProjectI import ProjectI | |
from omero_model_DatasetI import DatasetI | |
from omero_model_ProjectDatasetLinkI import ProjectDatasetLinkI | |
from omero_model_ExperimenterI import ExperimenterI | |
from omero_model_ExperimenterGroupI import ExperimenterGroupI | |
from omero_model_PermissionsI import PermissionsI | |
from omero_model_TagAnnotationI import TagAnnotationI |
This file contains hidden or 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
#!/bin/sh | |
set -u | |
set -e | |
echorun() { | |
echo "$@" | |
"$@" | |
} |
This file contains hidden or 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
#!/bin/bash | |
# Sign all jars required by OMERO.server webstart | |
set -eu | |
if [ $# -ne 5 ]; then | |
echo "USAGE: `basename $0` keystore.jks keystore-password private-key-password alias server_directory|server.zip" | |
exit 2 | |
fi |
This file contains hidden or 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
ome-mvm-109:~ hudson$ brew install ice --with-python | |
==> Downloading http://www.zeroc.com/download/Ice/3.5/Ice-3.5.1.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/ice-3.5.1.tar.gz | |
==> Patching | |
patching file cpp/config/Make.rules.Darwin | |
patching file py/config/Make.rules.Darwin | |
patching file cpp/src/IceGrid/DescriptorHelper.h | |
==> make prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/man1 ins | |
==> make install prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/ | |
==> make prefix=/usr/local/Cellar/ice/3.5.1 install_mandir=/usr/local/Cellar/ice/3.5.1/share/man/man1 ins |
This file contains hidden or 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
For Sale: | |
£5,995 (ono) | |
https://www.flickr.com/photos/wagonbuild/sets/72157620409735393/ | |
Volkswagen transporter T25 campervan reimo conversion new MOT and taxed ready to go. | |
1,6 diesel reliable & 5 speed economical. Solid and clean for its age 1988 E, I have looked after this campervan | |
servicing and repairing for the last 9 years,(over 3 owners) and it has done well, including a tour of Europe with no hiccups. |
This file contains hidden or 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
#!/bin/bash | |
# When updating this script, make the same changes to the PrinterInstallerClientUninstall Automator app | |
echo "Stopping application"osascript -e 'tell application "PrinterInstallerClient" to quit' || true | |
echo "Removing services"launchctl unload /Library/LaunchDaemons/com.printerlogic.client.plist || truelaunchctl remove com.printerlogic.client || truelaunchctl unload /Library/LaunchAgents/com.printerlogic.client.scheduled_refresh.plist || true# Remove any scheduled_refresh tasks from older versionslaunchctl remove com.printerlogic.client.scheduled_refresh || truelaunchctl unload /Library/LaunchAgents/com.printerlogic.client.scheduled_refresh.*.plist || truekillall -9 PrinterInstallerClientService || truekillall -9 PrinterInstallerClientInterface || truerm -f /Library/LaunchDaemons/com.printerlogic.client* || truerm -f /Library/LaunchAgents/com.printerlogic.client* || true | |
echo "Unregistering apps"pkgutil --packages | grep printerlogic | xargs -n 1 pkgutil --forget 2> /dev/null || truerm -rf |
This file contains hidden or 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
<key>Triggers</key> | |
<array> | |
<dict> | |
<key>action</key> | |
<string>HighlightTrigger</string> | |
<key>parameter</key> | |
<integer>2005</integer> | |
<key>regex</key> | |
<string>failed</string> | |
</dict> |
This file contains hidden or 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
# Replacing this with a regex to catch all the current logfiles: (note: may want to split _brokenrequest.log as the format is very different) | |
/opt/omero/omero/OMERO-CURRENT/var/log/*.* regex=.*(\.log|\.err)$ | |
# ignore up to 10-70% of servants used | |
I .*[1234567]0 of servants.* | |
# Ignore OMEROweb.log 404s | |
I Not Found | |
I .*Already locked.* | |
I .*Reverse for '{}' not found.* | |
# Ignore Django _brokenrequest 404s | |
I 404 |
This file contains hidden or 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
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provider "virtualbox" do |vb| | |
config.vm.network "forwarded_port", guest: 80, host: 8080, | |
auto_correct: true | |
config.vm.network "forwarded_port", guest: 443, host: 8443, | |
auto_correct: true | |
config.vm.network "forwarded_port", guest: 4063, host: 4063, | |
auto_correct: true | |
config.vm.network "forwarded_port", guest: 4064, host: 4064, |
This file contains hidden or 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
# Owned, and run by, the OMERO-server O.S. user | |
# Executed like ./upgrade-server.sh new-omero-version-dist.tar.gz | |
set -e | |
set -u | |
set -x | |
DIR=$1 | |
# Your command to check status and stop OMERO.server |
OlderNewer