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
#!/bin/bash | |
# dlgh.sh | |
# -------- | |
# | |
# Download all repositories of a user or organization using the gh commandline tool. | |
# REQUIRES `gh auth login`! | |
# | |
# @zudsniper | |
# GitHub-themed header |
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
1. Add dependecy: | |
<dependency> | |
<groupId>org.apache.logging.log4j</groupId> | |
<artifactId>log4j-slf4j-impl</artifactId> | |
<version>${log4j.version}</version> | |
</dependency> | |
2.Create config file for log4j (https://logging.apache.org/log4j/2.x/manual/configuration.html). | |
I prefer log4j2-test.properties because according documentation this format will look second, after configFile: | |
'If no system property is set the properties ConfigurationFactory will look for log4j2-test.properties in the classpath.' | |
--------------------------------------------------------------- |
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
upstream node_server { | |
server localhost:3000; | |
} | |
server { | |
listen 80; | |
server_name localhost; | |
root /usr/share/nginx/html; |
NewerOlder