Skip to content

Instantly share code, notes, and snippets.

View jithset's full-sized avatar
🎯
Focusing

Jithin Sethumadhavan jithset

🎯
Focusing
View GitHub Profile
@jithset
jithset / Jenkinsfile
Created April 18, 2023 10:57
Build Image And Publish To Docker Registry
pipeline {
agent any
environment {
registry = "jithset/node-sample"
registryCredential = 'docker-hub'
dockerImage = ''
dockerImageLatest = ''
}
stages {

Keybase proof

I hereby claim:

  • I am jithset on github.
  • I am jithset (https://keybase.io/jithset) on keybase.
  • I have a public key ASDE5_Zq14ZoiQBk4Vu59hQ0f0PRxtAqNhyt7qfF9GgY5Ao

To claim this, I am signing this object:

Install Minikube with virtual-box VM driver

$ brew update && brew install kubectl && brew cask install docker minikube virtualbox
$ brew cask reinstall minikube
$ minikube delete
$ rm -fr ~/.minikube/
docker exec -it docker_dcdsnlacoreservice-postgresql_1 bash

Table Backup with Blob

pg_dump -U snlauser -t public.tbl_media_file --blobs scan_and_learn_arabic > tbl_mediafile.sql
sudo apt-get install build-essential
@jithset
jithset / keycloak_error_log.md
Created May 28, 2021 10:03
Keycloak Database Create In Schema Error logs
09:55:57,365 INFO  [org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory] (ServerService Thread Pool -- 69) Database info: {databaseUrl=jdbc:postgresql://fc-db-postgres:5432/fc_db, databaseUser=fc_db_user, databaseProduct=PostgreSQL 13.2, databaseDriver=PostgreSQL JDBC Driver 42.2.5}
09:56:03,075 INFO  [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 69) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml
09:56:34,855 ERROR [org.keycloak.connections.jpa.updater.liquibase.conn.DefaultLiquibaseConnectionProvider] (ServerService Thread Pool -- 69) Change Set META-INF/jpa-changelog-13.0.0.xml::json-string-accomodation::keycloak failed.  Error: ERROR: relation "realm_attribute" does not exist
  Position: 8 [Failed SQL: UPDATE REALM_ATTRIBUTE SET VALUE_NEW = VALUE, VALUE = NULL]
09:56:34,855 ERROR [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 69) Error ha
@jithset
jithset / quarkus-reference.md
Last active May 23, 2021 10:31
Reference DOC

Hibernate

quarkus.hibernate-orm.log.sql=true

@jithset
jithset / TallyIntegration.cs
Created January 2, 2021 06:56
Console application to get tally tables
class Program
{
static void Main(string[] args)
{
// string source = "PORT=9000;DRIVER=TallyODBC64;SERVER={(local)}";
// "Dsn=TallyODBC64_9000;uid=Administrator;pwd=admin"
// con = New OdbcConnection("DSN=TallyODBC_9000;PORT=9000;DRIVER=Tally ODBC Driver;SERVER={(local)}")
string source = "DSN=TallyODBC64_9000;PORT=9000;DRIVER=Tally ODBC Driver;SERVER={(local)}";
OdbcConnection TallyCollectionConnection = new OdbcConnection(source);
Hibernate:
select
role0_.id as id1_2_,
role0_.description as descript2_2_,
role0_.pid as pid3_2_,
role0_.role as role4_2_
from
Role role0_
order by
role0_.id limit ?
@jithset
jithset / ssh.md
Created December 13, 2018 08:15 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test