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
package com.github.enesusta;
public class NativeLogger {
public native void log(final String log);
}
@enesusta
enesusta / redis.sh
Last active June 6, 2020 13:30
Redis script
#!/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
@enesusta
enesusta / docker-compose.yml
Created May 31, 2020 13:32
Redis compose file
version: '3.1'
services:
redis:
container_name: redis_container
image: redis
restart: always
command: redis-server --requirepass secret
ports:
- '6379:6379'
volumes:
@enesusta
enesusta / oracle-docker-compose.yml
Created May 11, 2020 14:38
Docker Oracle 12c Container
version: "3"
services:
oracle_db:
container_name: oracle_db
image: store/oracle/database-enterprise:12.2.0.1
ports:
- 1521:1521
- 5500:5500
environment:
@enesusta
enesusta / mvn.sh
Created May 3, 2020 19:19
mvn generate
#!/bin/bash
create() {
mvn archetype:generate \
-DgroupId=$1 \
-DartifactId=$2 \
-DpackageName=$3 \
-Dversion=1.0.0
}
@enesusta
enesusta / mvn.sh
Created May 3, 2020 19:19
mvn generate
#!/bin/bash
create() {
mvn archetype:generate \
-DgroupId=$1 \
-DartifactId=$2 \
-DpackageName=$3 \
-Dversion=1.0.0
}
@enesusta
enesusta / docker-compose.yml
Last active April 23, 2020 12:54
easy-bookmarks
version: '3.1'
services:
easy-bookmarks:
container_name: easy-bookmarks
image: enesusta/easy-bookmarks:0.2
ports:
- '8000:80'
networks:
bookmarks-net:
@enesusta
enesusta / settings.json
Last active April 15, 2020 00:11
VSCode Settings
{
"editor.formatOnSave": false,
"terminal.integrated.fontSize": 14,
"workbench.colorTheme": "One Dark Pro",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"html.format.wrapLineLength": 100,
"html.format.wrapAttributes": "force-expand-multiline", // or "auto", "force", "force-aligned", "aligned-multiple",
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
@enesusta
enesusta / requirements.txt
Created April 6, 2020 21:27
tcraw py requirements.txt
urllib3
bs4
requests
@enesusta
enesusta / config.yml
Created March 30, 2020 20:12
terminalizer config
# Specify a command to be executed
# like `/bin/bash -l`, `ls`, or any other commands
# the default is bash for Linux
# or powershell.exe for Windows
command: sh.exe
# Specify the current working directory path
# the default is the current working directory path
cwd: null