Skip to content

Instantly share code, notes, and snippets.

View mrpehlivan's full-sized avatar
:octocat:
Coding

Arif PEHLİVAN mrpehlivan

:octocat:
Coding
View GitHub Profile
@mrpehlivan
mrpehlivan / OSX Setup
Last active September 14, 2021 11:46
OSX Setup
1. Change host / computer / localhost names
sudo scutil --set ComputerName arifpehlivan
sudo scutil --set HostName arifpehlivan
sudo scutil --set LocalHostName arifpehlivan
2. Install Homebrew & Cask
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew tap caskroom/cask
set -Ux LSCOLORS gxfxcxdxbxegedabagacad
# gst
function gst --description 'Do a git status'
command git status
end
# dev
function dev
cd /Users/pehlivan.arif/development
@mrpehlivan
mrpehlivan / Dockerfile.react
Created January 17, 2021 13:23
Dockerfile.react
# Run app with specific docker version
FROM node:12-slim
# Add description
LABEL description="This is the base docker image for the Basic react application."
# Add maintainer information
LABEL maintainer = ["m.arifpehlivan@gmail.com"]
# Create app directory
@mrpehlivan
mrpehlivan / useful-links
Created December 16, 2019 10:05
Useful links
@mrpehlivan
mrpehlivan / vscode
Created September 17, 2019 12:58
vscode
vscode
@mrpehlivan
mrpehlivan / Computer Needs
Last active July 15, 2019 06:44
Computer Needs
Google Chrome
React Devtools
Intellij
Sublime
Source Tree
Slack
Postico
Spotify
FortiClient
Postman
@mrpehlivan
mrpehlivan / application-elasticsearch.yml
Created May 14, 2018 20:57
application-elasticsearch.yml
#elastic
spring:
data:
elasticsearch:
cluster-name: clusterName
properties:
http:
host: host
port: 9200
enable: true
@mrpehlivan
mrpehlivan / application-mongo.yml
Last active May 14, 2018 20:56
application-mongo.yml
#mongodb
spring:
data:
mongodb:
host: localhost
port: 27017
database: databaseName
@mrpehlivan
mrpehlivan / application.yml
Last active April 21, 2018 10:58
application.yml
server:
port: 8090
spring:
datasource:
url: jdbc:postgresql://localhost:5432/postgres
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
@mrpehlivan
mrpehlivan / application.properties
Last active April 21, 2018 10:57
application.properties
server.port= 8090
spring.datasource.url = jdbc:postgresql://localhost:5432/postgres
spring.datasource.username = postgres
spring.datasource.password = postgres
spring.datasource.driver-class-name = org.postgresql.Driver
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false
spring.jpa.generate-ddl=true