Skip to content

What’s the CONFIG_OF in linux?

I see that it is being widely used at many places but could not understand in what scenarios I need to use it. What is CONFIG_OF? What is the full name of “OF”? Answer Open Firmware. This was invented long time ago when Apple was producing laptops based on PowerPC CPUs and Sun Microsystems worksta…

print a pdf file in python

I want to print a pdf file in python. My code is as below: I am on Fedora 20. path.txt is a file that contain path to the pdf file like ‘/home/user/a.pdf’ When I run the code it says no such file or directory. Thanks Answer Try this code may help: Make sure the file in every line exists.

Shell Script ssh $SERVER >> EOF

I have a handy script here that can return accounts that will expire in 7 Days or have expired. I wanted to allow this to run on multiple hosts with out putting the script on each individual host, I added the for loop and the ssh $SERVER >> EOF part but it will just run the commands off they system

Jetson TK1 booting issues

Received my Jetson TK1 yesterday. After unboxing it and configuring the Linux GUI, rebooting the device with a mouse (cordless) attached to its USB 3.0 port takes it to some sort of Command line page where it probably loads some files and then the screen starts printing ” [ . ] “. Nothing happens …

Tomcat Server creating Directories in tmp

Everytime my embedded virtual tomcat server is ran (spring boot) it creates a directory structure in /tmp/ that is named tomcat.##########################.8080 (I am guessing 8080 is for port or something but the 8080 is consistent). This structure does not take up much space alone but after running the tomca…

Chrome Certificate Selection appears multiple times

I got a ssl enabled site in an intranet server. It has an official server certificate issued by a valid CA. Yet it’s expired since last month. I access it using a USB A3 token. Since it’s expired I have create a security exception for it. If I use firefox it all works fine. The problem is when I t…

How to Pause/Resume a process in Linux

I record my program until it closes. Start Command: Stop Command: That works well, now I need to implement pause method to this program. I need to kill program at pause method then start it on resume method and append new video to older one. How can i do it? VLC Wiki: Merge Answer To pause the process To resu…