This file contains hidden or 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
| #!/bin/bash | |
| KEY_DIR="/mnt/sda1/.ssh" | |
| # Make directories | |
| mkdir -p "$KEY_DIR" | |
| # Generate an RSA key using dropbear | |
| dropbearkey -t rsa -f "${KEY_DIR}/id_rsa" |
This file contains hidden or 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
| In short, you're running out of ports. | |
| The default ephemeral port range on osx is 49152-65535, which is only 16,383 ports. | |
| Since each ab request is http/1.0 (without keepalive in your first examples), each | |
| new request takes another port. | |
| As each port is used, it get's put into a queue where it waits for the tcp | |
| "Maximum Segment Lifetime", which is configured to be 15 seconds on osx. So if you |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>pagination</title> | |
| <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script> | |
| <link href="https://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> | |
| <style> | |
| /* pagination */ | |
| .container { text-align: center; } |
This file contains hidden or 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
| * { font-family: 'Courier New', Courier, monospace; } | |
| .no-select { | |
| -webkit-touch-callout: none; /* iOS Safari */ | |
| -webkit-user-select: none; /* Safari */ | |
| -khtml-user-select: none; /* Konqueror HTML */ | |
| -moz-user-select: none; /* Firefox */ | |
| -ms-user-select: none; /* Internet Explorer/Edge */ | |
| user-select: none; /* Non-prefixed version, currently | |
| supported by Chrome and Opera */ |