plugins {
id "org.springframework.boot" version "2.1.4.RELEASE"
}
apply plugin: "io.spring.dependency-management"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "project": "./tsconfig.json" | |
| }, | |
| "extends": [ | |
| "eslint:recommended", | |
| "airbnb-base", | |
| "plugin:eslint-comments/recommended", | |
| "plugin:promise/recommended", |
sudo chown -R $USER:$USER /home/mato/storage
https://www.duckdns.org/install.jsp#linux-cron
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
2026: Not working anymore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # 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 |
/!\ 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 😉
- 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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' |