Last active
January 9, 2016 17:33
-
-
Save keisisqrl/86a091e33b0c1bac9c89 to your computer and use it in GitHub Desktop.
yoprs
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
// compiled from Hot Cocoa Lisp | |
// (set module.exports | |
// ;begin code | |
// (# (hook) | |
// (def login-line (get hook.env (+ 'APRS_' hook.params.username))) | |
// (def callsign (cadr (login-line.split ' '))) | |
// (def ax25 (+ callsign '>APRS,TCPIP*:>This is a test')) | |
// (hook.res.end (+ login-line '\r\n' ax25)) | |
// ) | |
// ;end code | |
// ) | |
(module["exports"] = (function (hook) {var login_hyphen_line, callsign, ax25; login_hyphen_line = hook["env"][('APRS_' + hook["params"]["username"])]; callsign = login_hyphen_line["split"](' ')[1]; ax25 = (callsign + '>APRS,TCPIP*:>This is a test'); return hook["res"]["end"]((login_hyphen_line + '\r\n' + ax25)); })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment