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
# Execute this from your Symfony2 path | |
php app/console cache:clear --env=prod --no-debug |
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
# Execute from "Symfony" installation folder | |
php app/console generate:bundle --namespace=Sourcerebels/BlogBundle |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.sourcerebels</groupId> | |
<artifactId>groovy-spock-maven-sample-project</artifactId> | |
<version>1.0-SNAPSHOT</version> |
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
# | |
# Original documentation (http://searls.github.com/jasmine-maven-plugin/) | |
# Requires Maven (http://maven.apache.org) | |
# | |
ARTIFACT_ID=$1 | |
GROUP_ID=$2 | |
VERSION=$3 | |
function usage() { |
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
apply plugin: 'application' | |
mainClassName = 'com.sourcerebels.Launcher' | |
run.systemProperties = System.properties |
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
Atajos de teclado de Midnight Commander | |
- Trabajar con paneles. | |
Alt+t: Cambia entre los diferentes modos de visualización de los paneles. | |
Control+r: Refresca ambos paneles. | |
Control+u: Intercambia los dos panels. | |
Control+s: Busca un fichero en el panel activo. | |
Alt+Shift+?: Buscar archivos en . |
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
Show hidden characters
{ | |
"cmd": ["gradle", "test"], | |
"working_dir": "$project_path" | |
} |
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/bash | |
_m2_make_goals() | |
{ | |
plugin=$1 | |
mojos=$2 | |
for mojo in $mojos | |
do | |
export goals="$goals $plugin:$mojo" | |
done |
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
import org.junit.Test | |
import static org.junit.Assert.* | |
class ArgumentsParserTests { | |
@Test | |
void shouldParseBooleanArgument() { | |
def parser = new ArgumentsParser("Bl") |
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
import sourcerebels.com.Post | |
class BootStrap { | |
def fixtureLoader | |
def init = { servletContext -> | |
environments { | |