Skip to content
Menu
i do, therefore i am
  • Home
  • Blog
  • Contact us
i do, therefore i am

Blog

September 10, 2022November 7, 2022

Connecting the Raspberry Pi to a DVI-Adapter

I have an old monitor which only supports DVI and when I work from home, I connect my notebook to it using an HDMI to DVI adapter. This approach, which has never caused a problem with any of my notebooks, has never worked when trying to connect a Raspberry Pi to it. Most of the…

Read More
May 19, 2022November 7, 2022

Missing codec in Ubuntu

Those who try to play videos on a fresh installed Ubuntu are likely to be confronted with the problem of missing codecs. The good news is that, even though these are not present by default, they are still available and can be easily installed with apt or apt-get. The codecs are part of the ubuntu.restricted-extras…

Read More
May 9, 2022September 5, 2022

VS-StudioCode

I have recently begun using Visual Studio Code for development on linux. It is a fine Editor, and it seems as there is an extension for almost every development or dev-ops related task. Although I am far from being an expert and for the most part use only a very small part of the available…

Read More
May 5, 2022November 7, 2022

linux: find -exec

Find is a fine command of itself, however what elevates find to the next level is its ability to execute other commands. The argument for that is -exec. -exec consists of 3 parts: command arguments delimiter The syntax is: find <path/to/search> [search expression] -exec <command> <arguments> <delimiter> The command This is just any command that…

Read More
April 16, 2022November 7, 2022

VMware: Module Disk Power on Failed

When using VMware you may encounter a “Module Disk Power on Failed” error while starting up a VM which was not properly shut down. It appears accompanied by “The process cannot access the file because another process has locked a portion of the file” and followed by “Failed to start the virtual machine”. It usually…

Read More
April 15, 2022November 7, 2022

Open-VM-Tools(VMware)

Install open-vm-tools Distros which use rpm, yum, dnf: Distros which use apt, apt-get: apt-get install -y open-vm-tools Mounting the host shares Temporarily. Execute the following command. This will mount the shared folders for the current Session. It will have to be done again the next time you start the VM. Make it persistent. Putting the…

Read More
March 17, 2022November 7, 2022

Windows: Spotlight images

Those images one see on the login page of Windows are (at least temporarily) stored in the local machine. The containing folder can be found under: C:\Users\USERNAME\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets where USERNAME is the logged-in user. The folder may be hidden, so one should have the show hidden folders option active to see it. The images are in…

Read More
March 6, 2022November 7, 2022

Python Generators

A generator is a function that returns an iterator. It uses yield instead of return. Each time the generator fetches a value and gives it back to the calling function, it yields control to the caller while keeping track of its current state. When the caller accesses the next value in the iterator, the generator…

Read More
March 4, 2022September 18, 2022

Python Decorators

The decorator pattern in Python is a means to add functionality to a function without actually changing the code of the decorated function. The pattern The decorator pattern consists of Defining a decorator function calling the decorator with the decorated function as parameter and assigning the return value of this call to the decorated function…

Read More
February 13, 2022November 7, 2022

Creating a user in Postgres

Users can be created either by using the command createuser or one the SQL statements CREATE ROLE or CREATE USER. The createuser command, which is a wrapper to the SQL Command CREATE ROLE, has the added advantage of providing for the interactive creation users by answering a series of questions. To run createuser interactively you…

Read More
  • Previous
  • 1
  • 2
  • 3
  • Next

Recent Posts

  • vim as Hex-Editor
  • installing pico-sdk in wsl
  • A WordPress theme from scratch 5
  • A WordPress theme from scratch 4
  • Serial Port Windows

Recent Comments

    Archives

    • May 2023
    • January 2023
    • November 2022
    • October 2022
    • September 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2021

    Categories

    • Fortran
    • linux
    • Postgresql
    • Programming
    • Python
    • Tools, tips and tricks
    • Wordpress

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Postgres

    • postgres-docs

    Python

    • data model
    • the standard library
    • python tips
    • import system
    • asyncio
    • built-in functions

    Open_VMS

    • lexicals at marc’s place
    • documentation and manuals
    • system services
    • rms services reference
    ©2025 i do, therefore i am | Powered by WordPress and Superb Themes!