Skip to content

Instantly share code, notes, and snippets.

View enesusta's full-sized avatar
:octocat:
mvn test

Enes Usta enesusta

:octocat:
mvn test
View GitHub Profile
@enesusta
enesusta / install-rabbitmq-on-k8s.md
Last active October 21, 2023 23:11
Install RabbitMQ on k8s guide

Deploy RabbitMQ on Kubernetes

Helm, the Kubernetes application package manager, can streamline the installation process and deploy resources throughout the cluster very quickly. To successfully deploy RabbitMQ, we will have to install the Helm package manager.

Install Helm

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
@enesusta
enesusta / init.sh
Created November 6, 2022 13:01
intel bay atom trail initalization
#!/bin/bash
sudo apt-get remove ubuntu-desktop
sudo apt-get autoremove
sudo apt-get remove nautilus nautilus-* gnome-power-manager gnome-screensaver gnome-termina* gnome-pane* gnome-applet* gnome-bluetooth gnome-desktop* gnome-sessio* gnome-user* gnome-shell-common zeitgeist-core libzeitgeist* gnome-control-center gnome-screenshot && sudo apt-get autoremove
sudo apt-get install -y curl
curl https://raw.githubusercontent.com/enesusta/vm/main/docker-init.sh | bash
curl https://raw.githubusercontent.com/enesusta/vimrc/master/.vimrc | head -11 > .vimrc
@enesusta
enesusta / Dockerfile
Created April 18, 2021 17:16
jdk11 dockerfile
FROM adoptopenjdk/openjdk11-openj9:x86_64-alpine-jdk11u-nightly-slim as build
ENV MAVEN_VERSION 3.5.4
ENV MAVEN_HOME /usr/lib/mvn
ENV PATH $MAVEN_HOME/bin:$PATH
COPY ./ ./
RUN apk add wget
@enesusta
enesusta / note.md
Created December 28, 2020 11:31
how to tag - docker custom registry

registry'e login oluyorsun.

docker login registry.trendyol.com

herhangi bir image'i cekiyorsun hub.docker'dan

npm install @rollup/plugin-node-resolve --save-dev
npm install @rollup/plugin-commonjs --save-dev
npm install @rollup/plugin-babel --save-dev
npm install eslint@7.4.0 --save-dev
npm i -D babel-eslint@10.1.0
yarn add --dev babel-jest@26.1.0
npm install --save-dev @babel/core
npm install --save-dev @babel/preset-env
@enesusta
enesusta / profiles.json
Last active June 14, 2020 01:23
Windows Terminal Configuration
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"startingDirectory": null,
"defaultProfile": "{14ad203f-52cc-4110-90d6-d96e0f41b64d}",
"profiles": {
"padding": {
"default": "8, 8, 8, 8",
"description": "Sets the padding around the text within the window. Can have three different formats: \"#\" sets the same padding for all sides, \"#, #\" sets the same padding for left-right and top-bottom, and \"#, #, #, #\" sets the padding individually for left, top, right, and bottom.",
"pattern": "^-?[0-9]+(\\.[0-9]+)?( *, *-?[0-9]+(\\.[0-9]+)?|( *, *-?[0-9]+(\\.[0-9]+)?){3})?$",
@enesusta
enesusta / logsqlite.h
Created June 9, 2020 15:24
medium-jvm-4
#ifndef logsqlite
#define logsqlite
void insert(char *str);
#endif
@enesusta
enesusta / nativelogger.c
Created June 9, 2020 15:20
medium-jvm-3
#include "com_github_enesusta_NativeLogger.h"
JNIEXPORT void JNICALL Java_com_github_enesusta_NativeLogger_log(JNIEnv *env, jobject obj, jstring str) {
}
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_github_enesusta_NativeLogger */
#ifndef _Included_com_github_enesusta_NativeLogger
#define _Included_com_github_enesusta_NativeLogger
#ifdef __cplusplus
extern "C" {
#endif
/*