Categories
Development Linux Ubuntu

How Can I Ensure a Safe Ubuntu Installation from a Bootable USB?

I want to re-install Ubuntu from a bootable USB, but I believe somebody is trying to break into the computer every time I try to install, and I need help figuring out how to ensure I have a clean (integrity) install. When I first boot from bootable USB, I quickly press the key that controls […]

Categories
Development Linux Ubuntu

“PRIME Profiles” tab missing in nvidia-settings (Ubuntu 18.04, GeForce Mx150, nvidia-driver-440)

How do I get [PRIME profiles] tab show up in nvidia-settings? The situation looks similar to the one described in this question, but I am on Ubuntu 18.04, and in my case it seems I have the nvidia driver installed. $ lspci -k | grep -EA2 ‘VGA|3D’ 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics […]

Categories
Development System & Network

How to merge hard disks in Ubuntu Server 18.04

I have a web server working very well which currently is using one hard disk of 2TB, but this same server have another 2TB hard disk without any function so i want to partionate it in order to merge them to make 4TB memory space on my server, is there a way to do something […]

Categories
CMS Development Wordpress

Import 2000 posts from one website to another

I need to import 2000 posts from one website to another. Posts doesn’t have any custom fields. We need to import title, content, featured image, slug and language. For language I am using Polylang plugin. Using WordPress import and export I can import all the posts. In this way language with category is selected but […]

Categories
Bitcoin Cryptocurrency Development

How does peer banning work for onion peers?

If I start bitcoind with settings proxy=127.0.0.1:9050 to talk to the Tor daemon’s SOCKS5 proxy, turn on listenonion=1 and set onlynet=onion, my understanding is that bitcoind will coordinate with the Tor daemon to find a randomized onion public key/identifier and begin operating with other .onion peers. However, what is stopping a Tor-connected onion node from […]

Categories
Development Linux

USB modem modules

I found, that there are several options to setup internet connection over USB: Use cdc_acm mode and transfer data using PPP protocol Use cdc_ncm mode. System will setup wwan network interface. Also it will provide serial interfaces, which I can use for sending AT commands, for example. Use cdc_ether mode, which setup ether network interface. […]

Categories
Development

How to change the way HEX colors are shown in JetBrains’ IDEs

Is it possible to change the way JetBrains’ IDE’s show colors? I’d wish to see the colors in my editor. At the moment the color picker is near the line number as shown below: I don’t like the way it is now, all ‘color texts’ are gray. Is it possible to do something like this […]

Categories
Development Linux Ubuntu

How Can I Ensure a Safe Ubuntu Installation from a Bootable USB?

I want to re-install Ubuntu from a bootable USB, but I believe somebody is trying to break into the computer every time I try to install, and I need help figuring out how to ensure I have a clean (integrity) install. When I first boot from bootable USB, I quickly press the key that controls […]

Categories
Development Linux Ubuntu

How to prevent the route with metric 0 to be created

My PC has two NICs,ethernet and wifi. I wnat to set higher metric to wifi NIC. I use systemd-networkd. $ cat /etc/systemd/network/10-wired.network [Match] Name=enp0s25 [Network] Address=192.168.3.102/24 Gateway=192.168.3.1 DNS=192.168.3.1 $ cat /etc/systemd/network/20-wireless.network [Match] Name=wlp2s0 [Network] Address=192.168.3.103/24 DNS=192.168.3.1 [Route] Gateway=0.0.0.0 Destination=192.168.3.0/24 Metric=200 [Route] Gateway=192.168.3.1 Destination=0.0.0.0/0 Metric=200 After reboot, $ route Kernel IP routing table Destination Gateway Genmask […]

Categories
Development Linux Ubuntu

Unable to resize home and root partition(18.04)

My laptop is dual booted with Windows 10 and Ubuntu 18.04. Recently I was pulling a docker image repository(which is around 15GB in total). My explorer showed that I do not have enough space available. I then opened GParted and saw my home directory has 36.2 GB free, but root directory has only 250 MB […]