Skip to content

Instantly share code, notes, and snippets.

View selvait90's full-sized avatar

Selvakumar Arumugam selvait90

View GitHub Profile
@selvait90
selvait90 / CodersWay
Last active September 17, 2017 10:34
Coders
https://docs.google.com/document/d/1r1i_ZbvfiVPKpee4-8A3HHAShSP451FBJfJdrsKgBQM/
# Requirements
* Install MySQL
sudo apt-get install mysql-client
sudo apt-get install mysql-server
# Hive install
cd
@selvait90
selvait90 / 1.Install-Hadoop.txt
Last active September 17, 2017 08:06
Hadoop Workshop
# Prerequisite
sudo apt-get update
java -version
sudo apt-get install default-jre
sudo apt-get install default-jdk
sudo apt-get remove openssh-client
sudo apt-get install openssh-client
sudo apt-get install openssh-server
@selvait90
selvait90 / OrderedHash.rb
Created July 27, 2015 19:43
Ordered Hash
>> oh=ActiveSupport::OrderedHash.new
=> #<OrderedHash {}>
>> oh
=> #<OrderedHash {}>
>> oh['secondary_entity_id']= "169435" => "169435"
>> oh["place_entity_attributes"] = {"id"=>"123456"}
=> {"id"=>"123456"}
@selvait90
selvait90 / Readme
Last active August 9, 2020 00:02
Enable https on Pentaho BA Server using nginx Reverse Proxy
I am trying to enable https for the Pentaho BA Server using nginx reverse proxy.
I have posted the tomcat and nginx configurations in below.
I am able to access the Pentaho BA server login page https://test.mydomain.org/pentaho-test/Login
But when i tried to login with right credentials, I am getting the Mixed content error(http & https) in browser.
Please help to handle this
Browser Error:
Mixed Content: The page at 'https://test.mydomain.org/pentaho-test/Login' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test.mydomain.org/pentaho-test/Home?locale=en_US'. This request has been blocked; the content must be served over HTTPS.
@selvait90
selvait90 / environment
Last active January 8, 2017 10:47
Pentaho Data Integration failed to connect PostgreSQL - sun.jdbc.odbc.JdbcOdbcDriver error
* Operating System
OS X Yosemite 10.10.2
* Java Version
$ java -version
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
* JRE Version
$ /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
%% start of file `template.tex'.
%% Copyright 2006-2013 Xavier Danaux (xdanaux@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
\documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
\usepackage[scale=0.8]{geometry}
\usepackage{hyperref}
@selvait90
selvait90 / linkedin.json
Last active January 8, 2017 10:48
LinkedIn Response
{"certifications":{"total":1,"all":[{"id":42,"name":"CLOUDU CERTIFICATE"}]},"educations":{"total":2,"all":[{"degree":"Bachelor of Technology (B.Tech.)","end_date":{"year":2011},"field_of_study":"Information Technology","id":146425954,"school_name":"Kongu Engineering College","start_date":{"year":2007}},{"degree":"School","end_date":{"year":2007},"id":112785270,"school_name":"JRC Higher Secondary School","start_date":{"year":2000}}]},"email_address":"selvait90@gmail.com","first_name":"Selvakumar","honors_awards":{"total":5,"all":[{"id":66,"issuer":"Cognizant Technology Solutions","name":"Team Synergy Award - Q3 2012"},{"id":65,"issuer":"Cognizant Technology Solutions","name":"Hat’s Off Award - September 2012"},{"id":64,"issuer":"Cognizant Technology Solutions","name":"Team Synergy Award - Q2 2012"},{"id":63,"issuer":"Cognizant Technology Solutions","name":"Hat’s Off Award - June 2012"},{"id":67,"issuer":"Kongu Engineering College","name":"Best Student in Co-Curricular Activities"}]},"languages":{"total":1,"all
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation
#
# This file is part of TriSano.
#
# TriSano 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.
#
# TriSano is distributed in the hope that it will be useful, but
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 The Collaborative Software Foundation
#
# This file is part of TriSano.
#
# TriSano 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.
#
# TriSano is distributed in the hope that it will be useful, but