The figure below calls out
- The netfilter hooks
- The order of table traversal
| using System; | |
| using System.IdentityModel.Tokens; | |
| using System.Security.Claims; | |
| using System.Security.Cryptography; | |
| namespace CreateValidateJWT | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
This content from this markdown file has moved a new, happier home where it can serve more people. Please check it out : https://docs.microsoft.com/azure/azure-cache-for-redis/cache-best-practices.
| packages: | |
| yum: | |
| wget: [] | |
| curl: [] | |
| commands: | |
| 00_remove_99_swap.conf.bak: | |
| command: rm -f /etc/sysctl.d/99_swap.conf.bak | |
| test: test -f /etc/sysctl.d/99_swap.conf.bak | |
| ignoreErrors: true | |
| 00_remove_99_filesystem.conf.bak: |
| /// <summary> | |
| /// Implementation of Mersenne Twister random number generator | |
| /// </summary> | |
| public class MersennePrimeRandom | |
| { | |
| private readonly uint[] _matrix = new uint[624]; | |
| private int _index = 0; | |
| public MersennePrimeRandom() : this((uint)(0xFFFFFFFF & DateTime.Now.Ticks)) { } |
| ruby doctor.rb | |
| /usr/bin/ruby1.8 (1.8.6) | |
| OpenSSL 0.9.8g 19 Oct 2007: /usr/lib/ssl | |
| SSL_CERT_DIR="" | |
| SSL_CERT_FILE="" | |
| HEAD https://status.github.com:443 | |
| OpenSSL::SSL::SSLError: certificate verify failed | |
| The server presented a certificate that could not be verified: |
Elastic beanstalk runs npm install with a system user that has no homedir. During the npm install step, it's expecting a $HOME env variable for the npm cache (which doesn't exist). add this file to your project's .ebextensions directory to have it use root's homedir as a temporary path.
This workaround was provided by AWS support, but it doesn't appear to be documented anywhere. Determining root cause on this was a massive pain in the ass. Sharing this so others don't need to feel the pain.
| package main | |
| import ( | |
| "io" | |
| "net" | |
| "os" | |
| "fmt" | |
| "strings" | |
| "syscall" | |
| "unsafe" |
| %% Simple web server. | |
| -module(sws). | |
| -author('Steve Vinoski <[email protected]>'). | |
| -export([start/1, start/2]). | |
| %% start/1 takes a handler function and starts the web server on port 8000. | |
| %% start/2 takes a handler function and a port number. The handler function | |
| %% takes two arguments: a TCP socket and request data. The request data is | |
| %% a property list indicating the invoked HTTP method, the target URI, the |