This file contains 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 | |
workpath=$(pwd) | |
echo $workpath | |
function goToWorkPath() { | |
cd $workpath | |
} |
This file contains 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 | |
workpath=$(pwd) | |
rm -r -f temp | |
echo $workpath | |
function goToWorkPath() { | |
cd $workpath | |
} |
This file contains 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/bin/env bash | |
BRANCHNAME=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/') | |
FLAT_COMMIT=$( echo $BRANCHNAME | tr -d '(' | tr -d ')' ) | |
IFS='-' read -r -a myarray <<< "$FLAT_COMMIT" | |
echo "Digita il messaggio di commit: puoi modificare anche il nome del branch " | |
INPUT_COMMIT=$(echo "${myarray[0]}"-"${myarray[1]}") |
This file contains 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
this gist is for artile write | |
http://www.joomla.it/e-ancora/articoli-community-3x/8633-personalizzare-il-componente-content-con-gli-override.html |
This file contains 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
var gulp = require('gulp'), | |
util = require('util'), | |
exec = require('child_process').exec; | |
gulp.task('phpunit', function() { | |
exec('phpunit -c my_project_name/App', function(error, stdout) { | |
util.puts(stdout); | |
}); | |
}); |