Skip to content

Instantly share code, notes, and snippets.

View roderik's full-sized avatar

Roderik van der Veer roderik

View GitHub Profile

Keybase proof

I hereby claim:

  • I am roderik on github.
  • I am roderik (https://keybase.io/roderik) on keybase.
  • I have a public key whose fingerprint is 6F1C 1158 93DE B2B0 959F 59F7 4438 A59D 92FF DA38

To claim this, I am signing this object:

$contact = $dm->createQueryBuilder('KunstmaanPeerPressureDMBundle:Contact')
->field('address')->equals($row[2])
->field('zipcode')->equals((string)$row[3])
->getQuery()
->getSingleResult();
if (!$contact) {
$contact = new Contact();
$contact->setLastname($row[1]);
$contact->setAddress($row[2]);
$contact->setZipcode($row[3]);
@roderik
roderik / CMakeCache
Created October 7, 2013 10:48
Terminal session without settings
I forgot to get this one, but please look at https://gist.github.com/roderik/6865926 since the error is the same, i figure the cache is as well.
@roderik
roderik / CMakeCache
Created October 7, 2013 10:47
Terminal session with settings
Roderiks-Mac:kitchenplan roderik$ cat ~/Library/Logs/Homebrew/mysql/CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /tmp/mysql-etbP/mysql-5.6.13
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.11.2/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
@roderik
roderik / gist:6865795
Created October 7, 2013 10:33
brew --config, terminal with settings
[12:28:03][roderik@Sinope /opt/kitchenplan](feature/mavericksGM *)$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f40af36f909a1ab0a6c409254f5944fe477392ae
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
LLVM-GCC: N/A
@roderik
roderik / gist:6865783
Created October 7, 2013 10:32
brew --config, clean terminal
Roderiks-Mac:kitchenplan roderik$ brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f40af36f909a1ab0a6c409254f5944fe477392ae
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
LLVM-GCC: N/A
@roderik
roderik / gist:6865772
Created October 7, 2013 10:31
brew doctor, terminal with settings
[12:27:53][roderik@Sinope /opt/kitchenplan](feature/mavericksGM *)$ brew doctor
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
@roderik
roderik / gist:6865735
Created October 7, 2013 10:28
brew doctor from a clean install terminal (chef run)
Roderiks-Mac:kitchenplan roderik$ brew doctor
Warning: You are using Mac OS X 10.9.
We do not yet provide support for this (unreleased) version.
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
easy_install
easy_install-2.7
@roderik
roderik / postgresql.conf
Last active February 20, 2019 08:55
Default 9.3 postgres config
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
#
# This file consists of lines of the form:
#
# name = value
#
# (The "=" is optional.) Whitespace may be used. Comments are introduced with
# "#" anywhere on a line. The complete list of parameter names and allowed
.gist table {
margin: 0;
font-size: 1.4rem;
}
.gist .line-number {
width: 10px;
font-size: 1rem;
}