Install with apt-get
$ sudo apt-get update
$ sudo apt-get install letsencrypt
$ sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048
# Install OpenSSL from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://www.openssl.org/source/openssl-1.1.1d.tar.gz | |
# expand tar | |
tar -xzvf openssl-1.1.1d.tar.gz |
<?php | |
/** | |
* OCR Number generation function | |
* | |
* @param string $base_number | |
* The base number that you wish to use for the OCR nr. Can be any number, | |
* but usually consists of client ID combined with invoice ID or similar. | |
* @param boolean $length | |
* Use length if you want the OCR number to add a length |
#!/bin/sh | |
curl -s https://api.wordpress.org/secret-key/1.1/salt | sed "s/^define('\(.*\)',\ *'\(.*\)');$/\1='\2'/g" |
import "phoenix_html" | |
import "bootstrap" | |
import "jquery" | |
import "toastr" | |
// ... |
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
sudo -i | |
cd | |
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y | |
wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz | |
tar xzvf ImageMagick-6.8.9-1.tar.gz | |
cd ImageMagick-6.8.9-1/ | |
./configure --prefix=/opt/imagemagick-6.8 && make | |
checkinstall |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |