Category Archives: Ubuntu

How to call GitHub REST API from Ubuntu

In brief, I needed to get a list of the members currently in my organization at GitHub. There are multiple ways to do so, including: Direct calls to the API from curl sudo apt install curl Python using PyGitHub pip … Continue reading

Posted in Ubuntu, Uncategorized | Tagged , , , , , , , , , , | 1 Comment

Force PKI and Password authentication simultaneously on Ubuntu

I use AD authentication in my environment (for password-based authentication) Current Scenario A valid AD user logs in to the Ubuntu Linux server via SSH That user adds his public key to ~/.ssh/authorized_keys for passwordless login I disable/lock/delete the AD … Continue reading

Posted in Linux, Ubuntu, Uncategorized | Tagged , , , , | Leave a comment

Create random passwords from command line in Ubuntu

There are two handy tools that generate random passwords from the command line in Ubuntu (and other distros of course). It’s more secure to use passwords from these tools instead of online password generators. First of which is apg and … Continue reading

Posted in Ubuntu, Uncategorized | Tagged , , , , | Leave a comment

Improve Intel Graphics Performance on Ubuntu 16.04 (and variants)

This solved a very annoying problem for me, as the screen was heavily tearing and I didn’t like the video playback performance. All you need to do is the following: If you are using Ubuntu 16.04, then you don’t need … Continue reading

Posted in linuxmint, Ubuntu, Uncategorized | Tagged , , | 4 Comments

How to solve Google Chrome Flickering on Ubuntu 16.04

Just do the following two steps: sudo nano /usr/share/applications/google-chrome.desktop Scroll down to the “Exec” line Add two additional parameters, so that it looks like this: Exec=/usr/bin/google-chrome-stable –disable-gpu-driver-bug-workarounds –enable-native-gpu-memory-buffers %U That’s it, now restart Chrome and it shall work perfectly! I … Continue reading

Posted in Linux, linuxmint, Ubuntu, Uncategorized | Tagged , , | Leave a comment

Create LVM Physical Volumes, Volume Groups and Logical Volumes on Ubuntu 16.04

It’s pretty straight-forward, but before you start, you need to check for block devices that can be used to create physical volumes: sudo lvmdiskscan You will see a result that looks like this: /dev/ram0 [ 64.00 MiB] /dev/sda [ 50.00 … Continue reading

Posted in Linux, linuxmint, Ubuntu, Uncategorized | Tagged , | Leave a comment

Compile & Install virt-manager 1.4 on Ubuntu 16.04 and Linux Mint 18

The latest virt-manager supports configuring VMs for OpenGL passthrough for 3D acceleration in virtual machines plus a SPICE console that can make good use of that, which I have been waiting A LOOONG TIME for! Unfortunately, the default package on … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , , | 3 Comments