Stay Connected

PERSONAL BLOG
What is GOPATH and GOROOT in GoLang

What is GOPATH and GOROOT in GoLang

Go tools expect a certain layout of the source code. GOROOT and GOPATH are environment variables that define this layout. These two are the most essential PATHs in GoLang. The go tool uses it to do the task in a better way. Now, we are going to take a look at what each one represents.

• GOPATH in Go Programming
• GOROOT in GoLang
• Modifying GOPATH and GOROOT

GOPATH in Go Programming

GOPATH is a variable that defines the root of your workspace. By default, the workspace directory is a directory that is...

How To STOP WordPress wp-login.php Brute Force Attack

There been several large scale WordPress wp-login.php brute force attacks, coming from a large number of compromised IP addresses spread across the world since April 2013.

A large botnet of around 90,000 compromised servers has been attempting to break into WordPress websites by continually trying to guess the username and password to get into the WordPress admin dashboard.

Global WordPress brute force attack General WordPress brute force protection

While we do HIGHLY recommend implementing as many security solutions as possible for WordPress. The following guides would be a great first step in protecting yourself and...

How to Protect WordPress Pages, Posts With Password

There may come a time when you want to password protect a WordPress page, post or product. Maybe you want only your family and friends to read a blog post or allow certain clients to access a product for purchase. No matter your reason, luckily, WordPress has you covered.

This article will show you how to password protect WordPress pages, posts or products, as well as give plugin suggestions for additional content protection needs.

Using Default WordPress Functionality Plugins for Additional Password Protection Using Default WordPress Functionality

For the simple functionality of password protecting a...

WordPress Speed & Performance Optimization

WordPress Speed & Performance Optimization

Website speed is an actual Google ranking factor. That’s why you need to emphasize site speed and performance. Unfortunately, there’s no easy solution to slow web speeds. There is no magic plugin, script, or tactic that will instantly speed up your website. Optimizing a WordPress site’s performance can be a daunting task, especially for larger sites.

Here are a few common WordPress speed optimization myths that I would like to dispel.

Benchmarking Tools -Test Your Speed Choose a Better Web Hosting Provider Use Content Delivery Network (CDN) Minimizing Plugins Caching Reduce Image Sizes Enable GZIP Compression Cleanup WordPress Database Keep External Scripts Minimum Disable...
Android Architecture MVC, MVP and MVVM Design Patterns – A Detail Tour

Android Architecture MVC, MVP and MVVM Design Patterns – A Detail Tour

Architectural Design Patterns MVC, MVP and MVVM Model View Controller (MVC) Model View Presenter (MVP) Model View View-model (MVVM) Difference between MVP and MVVM Architectural Design Patterns MVC, MVP and MVVM

There are many different architectural approaches available these days like MVP, FLUX, MVI, MVVM etc. One can use any approach as long as code is maintainable. MVC, MVP, and MVVM are three popular design patterns in software development. All these design patterns by and large help in developing applications that are loosely combined, easy to test and maintain. All discussion about the pattern...

How to Fix 404 Page Not Found Error – Codeigniter in subdirectory on Nginx

How to Fix 404 Page Not Found Error – Codeigniter in subdirectory on Nginx

This article covers How to Fix 404 Page Not Found Error in Codeigniter and run Codeigniter  application from subdirectory on Nginx.

For example, we may have an application running at example.org but need a second application running at example.org/blog.

This feels like it should be simple, but it turns out to be more complex and fraught with confusing Nginx configurations!

Here’s the working configuration to have two Codeigniter apps working, where one application exists in a subdirectory of another.

server { listen 80 default_server; listen [::]:80 default_server; root...

Leave a Reply

×
%d bloggers like this: