These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html
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
#!/usr/bin/env sh | |
# Might need to adjust awk $3 $4 according to OS | |
# Add $5 and so on to get more granularity | |
# This one is for Mac OSX | |
# *Test* it out with various files. YMMV. | |
locate "$1" | awk -F/ '{gsub($NF,""); print $3 "/" $4}' \ | |
| sort | uniq -c |
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 | |
cal $(date -v +1m "+%m %Y") |
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 | |
cal | GREP_COLOR="32" grep --color -C6 -E "(^| )$(date +%e)" |
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
SET sqlprompt '&_user:&_connect_identifier > ' | |
define _editor=vi | |
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
Enter the following commands to shut down the instance: | |
$ sqlplus /nolog | |
SQL> CONNECT SYS/sys_password as SYSDBA | |
SQL> SHUTDOWN NORMAL | |
Enter the following commands to start the instance: | |
$ sqlplus /nolog |
- [Oracle Access Manager Access SDK Java API Reference] (http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e22472/overview-summary.html)
- [Oracle Virtual Directory Java API Reference] (http://docs.oracle.com/cd/E12839_01/apirefs.1111/e10688/toc.htm)
- [Oracle Identity Manager 11g (in case of custom password management interface)] (http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/toc.htm)
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
ls *.wlst | xargs -I{} -n 1 sh -c "echo '--- {} ---'; cat {}" |
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
connect('weblogic', 'Abcd1234', 't3://localhost:7001') | |
listLoggers(pattern="oracle.oam.*", target="oam_server1") | |
exit() |
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 | |
ps -ef | grep "weblogic\.Name" | sed 's/.*weblogic\.Name=//g' | cut -d ' ' -f 1 |
OlderNewer