Skip to content

Instantly share code, notes, and snippets.

View jippi's full-sized avatar

Christian Winther jippi

View GitHub Profile
Environment:
Request Method: GET
Request URL: https://xxxxx/render/?width=1373&height=780&target=constantLine(123.456)
Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
('graphite.metrics',
---
logstash_config:
input_01_cakephp_udp:
type: "input"
kind: "udp"
comment: "Read CakePHP application logs from UDP"
config:
host: 127.0.0.1
port : 1337
codec: 'json { charset => "UTF-8" }'
@jippi
jippi / gist:9810832
Last active August 29, 2015 13:57
Raw data from a ~scientific test of AWS, Digital Ocean, Linode and Rackspace. The purpose of the test was to find a provider with most CPU power for the cheapest, in an elastic setup, for elastic sending of e-mails at bownty.com
================================================================================
AWS c3.8xlarge
================================================================================
--------------------------------------------------------------------------------
UnixBench
--------------------------------------------------------------------------------
BYTE UNIX Benchmarks (Version 5.1.3)
System: ip-10-38-135-175: GNU/Linux
client
ca /etc/openvpn/ca.crt
cert /etc/openvpn/client.crt
key /etc/openvpn/client.key
dev tap
proto tcp
remote 144.xx.xxx.60 9977
resolv-retry infinite
nobind
persist-key
-> npm install
npm WARN package.json expect.js@0.2.0 No repository field.
npm WARN package.json rjs-build-analysis@0.0.3 No description
npm WARN package.json rjs-build-analysis@0.0.3 No repository field.
npm ERR! peerinvalid The package grunt-contrib-jshint does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-contrib@0.8.0 wants grunt-contrib-jshint@~0.6.4
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /opt/grafana
server {
listen 80 default_server;
server_name _;
rewrite ^ https://$host$request_uri? permanent;
}
# HTTPS server
server {
listen 443 ssl spdy;
server_name _;
/App/Model/Entity/Post.php (line 11)
[
'year' => '2014',
'month' => '04',
'day' => '16',
'hour' => '00',
'minute' => '00'
]
Fatal Error
diff --git i/src/View/Helper/FormHelper.php w/src/View/Helper/FormHelper.php
index f686f11..4d6051b 100755
--- i/src/View/Helper/FormHelper.php
+++ w/src/View/Helper/FormHelper.php
@@ -105,6 +105,7 @@ class FormHelper extends Helper {
'groupContainer' => '<div class="input {{type}}{{required}}">{{content}}</div>',
'groupContainerError' => '<div class="input {{type}}{{required}} error">{{content}}{{error}}</div>',
'submitContainer' => '<div class="submit">{{content}}</div>',
+ 'rawContainer' => '{{input}}'
]
diff --git i/src/ORM/Marshaller.php w/src/ORM/Marshaller.php
index da6b8c9..d5cacc7 100644
--- i/src/ORM/Marshaller.php
+++ w/src/ORM/Marshaller.php
@@ -245,15 +245,22 @@ class Marshaller {
}
$properties = [];
+ $schema = $this->_table->schema();
foreach ($data as $key => $value) {
-> db_class='Cake\Database\Driver\Mysql' db_database=crud3_test db_login=crud3 db_password=crud3 phpunit
PHPUnit 3.7.34 by Sebastian Bergmann.
Configuration read from /var/www/crud3/htdocs/vendor/cakephp/cakephp/phpunit.xml
.......................S...........................SSSSSSSSSS 61 / 5095 ( 1%)
.....................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS........ 122 / 5095 ( 2%)
.....SSSSSSSSSSSSSSSSSSS..................................... 183 / 5095 ( 3%)
............................................................. 244 / 5095 ( 4%)
...........S..........S...................................... 305 / 5095 ( 5%)