Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
Note: "Forked" from Latency Numbers Every Programmer Should Know
| Event | Nanoseconds | Microseconds | Milliseconds | Comparison |
|---|---|---|---|---|
| L1 cache reference | 0.5 | - | - | - |
| Branch mispredict | 5.0 | - | - | - |
| L2 cache reference | 7.0 | - | - | 14x L1 cache |
| Mutex lock/unlock | 25.0 | - | - | - |
I hereby claim:
To claim this, I am signing this object:
| ;Notes: | |
| ; - Shell expansion ("~" or "$HOME") is not supported. Environment | |
| ; variables can be expanded using this syntax: "%(ENV_HOME)s". | |
| ; - Comments must have a leading space: "a=b ;comment" not "a=b;comment". | |
| ; | |
| ; Put this file in /etc/supervisord.conf | |
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; (the path to the socket file) |
| #! /bin/sh | |
| # Makre sure you have the correct path set for: | |
| # DAEMON=/usr/local/bin/supervisord | |
| # SUPERVISORCTL=/usr/local/bin/supervisorctl | |
| # | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: supervisor | |
| # Required-Start: $remote_fs $network $named |
| # This is the configuration file for sentry used by [email protected]. | |
| # It's actually nothing special but a django settings file so you may put items like "ALLOWED_HOSTS" in it. | |
| from sentry.conf.server import * | |
| import os.path | |
| CONF_ROOT = os.path.dirname(__file__) | |
| DATABASES = { |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>autossh.lenciel</string> | |
| <key>ProgramArguments</key> | |
| <array> |
| diff --git a/46501e4:sass/partials/_syntax.scss b/02b0441:sass/partials/_syntax.scss | |
| index 137d475..5465286 100644 | |
| --- a/46501e4:sass/partials/_syntax.scss | |
| +++ b/02b0441:sass/partials/_syntax.scss | |
| @@ -22,10 +22,6 @@ | |
| @include border-radius(0); | |
| } | |
| -.line-data { | |
| - font-size: 13px; |
Often referred to as the "swiss army of knife" for TCP/IP networking, [Netcat][1] is an extremely versatile Linux utility that allows you to do anything under the sun using TCP/UDP sockets. It is one of the most favorite tools for system admins when they need to do networking related troubleshooting and experimentation.
In this tutorial, I am sharing a few useful netcat examples, although the sky is the limit when it comes to possible netcat use cases. If you are using netcat regularly, feel free to share your use case.
Note that when you are binding to well-known ports (0-1023) with nc, you need root privilege. Otherwise, run nc as a normal user.
$ nc -vn 192.168.233.208 5000
| %vertical-align { | |
| position: relative; | |
| top: 50%; | |
| -webkit-transform: translateY(-50%); | |
| -ms-transform: translateY(-50%); | |
| transform: translateY(-50%); | |
| } | |
| .element p { | |
| @extend %vertical-align; |