Browsing All Posts filed under »Linux/ Ubuntu Howtos«

tmux cheatsheet

January 24, 2018


Follow this simple and to the point tutorial : From Bash tmux ls –> show list of sessions tmux new -s session-name –> new session tmux a –> attach to default session tmux a -t session-name –> attach to a particular session tmux kill-session -t session-name   Session (Ctrl-b) $ –> rename session name d –> detach Window (Ctrl-b) c […]

Ubuntu Internet Sharing

January 9, 2018


I have this specific configuration wherein I have a PC (urop) with two network interfaces. One connected to the internet. Second network interface connected to another PC (tx2). I can access internet on urop.  I can ssh to tx2 from urop. I want to accomplish the following. To access the internet from tx2. tx2 need not […]

Sending Email from Terminal using mutt

December 22, 2016


Often times one deals with long running programs and need a quick way to know when the program is finished or intermediate reporting. Simplest way is to email yourself the progress say hourly or so. Simplest way is to setup an gmail account with mutt on your workstation. I use the commandline tool mutt to […]

GTX 1080 on Ubuntu 14.04 (Trusty)

July 29, 2016


I recently got the new Geforce GTX 1080. It is a monster. Boasts 8 gigs of memory and 2500 cuda cores. I am using it for my deep learning experiments. I had an existing GTX 980 Ti which I use for display. I already had nvidia driver 343 installed from apt-get and cuda-7.5 running fine. […]

Graphics Programming MiddleWare

July 26, 2016


It is often frustrating to start programing in OpenGL. I came across this OpenSceneGraph which is a middle ware between the 3d application and OpenGL. It is a C++ based toolkit. This toolkit is categorized as a render engine. Render engines are common tools in game development. There is a wiki article which list a […]

Installing cuDNN Ubuntu 14.04

June 17, 2016


cuDNN is a cuda library which provides basic operations like forward and backward passes for neural networks on GPU. This is used by caffe and other toolkits. You can download cuDNN from : Note that you need to login to be able to download. This post is just for my own reminder on cuDNN installation. […]

Programming with Joystick on Linux

December 19, 2015


Was trying to figure out a way to programatically use the Cyborg Controller lying around in the lab. My final objective is to control objects and view points in RViz. In this blog, I will explore how to get inputs from it with a C/C++ program. The Linux kernel provides an API to control this. […]