#Rename a local and remote branch in git
-
Checkout local branch.
-
Rename local branch git branch -m {new-name}
-
Delete the old-name remote branch and push the new-name local branch. git push {origin} :{old-name} {new-name}
.comment[cp_visibility="0"], .comment[cp_visibility="-1"], .tracking_widget_stopwatch { | |
-webkit-filter: blur(6px); | |
opacity: 0.1; | |
} | |
| |
.wireframe_content_wrapper:hover .comment, .tracking_widget_stopwatch:hover { | |
-webkit-filter: blur(0px); | |
opacity: 1; | |
} |
# Generic example | |
export PHP_IDE_CONFIG="serverName=<host.lan>" && php -d xdebug.remote_autostart=on -f <somefile>.php -- <any PHP file CLI arguments> | |
# bin/magento example | |
export PHP_IDE_CONFIG="serverName=<host.lan>" && php -d xdebug.remote_autostart=on -f bin/magento -- <bin:magento:command> <any bin/magento command line arguments> | |
#### OLD WAY #### |
$array = preg_split("/\r\n|\n|\r/", $string); |
curl -D - -o /dev/null -s https://www.smkw.com |
# From public_html run: | |
tar -czvf site-domain.tar.gz * |
for PID in $(mysqladmin processlist | grep 'INSERT INTO `search_tmp' | awk '{ print $2; }'); do mysqladmin kill $PID; done |
scp -r client-envir:/var/www/html/releases/{release_dir}/pub/media/porto/configed_css pub/media/porto | |
#git commit files | |
#deploy |
#Rename a local and remote branch in git
Checkout local branch.
Rename local branch git branch -m {new-name}
Delete the old-name remote branch and push the new-name local branch. git push {origin} :{old-name} {new-name}
# Module: cms-staging | |
From 92b3db5210eb6730d22d6cd3bca2c3d9fb87d46a Mon Sep 17 00:00:00 2001 | |
From: Chris Huffman <chris.huffman@classyllama.com> | |
Date: Fri, 17 Jan 2020 10:52:04 -0600 | |
Subject: [PATCH] Fix setup:db:status issue | |
--- | |
etc/db_schema.xml | 3 +++ | |
1 file changed, 3 insertions(+) |
#Run the following commands to install SourceGuardian Loader | |
#The example below is for PHP 7.2. Please use the version that applies to your situation. | |
sudo su | |
mkdir /usr/local/sourceguardian | |
cd /usr/local/sourceguardian | |
curl https://www.sourceguardian.com/loaders/download/loaders.linux-x86_64.tar.gz --output loaders.linux-x86_64.tar.gz | |
tar xzf loaders.linux-x86_64.tar.gz | |
cp ixed.7.2.lin /usr/lib64/php/modules/ |