Skip to content

Instantly share code, notes, and snippets.

View srithon's full-sized avatar

Sridaran Thoniyil srithon

  • College Park, MD
View GitHub Profile
@srithon
srithon / .vimrc
Created May 2, 2020 05:38
My .vimrc config as of 5/2/2020
" Source: https://www.youtube.com/watch?v=FWUeqcBQmDo
" Use system clipboard
" set clipboard+=unnamedplus
" autocmd InsertEnter * norm zz
" Source: https://www.linode.com/docs/tools-reference/tools/introduction-to-vim-customization/
" Set compatibility to Vim only.
set nocompatible
@srithon
srithon / kde-qdbus.org
Last active June 30, 2024 21:48
A list of all the KDE-related DBus commands on my machine

This document was generated by running the following script

#!/bin/fish

for service in (qdbus "org.kde.*")
  echo "* $service"

  for path in (qdbus "$service")
    echo "** $path"
@srithon
srithon / Todo.hs
Last active January 16, 2022 20:45
A basic TODO list application written in Haskell.
import Data.Maybe
import System.IO
type Todos = [Todo]
type Todo = String
addTodo :: Todos -> Todo -> Todos
addTodo todos todo = todos ++ [todo]