Igor Simic
1 week ago

#htaccess redirect www to non www

                    RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Igor Simic
Edited 2 months ago

How to install conda on your mac notebook?

1. check your python version:

                    python3 --version
                  

2. download #conda package for your python version from this link

3. restart your terminal

4. check the installation, type in terminal:

                    conda --v
#output:
#conda 4.12.0
                  
Igor Simic
Edited 2 months ago

#python error The script is installed which is not on PATH

How to solve this issue?

Add this to the path:

                    export PATH="/Users/username/Library/Python/3.8/bin:$PATH"
                  
Igor Simic
3 months ago

check out these useful #SEO tips and tricks by Matt Diggity:

How to use SEO to get more site visitors
Floyk com
4 months ago
Igor Simic
Edited 5 months ago
Vizenzo Caponera
Edited 6 months ago

Elon Musks laughs about Twitter πŸ€£πŸ€£πŸ€£

Does this mean the deal is off?

Igor Simic
6 months ago

Google Analytics 4 #GA4 walk trough and all basic features explained πŸ‘‡οΈπŸ‘‡οΈπŸ‘‡οΈ

GA 4 tutorial for beginners
Jason Miller
Edited 7 months ago

#laravel how to check does request contain specific POST parameter. Actually there are couple of methods we can use in this case.
Here they are in another #laraveltip

                    $request->has('eventName')

// or

$request->exists('eventName')

// or 

$request->filled('eventName')
                  
Jason Miller
7 months ago

#laravel

Do you know how to show hidden model field just for specific query request? Do you know about makeVisible() method?
Checkout this #laraveltip

                    class User extends Model
{
// in our User model we are hiding id 
protected $hidden=['id'];

}

// select all users
$user = new User();
$users = $user->all();

// show id for this query
$users->makeVisible(['id']);

return $users; // will contain id