Skip to content

Instantly share code, notes, and snippets.

View Yashwanth-K's full-sized avatar
🎯
Focusing

Yashwanth K Yashwanth-K

🎯
Focusing
View GitHub Profile
@Yashwanth-K
Yashwanth-K / core-set.sql
Created August 19, 2020 17:14 — forked from backpackerhh/core-set.sql
SQL - Movie-Rating Query Exercises
-- 1. Find the titles of all movies directed by Steven Spielberg.
SELECT title
FROM Movie
WHERE director = 'Steven Spielberg';
-- 2. Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order.
SELECT DISTINCT year
@Yashwanth-K
Yashwanth-K / Caffe Ubuntu 15.10.md
Created April 30, 2019 14:36 — forked from wangruohui/Caffe Ubuntu 15.10.md
Compile and run Caffe on Ubuntu 15.10

Ubuntu 15.10 have been released for a couple of days. It is a bleeding-edge system coming with Linux kernel 4.2 and GCC 5. However, compiling and running Caffe on this new system is no longer as smooth as on earlier versions. I have done some research related to this issue and finally find a way out. I summarize it here in this short tutorial and I hope more people and enjoy this new system without breaking their works.

Install NVIDIA Driver

The latest NVIDIA driver is officially included in Ubuntu 15.10 repositories. One can install it directly via apt-get.

sudo apt-get install nvidia-352-updates nvidia-modprobe

The nvidia-modprobe utility is used to load NVIDIA kernel modules and create NVIDIA character device files automatically everytime your machine boots up.

Reboot your machine and verify everything works by issuing nvidia-smi or running deviceQuery in CUDA samples.