Skip to content

Tag: linux

how to compile wxwidgets on aarch64 with neon disabled

I need to use a wxwidgets application on my rooted device running Ubuntu yakkety but when I compile with default settings and run it, this is what happens- What do I need to do to disable the neon specific code? Clarification This is not cross compiling. I am compiling wxwidgets on the device itself, i.e., on…

error: no such device : no such device

i have a pc with win10 installation on it , i have installed ubuntu 16.04 on an external HDD , now when i start my computer and the external HDD is connected to the pc the grub menu opens and i can choose between win10 or ubuntu , the problem is when i power on my pc and the external

Bash | pipe to bash function

In the attempt to pipe to a Bash function, I wrote this: However, in another context I am receiving the correct output plus this error message: “Segmentation fault (core dumped)”. Trying to debug it I ask if there is something wrong the way I am writing the code inside the function in order to get…

File information of .raw audio files using terminal in linux

How to get file information like sampling rate, bit rate etc of .raw audio files using terminal in linux? Soxi works for .wav files but it isn’t working for .raw. Answer If your life depended on discovering an answer you could make some assumption to tease apart the unknowns … however there is no …

setpos and getpos strange behavior in vim

When I open a file with vim -u NONE and source this code: I got a strange behavior when I leave the insert mode. The setposition is sometimes changing and there is like a z- which is executed. You can see that if the files is greater than your window. Can you confirm that behavior ? My vim is 7.4

sed/awk to replace in a loop

I have a file called “demo” that has names in our DNS. I’m trying to loop through each line and replace the “names” with “names and ip address” (as a way of verifying dns queries) So far I have this but no luck on sed or awk command. Help appreciated. Thanks. demo &#8…