Pattern file: /etc/logstash/patterns/nginx
Logstash shipper: /etc/logstash/conf.d/shipper.conf
Nginx http log module: http://nginx.org/en/docs/http/ngx_http_log_module.html
Pattern file: /etc/logstash/patterns/nginx
Logstash shipper: /etc/logstash/conf.d/shipper.conf
Nginx http log module: http://nginx.org/en/docs/http/ngx_http_log_module.html
If you'd like to use a .jar file in your project, but it's not available in any Maven repository, | |
you can get around this by creating your own local repository. This is done as follows: | |
1 - To configure the local repository, add the following section to your pom.xml (inside the <project> tag): | |
<repositories> | |
<repository> | |
<id>in-project</id> | |
<name>In Project Repo</name> | |
<url>file://${project.basedir}/libs</url> |
{"dependencies_cache": {"https://packagecontrol.io/repository.json": [{"load_order": "50", "releases": [{"version": "3.12.0", "platforms": ["*"], "url": "https://codeload.github.com/packagecontrol/pyyaml/zip/v3.12.0", "sublime_text": "*"}], "description": "Python PyYAML module", "name": "pyyaml", "authors": ["FichteFoll"], "issues": "https://github.com/packagecontrol/pyyaml/issues"}, {"load_order": "50", "releases": [{"version": "1.7.4", "platforms": ["*"], "url": "https://codeload.github.com/idleberg/sublime-dicttoxml/zip/1.7.4", "sublime_text": "*"}], "description": "Converts a Python dictionary or other native data type into a valid XML string - https://github.com/idleberg/sublime-dicttoxml", "name": "dicttoxml", "authors": ["idleberg"], "issues": "https://github.com/idleberg/sublime-dicttoxml/issues"}, {"load_order": "01", "releases": [{"version": "1.0.1", "platforms": ["linux"], "url": "https://codeload.github.com/codexns/sublime-ctypes/zip/1.0.1", "sublime_text": "<3000"}], "description": "Python _ctype |
/** | |
* @author knee-cola / https://github.com/knee-cola | |
* Original file URL: https://gist.github.com/knee-cola/37875bc4359609b96c9f329cd2a68fa1 | |
* | |
* This is a spinner/loader built for Three.js platform. | |
* It can be used to notify user that some resources are being loaded. | |
* I made it to replace pure CSS spinner, which was displayed in the | |
* overlay above the 3D animation, since it was slowing down WebGL | |
* | |
* How to use: |
2020-03-16
from __future__ import print_function | |
import argparse | |
import time | |
import numpy as np | |
from scipy.misc import imread | |
import grpc | |
from tensorflow.contrib.util import make_tensor_proto |
# hack tensorflow.compat.v2 imported module name as tensorflow | |
# first | |
import sys | |
import importlib.util | |
name = "tensorflow.compat.v2" | |
spec = importlib.util.find_spec(name) | |
if spec is None: | |
print(f"can't find the {name} module") | |
else: |