Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Velvet test with BOOMR</title> | |
</head> | |
<body> | |
<h1>Testing roundtrip time</h1> | |
<p>Using <a href="http://developer.yahoo.com/blogs/ydn/posts/2010/06/performance_testing_with_boomerang/">Boomerang</a> and <a href="http://www.velvetmetrics.com/">velvetmetrics</a></p> | |
<p id="results"></p> | |
<img src="http://www.velvetmetrics.com/chart?&path=random.path.3yb8s&groupBy=10min&f=avg&datapoints=true&title=true&axes=true&legends=true&customtitle=Avg%20roundtrip%20time%20/10%20mins&w=600&h=250&output=image&rand=2612" alt="loadtime history"/> |
function trim(c) { | |
var ctx = c.getContext('2d'), | |
copy = document.createElement('canvas').getContext('2d'), | |
pixels = ctx.getImageData(0, 0, c.width, c.height), | |
l = pixels.data.length, | |
i, | |
bound = { | |
top: null, | |
left: null, | |
right: null, |
sudo -i | |
# Make sure the prerequisites are installed. | |
apt-get -y install autoconf automake curl build-essential libxslt1-dev re2c libxml2-dev | |
# Install PHP 5 dependencies. | |
apt-get -y build-dep php5 | |
# Download phpbrew | |
cd /usr/bin | |
curl -O https://raw.github.com/c9s/phpbrew/master/phpbrew | |
# Make phpbrew executable. | |
chmod +x phpbrew |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
local 127.0.0.1 | |
port 1194 | |
proto tcp | |
dev tun | |
remote-cert-tls client | |
log-append /var/log/openvpn.log | |
ca keys/ca.crt | |
cert keys/server.crt | |
key keys/server.key | |
dh keys/dh1024.pem |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
=== modified file 'modules/Ubuntu/Components/plugin/plugin.cpp' | |
--- modules/Ubuntu/Components/plugin/plugin.cpp 2013-05-21 11:06:55 +0000 | |
+++ modules/Ubuntu/Components/plugin/plugin.cpp 2013-06-03 21:51:32 +0000 | |
@@ -18,7 +18,7 @@ | |
#include <QtQml> | |
#include <QtQuick/private/qquickimagebase_p.h> | |
-#include <QDBusConnection> | |
+//#include <QDBusConnection> | |
#include <QtGui/QGuiApplication> |
#include | |
#include | |
// Source: | |
// http://www.emoticode.net/embed/c-plus-plus/win32-dll-injection-with-writeprocessmemory-and-opcode-patching.html | |
// No original Copy of page available | |
/***************************************************************************************************/ | |
// Function: | |
// Inject |