Developers Blog

Problems, solutions and everything in between.

Recent Entries

JavaScript challenge: Return the longest word in a sectence

How to extract url from hyperlink column in a Google Doc spreadsheet

=index(SPLIT(SUBSTITUTE(FORMULATEXT(A1),"=HYPERLINK(""",""),""","""),1,1)

React deconstruct a single prop whilst maintaining the other props

You may or may not know you can deconstruct props. In the shortest possible explanation,…

Install Node / NPM via Homebrew

Homebrew is a package manager for Mac, if you haven't already installed it go ahead and follow…

Blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present

If you're seeing the following error "has been blocked by CORS policy: No…

What Are Laravel’s File/Folder Permissions When Installing?

Set the Permissions chown -R www-data:www-data /var/www/domain/ chmod -R 755…

Elasticsearch PHP - Create or Update a document if it doesn’t exist

$client = ClientBuilder::create()->build(); $id = 123; $params = []; $params['index'] =…

Useful Elasticsearch Tips, Tools and commands

Delete all indexes curl -X DELETE 'http://localhost:9200/_all' Get the mapping and the settings…

Basic Potential SSH Compromise Test

This will show you all logins excluding your IP address. last | tac | grep -v YOUR-IP-HERE…

Check for any SSH password changes

history | grep passwd