In order to use Wordpress in SSL with NGINX add
$_SERVER['HTTPS']='on';
to wp-config.php
just before
require_once(ABSPATH . 'wp-settings.php');
#!/usr/bin/python | |
import requests | |
from lxml import html | |
import re | |
from random import randint | |
from time import sleep | |
import sys | |
import random |
const START = Date.now(); | |
const Nimiq = require('@nimiq/core'); | |
require('dotenv').config(); | |
const config = { | |
protocol: "dumb", | |
network: process.env.NETWORK || "main", | |
type: "nano" | |
}; |
#!/usr/bin/env bash | |
# Instructions: | |
# | |
# 1) Place this script in the /root/ directory, give it proper permissions. | |
# $ sudo chmod +x /root/open-cloudflare.sh | |
# | |
# 2) Open the cron job editor | |
# $ sudo crontab -e | |
# |
<html> | |
<body> | |
<script src="socket.io.js"></script> | |
<script> | |
eventToListenTo = 'tx' | |
room = 'inv' | |
packages = 0; | |
var socket = io("http://localhost:8000/"); | |
socket.on('connect', function() { |
In order to use Wordpress in SSL with NGINX add
$_SERVER['HTTPS']='on';
to wp-config.php
just before
require_once(ABSPATH . 'wp-settings.php');
# CPU | |
sysbench --test=cpu --cpu-max-prime=1000 run | |
# Disk | |
# Random read write | |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=1M --readwrite=randrw --rwmixread=75 | |
# Random read | |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=1M --readwrite=randread | |
# Random write | |
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=1M --readwrite=randwrite |
# AlingTools.py (c) 2009, 2010 Gabriel Beaudin (gabhead) | |
# | |
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# |
''' | |
Enable turntable rotation with any axis up, the axis that is most aligned vertically is the new up axis of the turntable rotation until a new mouse gesture is initiated by either releasing the mouse button or the modifier keyboard key | |
''' | |
bl_info = { | |
'name': 'Rotate Turntable ANY-axis Up', | |
'author': '', | |
'version': (0, 0, 1), | |
'blender': (2, 6, 7), | |
'location': '3d view > Ctrl + LMB-drag', |
''' | |
Enable turntable rotation with Z axis up. This addon allows you to have both rotations available, either the built-in trackball, or the turntable provided by the addon can be used at any time without the need to change the user preferences. | |
''' | |
bl_info = { | |
'name': 'Rotate Turntable Z-axis Up', | |
'author': '', | |
'version': (0, 0, 1), | |
'blender': (2, 6, 7), | |
'location': '3d view > Ctrl + LMB-drag', |
$ sudo apt-get install build-essential | |
$ sudo apt-get install golang | |
$ curl -sL https://deb.nodesource.com/setup_<Node.js version>.x | bash -; apt-get install nodejs | |
$ sudo apt-get install php-dev libphp-embed | |
$ sudo apt-get install libperl-dev | |
$ sudo apt-get install python-dev | |
$ sudo apt-get install ruby-dev | |
$ sudo apt-get install libssl-dev | |
$ git clone https://github.com/nginx/unit |