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 / 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 / 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
@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 / 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})?$",