Categories
Development Linux Ubuntu

Problem with Blender on Ubuntu 19.10

I have an Nvidia Geforce 1050 ti graphics card on my laptop and am running 19.10. The proprietary driver was installed along with 19.10. I have confirmed through through “additional drivers” that the laptop is using the nvidia 435 driver. When I run “lspci | grep NVIDIA” i get confirmation that the card is recognized, […]

Categories
Android Development Linux Ubuntu

How to close terminal without shutting down Android emulator booted from terminal

I understand that any process started from the command line is attached to the command line process, so when I close my terminal, any processes started from that shell process will be killed. So if I want to boot an emulator emulator -av emu1 -ports 5000,5000 & which creates the background emulator process, but emulator […]

Categories
Development Linux

Replace character at specific occurrence

I have a bunch of files.. Here are a few. Hundreds more. 2019-02-08-07-32-00_UM8305_H.PDF 2019-03-17-17-59-59_UM8305_H.PDF 2019-05-05-23-59-59_UM8305_H.PDF 2019-07-08-12-31-57_UM8305_W.PDF 2019-08-20-00-01-52_UM8305_H.PDF 2019-11-07-08-26-51_UM8305_H.PDF 2019-02-08-10-07-45_UM8305_W.PDF I want to replace the 10th index of “-” to a an ““. I changed all the files to replace the ‘‘ with ‘-‘ and then renamed it again so the ‘_’ would be ‘_UM8305_W.PDF’ and […]

Categories
Development Linux Ubuntu

ModuleNotFoundError: No ModuleNamed Numpy or Matplot yet both are installed

I’m trying to run Jupyter Notebook: %matplotlib notebook import numpy as np import matplotlib.pyplot as plt import matplotlib.animation import math Trying to import with matplotlib ModuleNotFoundError: No module named ‘matplotlib’ Removing the `matplotlib:` ModuleNotFoundError: No module named `’numpy’` The commands used for installation : sudo apt-get install python3-numpy sudo apt-get install python3-scipy sudo apt-get install […]

Categories
Development Linux

Working with SSH/SSL

I’m not really sure where or to whom I should ask this question, so hopefully you all can help me. I am working on a project that I would like to add data to the end of each packet before encryption on an SSH client, then take that data off the packet right after decryption […]

Categories
Development Linux

Converting text file encodings

I have been having a horrible time with text files that mostly have cp1252 encoding, but some don’t. When I try to iterate over them in Python, I’ll hit a file with some other weird encoding and the script will stop. Is there any way to just globally use a bash command to change all […]

Categories
Development Linux Ubuntu

Recover data after ‘sudo dd if=/usr/lib/SYSLINUX/mbr.bin of=/dev/sda1’

An HDD had 2 partitions, one with Windows 10 and other with Windows 7. I deleted the partition that had Windows 7 on it. Turns out it had the boot for Windows 10. I looked up how to make the computer run again. The universal answer seemed to be, ‘boot from an Ubuntu USB and […]

Categories
Development Linux Ubuntu

PlayOnLinux Steam Library Black screen

Trying to download the window’s version of steam onto my Ubuntu computer through PlayOnLinux, i have everything working properly but the library and everything just shows up as black and nothing loads. I tried the fix from last year but its outdated since steam no longer supports WindowsXP version. Is there anyone that can help […]

Categories
Development Linux

exclude specific commands from saving into history

I want to exclude some specific commands from saving into zsh history. for e.g: exlcude mpv/mpc commands from saving into zsh history despite of settings HIST_IGNORE_SPACE or not. I found an answer here but it not work when I test.

Categories
Development Linux Ubuntu

Strange jagged display issue

Fresh instal of Lubuntu 19.10. Yet when I start it up it works just fine but the display is corrupted. It’s almost as if every other line of the display is off by one pixel. I tried installing Mint in the past and I had this same issue. PC otherwise runs Win10 just fine without […]