twitter linkedin youtube
  • About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email
All tags

    Expire all objects from a redis cache

    Look at the keys, there is content in the cache: [admin@redis ~]$ redis-cli 127.0.0.1:6379> keys * (empty list or set) 127.0.0.1:6379> select 1 OK 127.0.0.1:6379[1]> keys * 1) "3d249bbe820535b87213da5a861cfcb7" 2) "d6b1628d4f49ff60eceb20b2c100c80e" 3)…

    Read More
    • linux

    Querying and Updating Active Directory GIDNumber attribute

    I came across a duplicate GIDNumber value in AD Groups. This is a hidden attribute, so can't be viewed/edited using the AD Users and Groups MMC. Querying AD This example shows the main attributes, but not the one we are after PS C:\Users\administratoor> Get-ADGroup…

    Read More
    • powershell
    • active directory

    Resolving git submodule path problems

    Clone a repo containing submodules In this example I'll clone the terraform-docker-registry repo. The repo contains a few submodules, although the paths (on the git server) have changed, therefore a clone fails. [user@linux_workstation ~]$ git clone -c http.sslVerify=false --recursive ssh://git@git:7999/myproject/terraform-docker-registry.…

    Read More
    • linux
    • git

    Generating CPU load and moving load to different CPU cores

    I used this to wake some CPU cores which had been sleeping Start a process In this example we will use the yes command (which ordinarily prints "yes" to the screen repeatedly) [robbie@host ~]$ yes > /dev/null & [1] 76493 Observe current CPU core frequencies [robbie@ host…

    Read More
    • linux

    systemd ctrl-alt-del behaviour

    I accidentally discovered a feature introduced in systemd, which overrides the default SIGINT behaviour for the ctrl-alt-del (CAD) keystroke sequence. Previously, an entry in /etc/inittab such as the below would be sufficient to prevent an accidental CAD (e.g. when remotely connected to a console and using CAD to…

    Read More
    • linux
    • systemd

    Load more posts
    Subscribe!
    All content copyright © 2025 • All rights reserved.
    Proudly published with Ghost