Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| { | |
| "additionalFeatures": "Front Facing 1.3MP Camera", | |
| "os": "Macintosh OS X 10.7", | |
| "battery": { | |
| "type": "Lithium Ion (Li-Ion) (7000 mAH)", | |
| "standbytime" : "24 hours" | |
| }, | |
| "camera": { |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
| # Inside main monitrc | |
| # Check that services are running and also define start and stop commands for them. | |
| # You will need one of these for each container | |
| # as well as working out a restarting and/or red | |
| eploying workflow. | |
| check process <container-name> with pidfile /var/run/monit/<container-name>.pid | |
| start = "/path/to/pid/script start <container-name> '<docker-arguments>'" | |
| stop = "/path/to/pid/script stop <container-name>" |
| { | |
| "title": "Apache and Tomcat Logs", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "apache !tomcat !static", | |
| "alias": "", | |
| "color": "#7EB26D", | |
| "id": 0, |
| echo "Flipping tables! (╯°□°)╯︵ ┻━┻" | |
| num_rules=3 | |
| real=3 # exposed to the ELB as port 443 | |
| test=4 # used to install test certs for domain verification | |
| health=5 # used by the ELB healthcheck | |
| blue_prefix=855 | |
| green_prefix=866 |
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| def curl_to_ab(curl_cmd: list, num: int=200, cur: int=4) -> str: | |
| """ | |
| Translate a cURL command created by Chrome's developer tools into a | |
| command for ``ab``, the ApacheBench HTTP benchmarking tool. |
| 8.2.3. HTTP log format | |
| ---------------------- | |
| The HTTP format is the most complete and the best suited for HTTP proxies. It | |
| is enabled by when "option httplog" is specified in the frontend. It provides | |
| the same level of information as the TCP format with additional features which | |
| are specific to the HTTP protocol. Just like the TCP format, the log is usually | |
| emitted at the end of the session, unless "option logasap" is specified, which | |
| generally only makes sense for download sites. A session which matches the | |
| "monitor" rules will never logged. It is also possible not to log sessions for |