Skip to content

Instantly share code, notes, and snippets.

View rmoff's full-sized avatar
:shipit:
Shitposting and Memes

Robin Moffatt rmoff

:shipit:
Shitposting and Memes
View GitHub Profile
@rmoff
rmoff / custom-login-failure.md
Created June 24, 2014 09:16
Redirect OBIEE login page on failure
  1. Open Oracle_BI1/bifoundation/web/msgdb/pages/common/signin.html in a text editor

  2. Find the line <sawm:if name="logonError"> (c. line 36)

  3. Insert a line after it and add the following

     <script language="javascript">setTimeout(function(){window.location.replace("http://rittmanmead.com")},1000)</script>
    
  4. Save the file

  5. Restart Presentation Services

@rmoff
rmoff / obiee-webservices-v8.md
Last active August 29, 2015 14:03
Changes in OBIEE v8 WSDL

Taken from v.11.1.1.7.140114

    http://biee-server:9704/analytics-ws/saw.dll/wsdl/v8

Some are covered in the documentation, some aren't.

Services:

MultiTenancyManagementServiceSoap

@rmoff
rmoff / gist:379e6ce46eb128110f38
Last active August 14, 2020 18:39
Kibana 3 and Elasticsearch 1.4 - CORS problem

Kibana 3 against ElasticSearch 1.4 throws an Connection Failed screen. The error text says to set http.cors.allow-origin, but it misses out the important http.cors.enabled: true

Working config:

$ grep cors elasticsearch-1.4.0.Beta1/config/elasticsearch.yml
http.cors.allow-origin: "/.*/"
http.cors.enabled: true
@rmoff
rmoff / gist:3890bf310f1a55bc356c
Created October 20, 2014 11:03
OBIEE AGGREGATE AT - LEVEL SYNTAX
http://docs.oracle.com/cd/E21043_01/bi.1111/e10544/appasql.htm#CHDJJFEA
Aggreate(x at y) — what syntax is ‘y’ in, cos I’m getting Unresolved Level regardless of what I try
Answer:
Gianni: 'y' must be in the format of "presentation table"."hierarchy name"."hierarchy level"
{
"interactionId" : "1e43eae605e9a380e074de1a617806dc",
"subscriptionId" : "f6cf211e03dca5da384786676c31fd3e",
"hash" : "65bd9dc4943ec426b04819e6291ef1ce",
"hashType" : "stream",
"interaction" : {
"interaction" : {
"author" : {
"avatar" : "http://pbs.twimg.com/profile_images/453880711519289344/PH0ZcxmW_normal.png",
"id" : 27462864,
@rmoff
rmoff / obips_logging.md
Last active August 29, 2015 14:08
Custom debug logging in Presentation Services
@rmoff
rmoff / logstash-1.5-node.md
Created January 27, 2015 09:51
Logstash 1.5: The error reported is: pattern ... not defined

Running an existing conf file from logstash 1.4.2 with logstash-1.5.0.beta1 fails with :

The error reported is:
  pattern %{WLSLOG} not defined

This seems to be because the grok plugin no longer defaults patterns_dir to ./patterns

Fix is to change all uses of grok in conf file to include patterns_dir:

grok {

@rmoff
rmoff / foo.md
Last active January 5, 2024 17:17
cx_Oracle install on MacOS
  1. Download Instant Client:
  • instantclient-basic-macos.x64-11.2.0.4.0.zip
  • instantclient-sdk-macos.x64-11.2.0.4.0.zip
  • instantclient-sqlplus-macos.x64-11.2.0.4.0.zip
  1. Unzip and move to /opt

  2. Create symlink

@rmoff
rmoff / 01 symptom.sh
Created March 18, 2015 16:23
Proxmox - cannot enter container, cannot stop it
root@proxmox03:~# vzctl enter 122
enter into CT 122 failed
root@proxmox03:~# vzctl stop 122
Stopping container ...
Child 91041 exited with status 7
Killing container ...
Child 91092 exited with status 7
Unable to stop container
@rmoff
rmoff / gist:79274b9b26b2e1e3306c
Created April 7, 2015 15:37
320101 Attempt to target more than one WLDFSystemResource to server
Error: 320101]Attempt to target more than one WLDFSystemResource to server
Cause: BI/BI Apps come with a pre-defined Diagnostic Module (Module-FMWDFW), which means that you cannot create a new one targeting the same servers. If you want to add your own stuff you need to either add it to this module or disable it first and then create your own.