30 September, 2019

YouSee Supporters don't know anything about LAN

Trying to get some useful info from YouSee. They block the LAN, so my computers cannot communicate. I cannot ping. So this may explain why the Chromecast is lost again and again. As a consequence I'll have to find a better web provider.

A service guy tried to help me. But he could not. He did not know what a LAN is at all. In the end he suggested, that I should shut down the modem, and then my LAN would work he suggested. No further questions were necessary. The YouSee supporters apparantly don't know anything about simple web techlology.

If you know a better service provider than YouSee let me know in the comments.

Unfortunately my conclusion is:

YouSee sucks big time if you want to do something "advanced". Like setting up a server om a localhost ... So basicly the service is expensive and useless.

19 September, 2019

WordPress Custom Frontpage

front-page.php - a costum front page for the theme.


An evening in my WordPress staging environment - or rather sandbox. The front-page.php file was made with a W3 Schools Bootstrap tutorial sample. Features:

  • Three widget areas.
  • Bootstrap design.

18 September, 2019

WordPress - Twenty Nineteen: How to Remove the Heading Dash

Twenty Nineteen is a very clean theme. But for some reason I don't fancy the dash over all headings. You can remove it via this entry in style.css - or in the costum css:

/* remove the top dash */
h1:not(.site-title):before,
h2:before {
  background: #767676;
  content: "\020";
  display: block;
  height: 2px;
  margin: 1rem 0;
  width: 0em;
}

.entry .entry-title:before {
    background: #767676;
    content: "\020";
    display: block;
    height: 2px;
    margin: 1rem 0;
    width: 0em;
}

/* you may also want this ... */
.post-navigation .nav-links a .meta-nav:before, .post-navigation .nav-links a .meta-nav:after {
    display: none;
    content: "";
    width: 2em;
    color: #767676;
    height: 0em;
}

.comments-area .comments-title-wrap .comments-title:before {
    background: #767676;
    content: "";
    display: block;
    height: 2px;
    margin: 1rem 0;
    width: 0em;

}

WordPress REST API route on localhost

This route works on a localhost:

http://localhost:8888/wordpress/?rest_route=/wp/v2/posts

Probatum est.

11 September, 2019

Chromecast does not work with Yousee

After an upgrade of the moden my Chromecast became unstable. Sometimes it's found. Sometimes not. It does not matter whether I use 5g_ og the ordinary wifi AP. I need something that's stable. Yousee sucks big time. Or is it my chromecast?

12 August, 2019

[Fixed] Chromecast Not Working


  • Hold down the reset button for around 20 sek.
  • Update the Chrome Home App on an Android Mobile
  • Follow the setup instructions on the screen
Strangely enough the Android fix changed the Chromecast settings on the Chrome browser in Linux. So if it does not work on your PC, try to update the thing on your phone. 

08 August, 2019

DSLR: Force Sharper Images on Night Pictures

Night photo: F8, ISO 100, shutter decided by Sony SLR-A58


If you want a photo that is sharp all over you could select an aperture priority, and just shoot. But then the camera will try to get an image with a fast shutter speed. In order to do so the ISO-number will rise. As a consequence the image quality will suffer.

Here is a simple recipe:

  • Set aperture to F8
  • Set ISO to around 100 to 400 or so
  • Let the camera calculate the shutter speed
As a result of these settings you will get a fine depth of field because the aperture is F8. The camera cannot choose a lousy quality of the image, because the ISO is defined as 100 or a bit more. Since the ISO and aperture are fixed the camera is forced to calculate a longer shutterspeed - and as a consequence your picture will be sharper with more details. 

30 July, 2019

Manjaro: Record Sound from Microphone or Intrument

For some reason you have to tweak the soundcard settings to both sound and input, like this:


Note the recording by Audacity in the background. Now the sound could take a little fine tuning in order to reduce the noise. But for now the problem of getting sound is solved.


  1. Open the sound control in settings
  2. Find your soundcard and make sure that you have both input and output options
IMHO such a thing should work out of the box ... I cannot see the reason for hiding such settings.



06 June, 2019

Epson ET 2750 - printhead: colors missing

I have tried to clean the printhead - first via the standard method. In a video a power cleaning was recommended. It is initiated by click power + help. After a 7 minutes cleaning process you'll have to wait for 12 hours.

Well, now I just hope that the thing works.

16 May, 2019

Mapbox - problems with Chrome

Strange problem: Mapbox maps will not display when I use Chrome. But with Firefox it's ok. The dark side I sense.

07 May, 2019

GIMP - Crappy Crop Tool

For some reason I cannot use the crop tool at all. However I can mark part of an image, and then select crop to selection. The behavior does not compute at all. However after the manner of yodisms: solved the problem is.

22 April, 2019

Chrome Lag on Manjaro Linux


  1. Goto settings > advanced
  2. Remove mark by "hardware acceleration"
Strangely enough this will speed up the system. It was recommended in a blog.

I also tried to stop a few extensions.

However Chrome is RAM eater, see this article.

02 April, 2019

Between sleep and wake - idea for Mapbox with custom icons

Code and result: costum icons
Between sleep and awake this idea came to me - how to get images via geojson on a  map made in Mapbox.

See this file on my Github repository.

The geojson was formatted like this:

let geojson = {
      "features": [{
          "type": "Feature",
          "properties": {
            "city": "Nordborg",
            "symbol": "tux.png"
          },
          "geometry": {
            "coordinates": [
              9.742207,
              55.054442
            ],
            "type": "Point"
          },
          "id": "47dfbd93a4ac0e3d94d492fc6fe5f0cb"
        },
        {
          "type": "Feature",
          "properties": {
            "city": "Augustenborg",
            "symbol": "tux2.png"
          },
          "geometry": {
            "coordinates": [
              9.877219,
              54.946994
            ],
            "type": "Point"
          },
          "id": "9bec41b72adf6c7e74b090764c46fcc2"
        }
      ],
      "type": "FeatureCollection"
    }

And here is the loop, that printed out the result on the map. An img element was created on the fly:

  for (i=0; i [blogger hides the loop!]

      // create html element in the DOM
      var el = document.createElement('img');
      el.src = 'images/' + geojson.features[i].properties.symbol;
      el.alt = geojson.features[i].properties.city;
      el.style = 'width: 75px;height:auto;';

      // add the markers to the map
      new mapboxgl.Marker(el)
        .setLngLat(geojson.features[i].geometry.coordinates)
        .addTo(map);

      // by thine own ingenium add a popup with relevant info
    }

For some reason Bogger hides the last part of the loop. Probably it's a useless security stunt, however you can see the code here.

12 March, 2019

Manjaro: how to print a several copies

Problem: When I try to print several copies of a file, only one is printed, then the printjob is terminated.

Solution: a bash file, like this:

for i in {1..18}
do
  lp foo.pdf
done

20 February, 2019

Quicktime

How to trim a video (clip): CMD + T. A yellow box will appear. Trim and save. The video below saved my day.


06 January, 2019

Manjaro: NPM conflicting versions cannot update






Problem solved npm up and running again.
Problem: Could not update Manjaro after an update in NPM. The message was: "conflicting versions".


Solution: Removed all NPM packages, and then update was possible.

I guess the next step will be to reinstall NPM. It is of course unfortunate, since there is a lot of nodejs related stuff on my system. So I'll hope for the best ...

And here I was right. I cannot install NPM again! However there is a list of conflicting files, that exist in the system, even though NPM was removed. I guess that I have to remove these 11 files manually:

npm: /usr/lib/node_modules/npm/.licensee.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/ci-info/vendors.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/graceful-fs/clone.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/LICENSE findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/README.md findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/chownr.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/chownr/package.json findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/LICENSE findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/README.md findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js findes allerede i filsystemet
npm: /usr/lib/node_modules/npm/node_modules/tar/node_modules/minipass/package.json findes allerede i filsystemet

Hypothesis: With my experience with NPM I guess that this may cause problems, if these files relate to something else. But ... without further ado I'll remove the problemmakers.

Experiment: remove 11 or so troublemakers.

In order to do so I created a bash script:

The "npm:" was replaced with "rm" in the Mousepad editor, and end of the lines " findes allerede i filsystemet" (danish for = "the file already exists in the file system") was removed in the same way. So the error message was transformed to a simple bash file.

Note the missing shebang (I admit, I'm lazy here but the thing worked for me). You'll have to run this as sudo, since one of the files is protected.

The next step is to reinstall npm.

Result: Success - NPM is now up and running version in 6.5.0. And pacman & co. are able to update the system.

29 November, 2018

Mac: fan running like mad

Now the CPU load seems normal

Problem: Fan running like mad. In top the CPU load was 80-90%. Only a few programs were opened, like Chrome, Atom and MAMP.

Solution: 

  1. Click  > sleep
  2. Wake the system up
  3. Click  > restart
Then the system acted normal.  A simple and effective cure for a weird behavior in the OS.

Compiz: Widow decoration invisible



Problem: Now and then after a reboot or restart of the system the window decorations disappear.

Solution: Open the Compiz Settings Manager and set a mark at "Enable Window Decorator" (translated from Danish - I'm not sure that these are the correct English wording, but see the illustration).

09 November, 2018

Outlook encrypt mail in a browser

Just click on the encrypt icon
In Europe I guess we have to encrypt our mails, at least when they contain sensitive personal information. I'm not sure whether this form of encryption is very secure, but at least I guess that the data is encrypted during transit.


  1. Write your mail
  2. Click encrypt
  3. Click the send icon

Problem: Send encrypted mail via Outlook to Gmail

You're told that a code will be sent to the email, however the code never arrived to gmail. If it's a standard issue, this encrypt system is useless. You cannot expect that all will use Outlook.

07 July, 2018

Epson ET-2750

Epson ET-2750 on my LAN.


Epson has released printer drivers for Linux, but the drivers are not made for Arch Linux. I downloaded the drivers, and found the relevant .pdo files, but the USB install did not work as expected in CUPS.

On the tiny printer screen I saw a wifi option, entered the LAN password. Then I could visit the printer on a local tcp/ip address. From the web interface installing the printer was easy.

So don't mess with drivers, just use the wifi options.

05 July, 2018

Running Koala on Max

Koala is a nice tool for SASS, Less and JavaScript kompilation / testing. However if you try to run the program on a Mac you have to allow the program.

After installation find the program in your Programs folder. Then press 'control' and right-click on the program launcher icon. Now you are able to run the program.

After this the program will launch normally from the launchpad.

03 June, 2018

Gmail Becomes Useless

Google tracking me via mobile devices


Now - every time I try to log into my gmail account Google wants to send an SMS with a code. Now this may look as if it's security, but in reality it is spying on the user. Since I don't have my mobile next to me all the time, the gmail account will become too cumbersome to use. So now I think the time has come where I will stop using gmail.

If I cannot log into my account without a mobile device gmail becomes useless.