Skip to content

Instantly share code, notes, and snippets.

View pradeepvrd's full-sized avatar

Pradeep Varadharajan pradeepvrd

View GitHub Profile
@pradeepvrd
pradeepvrd / CMakeLists.txt
Created May 9, 2018 00:07 — forked from magthe/CMakeLists.txt
Complete example of D-BUS client and server using Qt5 and CMake.
cmake_minimum_required(VERSION 3.5)
project(DBusTest)
find_package(Qt5 CONFIG REQUIRED Core DBus)
set(prog_SRCS my.test.Calculator.xml)
qt5_generate_dbus_interface(Calc.hh
my.test.Calculator.xml
OPTIONS -A
)
@pradeepvrd
pradeepvrd / raspbian-python3.6.rst
Created November 4, 2017 00:56 — forked from dschep/raspbian-python3.6.rst
Installing Python 3.6 on Raspbian

Installing Python 3.6 on Raspbian

As of January 2017, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it.

  1. Install the required build-tools (some might already be installed on your system).
@pradeepvrd
pradeepvrd / init.vim
Last active October 22, 2017 19:36
My nvim settings
" An example for a vimrc file.
"
" To use it, copy it to
" for Unix: $HOME/.config/nvim/init.vim
" for Windows: %LOCALAPPDATA%\nvim\init.vim
set backup " keep a backup file (restore to previous version)
set undofile " keep an undo file (undo changes after closing)
set ruler " show the cursor position all the time