This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
details summary { | |
cursor: pointer; | |
outline: none !important; | |
display: inline-block; | |
padding: 8px 12px; | |
padding-top: 10px; | |
border-radius: 4px; | |
overflow: hidden; | |
background: #F09825; | |
color: white; |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
This is a quick and dirty guide to Bitcoin Mining on your Raspberry Pi. It's not going to be fast or efficient and may cause damage. I'm not responsible if you break anything, kill a cat or your wife leaves you as a result of this.
The following commands are to be run via either Terminal on the Pi or via SSH. If you are looking for a Windows SSH client, I recommend PuTTY
Инструкция-Как выбрать автомобиль. может кому то поможет | |
1. Год выпуска. | |
а) б/у — будут сыпаться | |
б) новые . — тоже будут сыпаться, да еще и дорого | |
2. Страна-производитель | |
а) немецкие — нет настоящего японского качества |
# Send a metric to statsd from bash | |
# | |
# Useful for: | |
# deploy scripts (http://codeascraft.etsy.com/2010/12/08/track-every-release/) | |
# init scripts | |
# sending metrics via crontab one-liners | |
# sprinkling in existing bash scripts. | |
# | |
# netcat options: | |
# -w timeout If a connection and stdin are idle for more than timeout seconds, then the connection is silently closed. |
require 'rubygems' | |
require 'fog' | |
require 'yaml' | |
config = YAML::load_file(File.dirname(__FILE__) + '/config.yml') | |
cf = Fog::AWS::CloudFormation.new( | |
:aws_access_key_id => config['key'], | |
:aws_secret_access_key => config['secret'] | |
) |