This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = prompt "What is your name?" | |
alert "Hello "+name+"!" | |
prompt "How was your day?" | |
feel = prompt "Are you well?" | |
if feel == "no" | |
alert "Call the doctor!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let a = 0 | |
let b = 1 | |
let c = a + b | |
let d = b + c | |
let e = c + d | |
let f = d + e | |
let g = e + f | |
let h = f + g | |
let i = g + h | |
let j = h + i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro hy [who] | |
(print "Hy" who)) | |
(hy "world") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro suf [code] | |
(quasiquote ( | |
(unquote (get code 2)) | |
(unquote (get code 0)) | |
(unquote (get code 1))))) | |
; Example use | |
(suf ("Hy" "Lisp" print)) ;=> "Hy Lisp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
Name: Git-Proj | |
Desc: A git and makefile based project/build system. | |
""" | |
import sys, subprocess, os | |
def main(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prepend to .xinitrc | |
# feh... | |
# 2bwm& | |
exec termite -e "xidlehook --not-when-audio --not-when-fullscreen --timer normal 720 './~/.locker' ''" |