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
# Adding OhMyPosh Styling | |
eval "$(oh-my-posh init bash --config ~/AppData/Local/Programs/oh-my-posh/themes/tonybaloney.omp.json)" | |
# Start SSH Agent | |
#---------------------------- | |
SSH_ENV="$HOME/.ssh/environment" | |
function run_ssh_env { | |
. "${SSH_ENV}" > /dev/null | |
} |
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 | |
class CustomElementorWidgets | |
{ | |
public function __construct() | |
{ | |
add_action('wp_enqueue_scripts', [$this, 'widgets_dependencies'], 80); | |
add_action('elementor/widgets/register', [$this, 'widgets_register']); | |
} |
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
# MULTISITE CONFIGURATION | |
if ( $uri ~ "files" ) { | |
rewrite ^/(?:.*/)?files/(.+) /wp-includes/ms-files.php?file=$1; | |
} | |
if (!-e $request_filename) { | |
rewrite ^/[_0-9a-zA-Z-]+(/wp-(content|admin|includes).*) $1 break; | |
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ $1 break; | |
} |
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
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
# add a trailing slash to /wp-admin | |
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] | |
RewriteCond %{REQUEST_FILENAME} -f [OR] | |
RewriteCond %{REQUEST_FILENAME} -d | |
RewriteRule ^ - [L] |
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
# in the modular files, add only [user] properties | |
[user] | |
name = Your Name | |
email = youremail@gmail.com | |
[winUpdater] | |
recentlySeenVersion = 2.25.0.windows.1 | |
[filter "lfs"] | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true |
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
# Add this on .bashrc | |
# Start SSH Agent | |
#---------------------------- | |
SSH_ENV="$HOME/.ssh/environment" | |
function run_ssh_env { | |
. "${SSH_ENV}" > /dev/null | |
} |