Skip to content

Instantly share code, notes, and snippets.

View borjapazr's full-sized avatar
🐮
Éche o que hai!

Borja Paz Rodríguez borjapazr

🐮
Éche o que hai!
View GitHub Profile
@lzimd
lzimd / Introduction.md
Created May 8, 2019 08:34
gradle + bom ( spring boot )

examples

1

plugins {  
    id "org.springframework.boot" version "2.1.4.RELEASE"
}
apply plugin: "io.spring.dependency-management"
@marcospgp
marcospgp / .eslintrc.js
Created April 17, 2019 15:27
An example ESLint configuration for typescript to be used with the VSCode ESLint plugin. It's built with airbnb-base, prettier, and most well known ESLint plugins. It took a long time to configure so I thought it should be shared for others to reuse.
module.exports = {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": [
"eslint:recommended",
"airbnb-base",
"plugin:eslint-comments/recommended",
"plugin:promise/recommended",
@matog
matog / home_media_server.md
Last active November 22, 2021 18:58
Apuntes para la instalación de dockSTARTer

Apuntes para la instalación de dockSTARTer

Problemas de permisoss para agregar la root folder a sonarr y radarr

sudo chown -R $USER:$USER /home/mato/storage

DuckDNS

https://www.duckdns.org/install.jsp#linux-cron

Software

https://github.com/GhostWriters/DockSTARTer

@nafeu
nafeu / python3-script-template.py
Created January 29, 2019 12:34
Python3 Terminal Script Template
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Template for python3 terminal scripts.
This gist allows you to quickly create a functioning
python3 terminal script using argparse and subprocess.
"""
import argparse
@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active April 17, 2026 07:11
Front-end frameworks popularity (React, Vue, Angular and Svelte)
@iNamik
iNamik / docker_compose-Makefile
Last active January 22, 2024 13:12
Makefile To Help Manage Docker-Compose Services
##
# Makefile to help manage docker-compose services
#
# Built on list_targets-Makefile:
#
# https://gist.github.com/iNamik/73fd1081fe299e3bc897d613179e4aee
#
.PHONY: help about args list targets services build up down rebuild clean start status ps logs stop restart sh bash shell
# If you need sudo to execute docker, then udpate these aliases
@bgauduch
bgauduch / multiple-repository-and-identities-git-configuration.md
Last active April 21, 2026 18:54
Git config with multiple identities and multiple repositories

Setup multiple git identities & git user informations

/!\ Be very carrefull in your setup : any misconfiguration make all the git config to fail silently ! Go trought this guide step by step and it should be fine 😉

Setup multiple git ssh identities for git

  • Generate your SSH keys as per your git provider documentation.
  • Add each public SSH keys to your git providers acounts.
  • In your ~/.ssh/config, set each ssh key for each repository as in this exemple:
@acdcjunior
acdcjunior / DDD.java
Created June 29, 2018 21:44
DDD Annotations for Java
import java.lang.annotation.*;
public class DDD {
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface ApplicationService { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface DomainService { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface AggregateRootEntity { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface NonAggregateRootEntity { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface ValueObject { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface Repository { }
@Target(ElementType.TYPE) @Retention(RetentionPolicy.SOURCE) public @interface Factory { }
@mobynote
mobynote / DemoRepository
Created March 7, 2018 03:17
Use jdbcTemplate implement a pagination in spring
package com.domain;
import com.domain.Module;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
@Zetten
Zetten / build.gradle
Last active November 3, 2020 23:54
Bazel workspace generation script
plugins {
id "com.github.ben-manes.versions" version "0.17.0"
id "io.spring.dependency-management" version "1.0.5.RELEASE"
id "com.github.jk1.dependency-license-report" version '1.0'
}
apply plugin: 'base'
group = 'com.example'
version = '0.0.0'