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
/* | |
functions.php code | |
*/ | |
// Your code | |
function lar_text_strings( $translated_text, $text, $domain ) { | |
switch ( $translated_text ) { | |
case "No products in the cart." : | |
$translated_text = __( "NO HAY PRODUCTOS EN EL CARRITO", "woocommerce" ); |
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
#change de URL of the repo | |
repo=<repo_url.git> | |
tools=(trellis bedrock sage) #tool from roots.io | |
subtrees=(trellis site site/web/app/themes/sage) #folder structure for the tools | |
#init repo | |
git init | |
git remote add origin ${repo} | |
touch .gitignore |
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 | |
DATETIME=`date +%y%m%d-%H_%M_%S` | |
SRC=$1 | |
DST=$2 | |
GIVENNAME=$3 | |
showhelp() { | |
echo "\n\n############################################" | |
echo "# bkupscript.sh #" | |
echo "############################################" | |
echo "\nThis script will backup files/folders into a single compressed file and will store it in the current folder." |