Categories
Development Linux Ubuntu

gnome tweaks all greyed out and not appearing in top bar

similar to this gnome-tweaks broken UI but all my tweaks are greyed out and do not show in the top bar. I am already using the Yaru theme all I had done was change autologin to require password.. there are no gears showing to change from Unity to Gnome when logging in, OR the latest […]

Categories
Development Linux Ubuntu

b2 doesn’t recognize zlib

I have a hard time compiling some program. error: undefined reference to ‘boost::iostreams::zlib::best_speed So I am trying to build boost 1.72.0 on Ubuntu 19.10 $ ./b2 Building the Boost C++ Libraries. – zlib : no (cached) – bzip2 : yes (cached) But it appears I already have zlib. $ apt show zlib1g Package: zlib1g Version: […]

Categories
Development System & Network

Can I connect computers between two routers?

Sorry in advance, I’m not a big networking guy. The best way to illustrate what I’m asking is to show it in this diagram: I need to be able to establish file sharing on Windows from “Laptop” to “PC-1” and “PC-2”. Laptop is running Windows 10 Pro, and both PCs have Windows 7 Pro. Things […]

Categories
Development Linux Ubuntu

Problem with update-initramfs and cryptsetup

I am trying to update my initramfs but I get this error: cryptsetup: WARNING: could not determine root device from /etc/fstab I am not really sure why this is happening because this is my fstab: UUID=0a2cb47d-20dc-467e-9360-38a2e898379e /boot ext2 defaults 0 1 UUID=a97179ea-3a70-4ab8-b6e7-1b76a049dc0e / btrfs defaults,subvol=root 0 1 UUID=a97179ea-3a70-4ab8-b6e7-1b76a049dc0e /home btrfs defaults,subvol=home 0 2 UUID=a97179ea-3a70-4ab8-b6e7-1b76a049dc0e /tmp […]

Categories
Development Linux Ubuntu

Bonding / Link aggregation / NIC teaming for faster transfer

I am working on a home server and want to utilize more than one 1Gb connection to my servers, to make for instance 4Gb connection with 4 cables. My question is how to achieve this with Ubuntu server 18.04.3 LTS and Longshine LCS-GS9324. That is a smart switch and does not support IEEE 802.3ad, which […]

Categories
Development Linux

Connect to virtualbox Gnu/linux from windows 10 via `ssh`

I am doing everything as I find in tutorials: Start Gnu/Linux in Virtualbox In terminal of the Gnu/Linux in Virtualbox type ip a and get: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host […]

Categories
Development Linux

megaraid_sas: Init cmd return status FAILED for SCSI host 0

I have an LSI MegaRAID 9440-8i RAID controller. This controller works fine in my PC, i.e. it is recognized by Linux and I can see the disk connected. When I put this controller into my server, it shows up in the BIOS only, i.e. I can manage the controller in the BIOS, create RAID volume, […]

Categories
CMS Development Wordpress

How to skip checkout pageWoocommerce

Tell me pls how to skip checkout page Woocommerce? A page where a person simply has to click the “place order” button, since the rest of the data is substituted itself. After clicking it is redirected to the payment gateway… How do I skip this formality by clicking one button and redirect them straight to […]

Categories
CMS Development Wordpress

How to convert the WordPress meta box Page Attributes->Page Template dropdown to radio buttons?

I would like to be able to change the Page Attribute “Templates” dropdown to radio buttons, to allow me to have corresponding thumbnails next to them. I have already removed and replaced the Page Attributes meta box on functions.php, as per below: add_action( ‘add_meta_boxes’, ‘wpse44966_add_meta_box’ ); function wpse44966_add_meta_box( $post_type ){ remove_meta_box( ‘pageparentdiv’, ‘page’, ‘side’); add_meta_box( […]

Categories
Development

How to identify invariant in a class in java?

I understand what Invariant is, but the problem i have is to identify it from a class. ill explain – when the teacher at class showing us a java code and asks us what is the invariant – here is when im falling off, i dont know to identify it. again – i know what […]