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 | |
# ./bin/behat-ci.sh | |
project_dir=$(dirname $(readlink -f $0))"/.." | |
logs_path=${1:-"./build/logs/behat"} | |
reports_path=${2:-"./build/behat"} | |
cd $project_dir |
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
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> | |
<os:ShortName>Django.me</os:ShortName> | |
<os:Description>Search Django.me</os:Description> | |
<os:InputEncoding>UTF-8</os:InputEncoding> | |
<os:Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABWklEQVQ4jaWTvUtCYRSH+5/M24dFQ+q1D2kI2hrTawmB1NISgS4WRktDRYZEU1DQB1RDVBAFTQ1BwYXQGoog0pup1/d9WtQgM2924CzvOe8D55zfr2k6HsXmczaU0/EoTfWa7H43dr+7Zv1XQNtoD1JKhBAomkq+kMc0TRzBfmuA9rFeJCClRNFUhBQA1gDdoUHcE0OUQ9FUOoJeOoPe2iPYNTeL23GeX1/4HoqmkjYyZLIGjmDfz4CFzSUAzKLJ1ukeq/sbFIWoAIQoj1ADoD/eA7Cyu155yxXyX4B6O3gz0gBMLUcaA9yldAB2zg+rAC0BD0LK3wHhxHxlacmnB671G2TpU9f4QKXWOtpT+4wza3PcpXSKoghANvfBbVJnODIGgJF9t6bEZr+LloCnJGcXR1cnAJxdX1iXss3nRNFUDi6PARBSoMUm/wYoeyKciDEyG6o203/t/An332rBvCVygAAAAABJRU5ErkJggg==</os:Image> | |
<SearchForm>http://django.me/</SearchForm> | |
<os:Url type="text/html" method="GET" template="http://django.me/{searchTerms}"></os:Url> | |
</SearchPlugin> |
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 | |
if [ -z $1 ]; | |
then | |
session=$(basename `pwd`) | |
else | |
session=$1 | |
fi | |
tmux has-session -t $session |
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 | |
if [ -z $1 ]; | |
then | |
session=$(basename `pwd`) | |
else | |
session=$1 | |
fi | |
tmux has-session -t $session |
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 | |
if [ -z $1 ]; | |
then | |
session=$(basename `pwd`) | |
else | |
session=$1 | |
fi | |
tmux has-session -t $session |
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 | |
accounts=(usuario1 usuario2 usuario3) | |
for account in ${accounts[@]}; | |
do | |
su - ${account} -s /bin/bash -c "cd /home/${account}/public_html && unzip -q -o /tmp/Joomla_2.5.x_to_2.5.28-Stable-Patch_Package.zip"; | |
echo "account "${account}" updated" >> $HOME/report_update_joomla_2_5.csv; | |
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
#!/bin/bash | |
echo "Iniciando" | |
if [ -z $1 ]; then | |
dir_search=/home/*/public_html | |
else | |
dir_search=$1 | |
fi | |
if [ -z $2 ]; then |
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 | |
sudo rm -rf /opt/java/default && sudo ln -s $1 /opt/java/default | |
java -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
#!/bin/bash | |
service httpd stop | |
rm -rf /usr/local/apache/domlogs/*{offsetftpbytes,bytes_log,bkup} | |
rm -rf /usr/local/apache/domlogs/*.{es,com,net,org,pe,com.pe} | |
rm -rf /usr/local/apache/domlogs/ftp* | |
rm -rf /usr/local/apache/domlogs/*/* | |
service httpd start |
OlderNewer