Skip to content

Instantly share code, notes, and snippets.

View rishigoutam's full-sized avatar

rg rishigoutam

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rishigoutam on github.
  • I am rishigoutam (https://keybase.io/rishigoutam) on keybase.
  • I have a public key ASCq0P66eIgL6ORYj0uKm-JZYDfvri0etndNsKaBSHCDfAo

To claim this, I am signing this object:

@rishigoutam
rishigoutam / wargames.scm
Created January 27, 2015 16:41
War Games: A Nuclear Simulation
;;; Rishi Goutam; War Games
; Global variables
; Cities - get name by car and population by cdr of (assoc 'name cities)
(define cities '((Shanghai . 14) (Mumbai . 14) (Karachi . 13) (Delhi . 13) (Istanbul . 13) (Moscow. 13) (Seoul . 12) (Beijing . 10) (Jakarta . 10) (Tokyo . 9) (Kinshasa . 9) (Lagos . 8) (Lima . 8) (London . 8) (Bogota . 7) (Tehran . 7) (Bangkok . 7) (Dhaka . 7) (Cairo . 7) (Hanoi . 7) (Lahore . 6) (Chongqing . 5) (Bangalore . 5) (Tianjin . 5) (Baghdad . 5) (Kolkata . 5) (Singapore . 5) (Santiago . 5) (Riyadh . 5) (Surat . 5) (Chicago . 3) (Seattle . 1) (Boston . 1)))
; Invalid targets - should not annihilate American cities
(define american-cities '((Seattle . 1) (Boston . 1) (Chicago . 3)))
Odia QWERTY keymap
Odia Letter, Key, Sound
n/a q n/a
n/a Q n/a
ଅ w a
ଆ W aa
େ e e (as in ଜେ - jay)
ୈ E ei (as in ଜୈ - jai)
ର r r
@rishigoutam
rishigoutam / swapcapsesc.ahk
Created January 23, 2013 02:28
Swap CapsLock and Escape using AutoHotkey. Save file at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup to launch at startup.
CapsOn=false
Capslock::
;suspend to prevent calling esc
Suspend on
Send, {ESC}
Suspend off
return
Esc::