Skip to content

Instantly share code, notes, and snippets.

Avatar

Sridaran Thoniyil srithon

  • College Park, MD
View GitHub Profile
@srithon
srithon / Todo.hs
Last active Jan 16, 2022
A basic TODO list application written in Haskell.
View Todo.hs
import Data.Maybe
import System.IO
type Todos = [Todo]
type Todo = String
addTodo :: Todos -> Todo -> Todos
addTodo todos todo = todos ++ [todo]
@srithon
srithon / kde-qdbus.org
Last active Jun 24, 2021
A list of all the KDE-related DBus commands on my machine
View kde-qdbus.org

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 / .vimrc
Created May 2, 2020
My .vimrc config as of 5/2/2020
View .vimrc
" 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