Stop Microsoft from Spying on everything you do. (Block Telemetry)

Most people know that the Windows Operative System is sending lots of information about their users to Microsofts servers.

What kind of information are they collecting? Why do they need more than information about bugs, what version you have of their product so they can send the right ones so you can update your system and information that really is needed to use Windows from day to day.

I don’t want to send everything I type, every URL I visit, the kinds of media I’m listening to or watching. Because that is private information and I like to be able to choose what kind of stuff corporations know about me.

If you want to block some of some of Microsofts Telemetry Servers then copy the list below and paste it at the end of your HOSTS file.
You’re doing this at your own risk. I’ve done it among several other people and my PC seem to be working fine.

You first need to run Notepad as Administrator, click on Windows Start button, type Notepad and Rightclick on it and choose to run it as Administrator.

In the Notepad meny, Open this file:

Now, copy the list below and paste it at the bottom of the file, then save it and close NotePad. Now these servers should be blocked.

Continue reading Stop Microsoft from Spying on everything you do. (Block Telemetry)

Force HTTPS and/or WWW on your WordPress site!

As you probably know by now. Google is starting to add a new ranking factor to their ever-changing algorithm.

It’s SSL that they want us to use but it’s a good thing since the data you send and receive from a server will be encrypted and a bit harder for people that might try to gather information like credit card numbers, passwords and other sensitive information.

First, make sure you’re happy with your Permalinks settings. Once that is done, open the file named “.htaccess” and after taking a backup of it, change it to the similar bit of “code” below:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# Force www
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

# Force SSL
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L,NE]
# END WordPress

Just add the “Force www” part for adding www if you want it. The SSL part below is what’s important.

Save the file and try going to some of your old URLs.

Get Latest Post In WordPress (Tiny PHP Code)

Here’s a useful code snippet in PHP for WordPress to get a link to the newest (latest, freshest… you get the idea) post in WordPress.

Code starts here:

$latest = get_posts(array('numberposts' => 1));
$url = get_permalink($latest[0]->ID);
echo "<a href='" . $url . "'>Click here and read our latest post!</a>";

Yeah, that’s it. Have a great day!

Shuffle – Work with a grid layout, sort pics, do…. it all… This is a great tool!

Shuffle is a really handy javascript for as they say on their website “Categorize, sort, and filter a responsive grid of items”.
Take a look at it because it’s worth it if you’re playing around with photos and grid.

Alexas_Fotos / Pixabay

There’s plenty of ways to sort and all kind of settings. So check this out if you’re in search of something like it.

The Most Important Bookmarklet Ever!

You probably can relate to this. Lets say you’re surfing around looking at funny pics and then BAM! You’re like: “Where the hell is the piano? I want to play on this website right now!”.

Well, this is a life saver. Because, now you can just run this bookmarklet and BAM! You got yourself a nice piano!

Use the code in the bookmark on in the address field:

javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src=""})();