Bye bye ads!

I was exploring various “Raspberry Pi” projects and stumbled upon “pi-hole“. “Pi-hole” is designed to block ads using your own Linux hardware. Let’s say you have a server or a “Raspberry Pi” sitting doing nothing. The installation to supported distributions is easy:

curl -sSL https://install.pi-hole.net | bash

After that “pi-hole” is used as a DNS server. It can be used two ways:

  • Assigning “pi-hole” device IP as DNS server in client settings
  • Using “pi-hole” device in the router as a DNS server

And then we say “Bye bye ads!”. Below I’m attaching a picture with the stats, they can be reached typing in device ip/admin in your browser.

Adobe Photoshop issues

For a while everything was ok. Suddenly Photoshop started “freezing” after opening a new file or creating a new one. It took a minute for Photoshop to unfreeze again. An internet search provided a solution: in Windows before starting the application hold down keys

Alt+Control+Shift

A dialog window asking to delete preferences will popup, clicking Ok will solve the issue.

Gopro Hero external microphone mod

I think that a few of Gopro Hero owners have noticed, that the onboard microphone is not suited for all situations. Especially when the camera is used on a car, then all you hear is the noise of the wind. You can of course buy a “dead cat” which helps to remove the noise, but a better option is an external microphone placed somewhere inside the car.

In order to use an external microphone you need a donor housing for the camera and a Usb to 3.5mm adapter.

_mg_8555
Usb to 3.5

Why do you need a donor housing? Well because we will make a hole in it for the adapter to pass through.

_mg_8549
E-bay housing

First we mark the spot with a marker.

_mg_8550
Marked the area

Then we take the Dremel and start drilling the first holes.

_mg_8554
Dremel 3000

I’ve noticed that the plastic is quite meaty. There we have first three holes.

_mg_8551
Three holes

The housing after the “operation” and ready to use.

_mg_8553
The opening

And with the adapter connected.

_mg_8552
Adapter in place

So that’s all there is to it. We will see how the microphone sounds in the future.

DT Swiss XRC 100 fork

The bike is ging to lose some weight in 2017. Today I bought a DT Swiss XRC 100 front fork. It has a lot of carbon fiber, so the weight is only around 1.28kg.

The current Fox RL F80 fork will now be able to retire ­čÖé

Polar M450 impressions

For about two years, well maybe even three I was cycling with a VDO speedometer. Unfortunately one day this year the speedometer stopped working. I decided to buy a Polar M450, which not only shows the speed, but the pulse and more.

I chose Polar M450, because the M400 that I had before turned up to be a nice product. Only it wasn’t always convenient to check the display while having it on my wrist. Of course like the M450 it can be fastened to the bike, but you need a separate holder for that.

m450_8373
Polar M450

After the first ride I can tell that I like it. Only the display feels “slow”. Also the speed parameter takes a little to update, because it’s calculated using GPS. The pulse, like with the M400 is measured using the Polar H7 chest belt.

I like the ability to customize the display of the M450, the same as with the M400 it’s done easily using the Polar Flow service. Using different sports profiles you can pick four parameters to be displayed. I currently ride with these parameters: current pulse, maximum pulse, speed and the distance cycled.

Passed the inspection

So finally, after a year and a little bit more we passed the inspection. There were some fault too: bad exhaust fumes and the front wheels had some movement. As I later found out, I have forgotten to tighten the CV bolts, so problem solved now.

It’s nice to finally see it in daylight.

_mg_8392

_mg_8390

_mg_8395

Xiaomi Mi Piston Air earphones

I was tempted with the small price and good reviews on Head-Fi and bought these earphones. Purchased them through e-bay, checking which sellers have authentic products, because many replicas are produced too.

The product for ~15 euros is quite good, personally I only disliked the sound being too “flat”.

Their unique design lets them stay in your ears comfortably. There’s less of a chance that they will fall out when jogging or doing some other sports.

Currently these earphones are waiting till some of my other earphones die and then I will start using them.

Ubuntu Server and Owncloud

So let’s try to host our own cloud storage. The last time I tried Owncloud was on a Raspberry Pi2, but the speed wasn’t acceptable. So this time we are installing it in a server that has an Intel Dual Core cpu and 2GB Ram.

Owncloud in short. Owncloud is a free file storing in the “cloud” solution, but you need to have a server to install it to. After you install Owncloud, you can login to it from mobile devices and PCs, Linux, OSX and Windows clients are available. All you need to do is to install a client program.

Installation steps:
1. Download the latest official release from here.
2. Untar the archive with this command

$tar xvfj our_file.tar.bz2

3. Move the “owncloud” directory to our web server’s www directory.
4. Create needed permissions using

$chown -R www-user:www-user owncloud_directory

5. Point our browser to our www server’s address and owncloud, in my case it’s “localhost/owncloud”.
6. Enter the Administrator username and password, sql database properties (I chose Mysql).

And the installation is complete. Of course you should add an SSL certificate, if you’re going to use it not only from you local network.

cloud-1-2