This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
easy-bookmarks: | |
container_name: easy-bookmarks | |
image: enesusta/easy-bookmarks:0.2 | |
ports: | |
- '8000:80' | |
networks: | |
bookmarks-net: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
create() { | |
mvn archetype:generate \ | |
-DgroupId=$1 \ | |
-DartifactId=$2 \ | |
-DpackageName=$3 \ | |
-Dversion=1.0.0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
create() { | |
mvn archetype:generate \ | |
-DgroupId=$1 \ | |
-DartifactId=$2 \ | |
-DpackageName=$3 \ | |
-Dversion=1.0.0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
oracle_db: | |
container_name: oracle_db | |
image: store/oracle/database-enterprise:12.2.0.1 | |
ports: | |
- 1521:1521 | |
- 5500:5500 | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
redis: | |
container_name: redis_container | |
image: redis | |
restart: always | |
command: redis-server --requirepass secret | |
ports: | |
- '6379:6379' | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget http://download.redis.io/releases/redis-6.0.4.tar.gz | |
tar xzf redis-6.0.4.tar.gz | |
cd redis-6.0.4/src | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.enesusta; | |
public class NativeLogger { | |
public native void log(final String log); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "com_github_enesusta_NativeLogger.h" | |
JNIEXPORT void JNICALL Java_com_github_enesusta_NativeLogger_log(JNIEnv *env, jobject obj, jstring str) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef logsqlite | |
#define logsqlite | |
void insert(char *str); | |
#endif |