pkg install -y bash wget git cmake gmake gcc11 pkgconf python311 py311-pipenv py311-pip openssl
git clone --branch v2.8.15 --depth 1 --recursive https://github.com/RediSearch/RediSearch.git
import java.io.*; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.nio.charset.StandardCharsets; | |
import java.math.BigInteger; | |
public class PalindromeCheck { |
service.doc: | |
dest-directory: file:./service-files | |
temp-dir: file:./service-files/service-temp-dir | |
service.storage.location: ./ssfiles |
eclipse { | |
project { | |
resourceFilter { | |
appliesTo = 'FOLDERS' | |
type = 'EXCLUDE_ALL' | |
recursive = false | |
matcher { | |
id = 'org.eclipse.ui.ide.multiFilter' | |
arguments = '1.0-name-matches-false-false-node_modules' | |
} |
# ~/.gitconfig | |
# Simple git configuration with global ignore file. | |
[user] | |
name = rahogata.* | |
email = rahogata.*@**.com | |
useConfigOnly = true | |
[core] | |
excludesfile = /home/rahogata/.gitignore_global | |
editor = vi | |
[push] |
syntax enable | |
set number | |
set tabstop=4 | |
set smartindent | |
set shiftwidth=4 | |
set expandtab | |
set backspace=indent,eol,start | |
au BufNewFile,BufRead Jenkinsfile setf groovy |
/** | |
* | |
*/ | |
package com.rahogata.demowebapp; | |
import java.lang.reflect.Field; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.context.ApplicationContext; |
package com.rahogata.demowebapp; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.boot.SpringApplication; | |
import org.springframework.boot.autoconfigure.SpringBootApplication; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.core.env.Environment; | |
import org.springframework.stereotype.Component; | |
import org.springframework.stereotype.Service; |
#!/bin/sh | |
# Name: postfix_setup | |
# Description: Install and minimal configure postfix. | |
# Args: $1 -> FQDN | |
# Pre-requisites: | |
# Add FQDN as host name in /etc/hosts with format Eg: mail.domain.com | |
# where mail is your host name and domain.com is your domain name. | |
# If required change /etc/hostname and reboot. | |
# Eg. /etc/hosts | |
# 127.0.1.1 mail.domain.com mail |