This file contains hidden or 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
(ql:quickload :usocket) | |
;; (ql:quickload 'cl-cpus) | |
(use-package :sb-thread) | |
(use-package :usocket) | |
(defun start-server (port) | |
"Starts a socket server to with multiple threads, can be input and output" | |
(format t "~A Let's Start!! ~%" (now)) | |
(let ((input *standard-input*) | |
(output *standard-output*) |
This file contains hidden or 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
var crypto = require('crypto'); | |
var key = 'rmyrm80lo2me1bv5o5fkpeq5yv0b61dl'; | |
function md5 (str) { | |
var md5sum = crypto.createHash('md5'); | |
md5sum.update(str); | |
str = md5sum.digest('hex'); | |
return str; | |
}; |