Skip to content

Instantly share code, notes, and snippets.

View vanangamudi's full-sized avatar

Pa Mu Selvakumar vanangamudi

View GitHub Profile
@vanangamudi
vanangamudi / lispchain.lisp
Created April 2, 2020 13:38 — forked from BusFactor1Inc/lispchain.lisp
Lispchain - a blockchain implementation (sketch) in Common Lisp
;;
;; scheme coin - a lispchain (aka blockchain) implementation
;;
;; Burton Samograd
;; burton.samograd@gmail.com
;; Copyright - 2017
;;
;; Interested in helping out with the code? Email me.
;;
;; Bitcoin: 1HzWXjoQjzdLBm1eKeuWFrZx96kiop5GGy
@vanangamudi
vanangamudi / lobsters-mastodon.lisp
Created February 29, 2020 18:45 — forked from gkbrk/lobsters-mastodon.lisp
Common lisp Mastodon bot
(ql:quickload :drakma)
(ql:quickload :cl-json)
(ql:quickload :plump)
(ql:quickload :babel)
(ql:quickload :tooter)
(ql:quickload :split-sequence)
(defvar *feed-path* "https://lobste.rs/rss")
(setf drakma:*drakma-default-external-format* :UTF-8)
@vanangamudi
vanangamudi / spacemacs-keybindings.md
Last active February 13, 2020 09:11 — forked from rnwolf/spacemacs-keybindings.md
spacemacs keybindings that i need to learn
@vanangamudi
vanangamudi / regex-engine.py
Created January 31, 2019 08:53 — forked from theSage21/regex-engine.py
A very simple regular expression engine for learning purposes
# Define some special things
SPECIAL = '*|'
ALPHABET = '10'
EPSILON = None
# functions
def automaton_print(automaton):
"Neatly prints the automaton"
states, alphabet, start, final, transfer = automaton
print('STATES : ', states)