-
Install needed adobe apps from adobe creative cloud.
-
Open Terminal.
-
Copy-paste the below command to your terminal and run it (enter password when asked).
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
# Intall Homebrew | |
xcode-select --install | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Alias to open files by SublimeText | |
ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime | |
# Instalar Git, PHP 5.6, Composer, Mcrypt | |
brew install git | |
brew tap homebrew/dupes |
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
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/marlonassuncao/.oh-my-zsh | |
ZSH_THEME="gianu" | |
plugins=(git) | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
source $ZSH/oh-my-zsh.sh |
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
Show hidden characters
{ | |
"color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
"font_size": 11, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"theme": "Material-Theme-Darker.sublime-theme" | |
} |
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
sudo chown -R www-data:www-data /var/www/folder |
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
sudo chown -R hofbraubh:nogroup /var/www/ |
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
######################################################################## | |
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2019 | |
# ---------------------------------------------------------------------- | |
# @Author: Andreas Hecht | |
# @Author URI: https://andreas-hecht.com | |
# License: GNU General Public License v2 or later | |
# License URI: http://www.gnu.org/licenses/gpl-2.0.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
UPDATE wp_options SET option_value = replace(option_value, '', '') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, '', ''); | |
UPDATE wp_posts SET post_content = replace(post_content, '', ''); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value, '', ''); | |
UPDATE wp_revslider_sliders SET params = REPLACE(params, 'https:\\/\\/vps02.nawe.com.br\\/tests\\/preall\\/', 'https:\\/\\/www.preall.com.br\\/'); | |
UPDATE wp_revslider_slides SET layers = REPLACE(layers, 'https:\\/\\/vps02.nawe.com.br\\/tests\\/preall\\/', 'https:\\/\\/www.preall.com.br\\/'); |
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
<?php | |
require_once 'ActivityPublishNotification.php'; | |
use BuddyBossApp\Jobs; | |
use BuddyBossApp\Notification\IntegrationAbstract; | |
add_action('bp_activity_after_save', 'where_activity_from', 10, 3); | |
function where_activity_from( $activity ) { | |
// print_r($activity->content); | |
$users = get_users( array( | |
'fields' => 'ids', | |
'number' => 200, |