Skip to content

Instantly share code, notes, and snippets.

@ricbra
ricbra / gist:6821924
Created October 4, 2013 06:48
Vagrant debug info
$ VAGRANT_LOG=INFO vagrant up
INFO global: Vagrant version: 1.3.0
INFO manager: Registered plugin: box command
INFO manager: Registered plugin: destroy command
INFO manager: Registered plugin: halt command
INFO manager: Registered plugin: help command
INFO manager: Registered plugin: init command
INFO manager: Registered plugin: package command
INFO manager: Registered plugin: plugin command
INFO manager: Registered plugin: provision command
@ricbra
ricbra / gist:7464154
Created November 14, 2013 09:45
Vagrant NFS errors
$ VAGRANT_LOG=INFO vagrant up
INFO global: Vagrant version: 1.3.5
INFO manager: Registered plugin: box command
INFO manager: Registered plugin: destroy command
INFO manager: Registered plugin: halt command
INFO manager: Registered plugin: help command
INFO manager: Registered plugin: init command
INFO manager: Registered plugin: package command
INFO manager: Registered plugin: plugin command
INFO manager: Registered plugin: provision command
@ricbra
ricbra / gist:db3dfc9c98a83346e797
Created July 7, 2014 06:17
BIG-register SOAP fault
[SoapFault]
System.Web.Services.Protocols.SoapException: Exception
at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.IntentionalRethrow(Exception chainException, Exception originalException)
at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.RethrowRecommended(Exception chainException, Exception originalException)
at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.Handle(Exception exceptionToHandle)
at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl.HandleException(Exception exceptionToHandle)
at Microsoft.Practices.EnterpriseLibrary.ExceptionHandl
assetic:
filters:
less:
node: /usr/local/node/node-default/bin/node
node_paths: [/usr/local/node/node-default/lib/node_modules]
apply_to: "\.less$"
cssrewrite: ~
assets:
bootstrap_css:
inputs:
### Keybase proof
I hereby claim:
* I am ricbra on github.
* I am ricbra (https://keybase.io/ricbra) on keybase.
* I have a public key whose fingerprint is C045 F684 987B DC29 622E 55C0 4E01 F6AC 5C42 3C12
To claim this, I am signing this object:
@ricbra
ricbra / gist:b566c92f4fb516552080
Created September 30, 2014 12:54
Ansible output
PLAY [Create MySQL user and database] *****************************************
GATHERING FACTS ***************************************************************
<192.168.100.21> ESTABLISH CONNECTION FOR USER: root
<192.168.100.21> REMOTE_MODULE setup
<192.168.100.21> EXEC ['ssh', '-C', '-q', '-F', './ssh_config', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/ricbra/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '192.168.100.21', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"]
ok: [db1]
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/sites/www.ooxoo.nl
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/sites-secure/www.ooxoo.nl
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/secure.yml
@ricbra
ricbra / gist:6da325d412a88a55be80
Last active August 29, 2015 14:07
memcached.php
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2004 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.0 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
@ricbra
ricbra / gist:6d781f915315b380f99f
Created October 31, 2014 19:52
Wrong jms_di_extra config
jms_di_extra:
locations:
all_bundles: false
bundles: [SomeBundle, AnotherBundle]
directories: ["%kernel.root_dir%/../src/Vendor/Model"]
@ricbra
ricbra / gist:0e38f66ecac91f9573c0
Last active August 29, 2015 14:08
phpspec composer
{
"require": {
},
"require-dev": {
"sensio/generator-bundle": "~2.3",
"phpspec/phpspec": "~2.0",
"behat/behat": "~3.0",
"behat/symfony2-extension": "~2.0@dev",
"behat/mink-extension": "~2.0@dev",
@ricbra
ricbra / gist:c4aa33e2e2cc9243ded8
Created October 31, 2014 20:33
app/config/config_test.yml
imports:
- { resource: config_dev.yml }
doctrine:
dbal:
dbname: "%test_database_name%"
driver: pdo_mysql
user: "%test_database_user%"
password: "%test_database_password%"