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
00:36:03.913846+0100 cfprefsd com.apple.defaults cfprefsd 48840 error rejecting read of { kCFPreferencesAnyApplication, root, kCFPreferencesCurrentHost, no container, managed: 0 } from process 203 (coreduetd) because accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access | |
00:36:03.913815+0100 kernel 0 error Sandbox: coreduetd(203) deny(1) file-read-data /private/var/root/Library/Preferences/ByHost/.GlobalPreferences.9ECBF72E-7945-535E-9D18-AC4DC268CDD0.plist | |
00:36:03.914016+0100 kernel 0 error Sandbox: coreduetd(203) deny(1) file-read-data /private/var/root/Library/Preferences/.GlobalPreferences.plist | |
00:36:03.914047+0100 cfprefsd com.apple.defaults cfprefsd 48840 error rejecting read of { kCFPreferencesAnyApplication, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 203 (coreduetd) because accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access | |
00:36:03.91423 |
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
#!/bin/bash | |
# Installation script for Oracle Identity and Access Management | |
# | |
# This procedure will create the root script to execute before the | |
#+software installation. You need to modify etc/configs.sh to | |
#+your needs. Content of the root scripts: | |
#+ * user and group | |
#+ * base directory | |
#+ * system packages for fedora/redhat. |
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
# Deployment shell functions | |
# | |
# Several functions for creating users and groups, adding system | |
#+packages, and setting system parameters and security limits. | |
# | |
_LIBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# create unix group, check if exists before | |
# params: name, id | |
create_group() { |
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
## execute manualy, step by step | |
## | |
export OPENSSL_CONF=/etc/ssl/openssl.cnf | |
openssl genrsa -out server.key 2048 | |
openssl req -new -key server.key -out server.crt -x509 -days 365 | |
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
cd yaml-0.1.4 | |
./configure --prefix=/appl/oracle/local | |
make | |
make install | |
cd ../ruby-1.9.3-p125 | |
make clean | |
./configure --prefix=/appl/oracle/local --enable-shared --disable-install-doc --with-opt-dir=/appl/oracle/local/lib | |
make | |
make install |
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
############################################################### | |
# Joomla to Oracle Web Center Content Server transformer | |
# Thanks to http://railstips.org/ | |
# | |
gem 'libxml-ruby' | |
%w[benchmark pp rubygems htmlentities xml].each { |x| require x } | |
puts Benchmark.measure { | |
parser = XML::Parser.file('input/input.xml') |
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
-- locks in Oracle | |
SELECT substr(DECODE(request,0,'Holder: ','Waiter: ')||sid,1,12) sess, | |
id1, id2, lmode, request, type, inst_id | |
FROM GV$LOCK | |
WHERE (id1, id2, type) IN | |
(SELECT id1, id2, type FROM GV$LOCK WHERE request>0) | |
ORDER BY id1, request; |
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
#!/bin/sh | |
sudo svn co http://svn.macports.org/repository/macports/trunk/dports /usr/local/dports | |
cd /usr/local/dports | |
sudo portindex /usr/local/dports |