Skip to content

Instantly share code, notes, and snippets.

@pbuzulan
pbuzulan / .env
Created January 30, 2020 10:40
Kibana using docker-compose (v3.4)
LOGGING_QUIET=true
SERVER_NAME=kibana-compose
ELASTICSEARCH_HOSTS=http://localhost:9200/
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=password
@pbuzulan
pbuzulan / example1.json
Last active March 5, 2020 21:29
HATEOAS Implementation Examples
{
"id": 123,
"page_count": 416,
"status": "PUBLISHED",
"links": [
{
"rel": "author",
"href": "https://localhost/authors/3",
"action": "GET",
"types": [
@pbuzulan
pbuzulan / disable_vim_auto_visual_on_mouse.txt
Created March 10, 2020 15:05
Disable vim automatic visual mode on mouse select
if file .vimrc does not exists:
touch ~/.vimrc
echo "set mouse-=a" > ~/.vimrc
source ~/.vimrc
else:
vim ~/.vimrc: set mouse-=a
source ~/.vimrc