This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
# Use an entity's ClassMetadata as if it where a service (for example, in | |
# other services definitions). | |
# | |
# See http://symfony.com/doc/2.0/components/dependency_injection/factories.html | |
foo.foo_class_metadata: | |
class: "Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata" | |
factory_service: doctrine.orm.entity_manager | |
factory_method: getClassMetadata | |
arguments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample configuration for overriding Assetic's default LessFilter | |
# configuration in order to define one or more "load paths". | |
# | |
# Setting load paths allows to load libraries (such as Twitter's Bootstrap | |
# less sources) from different directories. | |
# | |
# Save this file in your bundle's `config` directory and import it into | |
# yor `services.yml` using the `imports` directive, eg.: | |
# | |
# imports: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class FooController extends Controller { | |
function fooAction() { | |
$em = $this->getDoctrine()->getEntityManager(); | |
$cm = $em->getClassMetadata('FooBundle:FooEntity'); | |
$cm->setTableName('special_table_name'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netbeans_default_options="-J-server -J-Xverify:none -J-d64 -J-Xss2m -J-Xms256m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=512m -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.opengl=true -J-Dsun.java2d.d3d=false -J-Dawt.nativeDoubleBuffering=true -J-XX:+UseAdaptiveSizePolicy -J-Djava.net.preferIPv4Stack=true -J-XX:+AggressiveOpts -J-XX:+AggressiveHeap -J-d64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: Graylog2 | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Starts Graylog2 | |
# Description: Starts Graylog2 using start-stop-daemon | |
### END INIT INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# curl https://raw.github.com/gist/1632892/ranger.sh | zsh | |
curl http://nongnu.org/ranger/ranger-stable.tar.gz | tar xvz | |
cd ranger-1.5.2 | |
sudo make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
# curl https://raw.github.com/gist/1632835/own.sh | zsh | |
echo Installing packages | |
sudo apt-get install git zsh vim | |
echo Setting shell.. | |
chsh -s /bin/zsh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./tmux -C | |
./tmux: illegal option -- C | |
usage: tmux [-28lquvV] [-c shell-command] [-f file] [-L socket-name] | |
[-S socket-path] [command [flags]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/macruby | |
# Damn evil Finder will insist crashing and reshuffling | |
# icons in my carefully laid out desktop. | |
require 'rubygems' | |
require 'thor' | |
require 'yaml' | |
framework "ScriptingBridge" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
head 'https://vim.googlecode.com/hg/' | |
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d' | |
version '7.3.206' | |
def features; %w(tiny small normal big huge) end |