Skip to content

Instantly share code, notes, and snippets.

View iosifnicolae2's full-sized avatar

Iosif Nicolae iosifnicolae2

View GitHub Profile
@iosifnicolae2
iosifnicolae2 / Dockerfile
Created March 26, 2024 11:26
Crunchy database custom postgresql
FROM registry.developers.crunchydata.com/crunchydata/crunchy-postgres-gis:ubi8-14.10-3.3-0
ARG PG_MAJOR=14
ARG POSTGRESQL_SERVER_DEVEL=postgresql${PG_MAJOR}-devel
ARG PACKAGER=microdnf
USER 0
ADD https://api.developers.crunchydata.com/downloads/repo/rpm-centos/postgresql14/crunchypg14.repo /etc/yum.repos.d/crunchypg14.repo
ADD https://api.developers.crunchydata.com/downloads/gpg/RPM-GPG-KEY-crunchydata-dev /etc/pki/rpm-gpg
{
"data": {
"stations": [
{
"id": 77,
"title": "Radio Vocea Creștinilor",
"website": "https://radio.voceacrestinilor.com/",
"email": "radio@voceacrestinilor.com",
"station_streams": [
{
@iosifnicolae2
iosifnicolae2 / readme.md
Last active March 14, 2024 09:39
Ce invatam din Proverbe despre cum sa fim intelepti?

Ce invatam din Proverbe despre cum sa fim intelepti?

Proverbe 1:1-7 "Proverbele lui Solomon [...] pentru a cunoaste intelepciunea [...] pentru a da [...] tanarului cunostinta si prudenta"

Obs. Am folosit traducerea NTLR pentru a fi mai usor de inteles.

Proverbe 1:1-7

1 Proverbele lui Solomon, fiul lui David, regele lui Israel, 2 pentru a cunoaşte înţelepciunea şi învăţătura, pentru a înţelege cuvintele cunoaşterii,

{
"data": {
"stations": [
{
"id": 54,
"order": 20,
"title": "RVE Viena",
"website": "https://www.rveviena.at/",
"stream_url": "https://s3.free-shoutcast.com/stream/18202/;stream.mp3"
},
MINIO_ROOT_USER=dev
MINIO_ROOT_PASSWORD=dev-pass
#cloud-config
"apt":
"sources":
"docker.list":
"keyid": "9DC858229FC7DD38854AE2D88D81803C0EBFCD88"
"source": "deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE
stable"
"package_update": true
"packages":
- qemu-guest-agent
@iosifnicolae2
iosifnicolae2 / README.md
Last active June 30, 2023 18:14
Deploy RKE2 Kuberentes cluster in Rancher behind HTTP_PROXY
const apiUrl = 'https://api.openai.com/v1/chat/completions';
function CHATGPT(prompt, model, apiKey) {
if(!prompt || prompt === "") {
return "No prompt provided";
}
if(!model || model === "") {
return "No model provided";
}
if(!apiKey || apiKey === "" || apiKey === "XXXXXXXXXXXXXXXXXXXX") {
@iosifnicolae2
iosifnicolae2 / .env
Last active November 22, 2022 21:54
Kafka with SASL/SCRAM authentication - docker-compose.yml
SPRING_SECURITY_USER_NAME=dev
SPRING_SECURITY_USER_PASSWORD=your-password
KAFKA_ROOT_USER=dev
KAFKA_ROOT_PASSWORD=your-password
KAFKA_CLIENT_USER=dev
KAFKA_CLIENT_PASSWORD=your-password