-
Version your API
- Path: /v1/users
- Subdomain: api.v1.example.com/users
-
URI must be nouns, not verbs
-
/cars
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
When applications are running in production, they become black boxes that need to be traced and monitored. One of the simplest, yet main, ways to do so is logging. Logging allows us - at the time we develop our software - to instruct the program to emit information while the system is running that will be useful for us and our sysadmins.
This file contains 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
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> |
This file has been truncated, but you can view the full file.
This file contains 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
{"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 |
This file contains 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
/** | |
* @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
This file contains 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
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 |
Table of Contents:
OlderNewer