id int64 0 45.1k | file_name stringlengths 4 68 | file_path stringlengths 14 193 | content stringlengths 32 9.62M | size int64 32 9.62M | language stringclasses 1
value | extension stringclasses 6
values | total_lines int64 1 136k | avg_line_length float64 3 903k | max_line_length int64 3 4.51M | alphanum_fraction float64 0 1 | repo_name stringclasses 779
values | repo_stars int64 0 882 | repo_forks int64 0 108 | repo_open_issues int64 0 90 | repo_license stringclasses 8
values | repo_extraction_date stringclasses 146
values | sha stringlengths 64 64 | __index_level_0__ int64 0 45.1k | exdup_ids_cmlisp_stkv2 listlengths 1 47 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21,033 | deoxybyte-unix.lisp | keithj_deoxybyte-unix/src/deoxybyte-unix.lisp | ;;;
;;; Copyright (c) 2009-2013 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the L... | 1,858 | Common Lisp | .lisp | 40 | 40.025 | 73 | 0.661894 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | da216f067f45fc6bb00014cf377aeb5e4cb9f89a987a3283b5df42df66bfbb43 | 21,033 | [
-1
] |
21,034 | default.lisp | keithj_deoxybyte-unix/src/default.lisp | ;;;
;;; Copyright (c) 2013 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Licens... | 966 | Common Lisp | .lisp | 22 | 42.636364 | 73 | 0.746285 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 455a6c1fe5a0a0cf1830dc66b2b4152f73a35c5b7923f68b95df45ed1eceaa59 | 21,034 | [
-1
] |
21,035 | deoxybyte-unix-ffi.lisp | keithj_deoxybyte-unix/src/deoxybyte-unix-ffi.lisp | ;;;
;;; Copyright (c) 2009-2013 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of thcoe GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the... | 3,993 | Common Lisp | .lisp | 167 | 21.02994 | 74 | 0.687352 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d4e53eac58b419fd8aec19f3cf2a364bc9bd6f9f009b98eaa06b7ccbee682f83 | 21,035 | [
-1
] |
21,036 | sbcl.lisp | keithj_deoxybyte-unix/src/sbcl.lisp | ;;;
;;; Copyright (c) 2013 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Licens... | 990 | Common Lisp | .lisp | 23 | 41.695652 | 73 | 0.74715 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e56f6c8974c1162bcde5b04aedea7fb09c7f7acc329e85e359242fb0264cf753 | 21,036 | [
-1
] |
21,037 | deoxybyte-unix.asd | keithj_deoxybyte-unix/deoxybyte-unix.asd | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the L... | 2,175 | Common Lisp | .asd | 47 | 35.06383 | 75 | 0.552731 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 81343749efae73e94c5f09c62ece54de74b8e32607e30f319318cf53ec5f7252 | 21,037 | [
-1
] |
21,038 | deoxybyte-unix-test.asd | keithj_deoxybyte-unix/deoxybyte-unix-test.asd | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-unix.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the L... | 1,128 | Common Lisp | .asd | 26 | 37.423077 | 73 | 0.650318 | keithj/deoxybyte-unix | 2 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 31120b95321fee722be613d2610b465e90745ae0954687acbb5f699e82e2f8f9 | 21,038 | [
-1
] |
21,066 | rx-package.lisp | vlad-km_jscl-rx-src/rx-package.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
;;; JSCL-RX is a Lisp (JSCL) wrapper for RxJS
;;; Copyright © 2018 Vladimir Mezentsev
;;;
;;; JSCL-RX is free software: you can redistribute it and/or modify it under
;;; the terms of the GNU General Public License as published by the Free
;;; Software Foundation, either version... | 1,404 | Common Lisp | .lisp | 34 | 39.676471 | 76 | 0.695812 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 57e15a25b7e89142ef92c90c4c67bbecbbd94b66ad4421c0ac4671e1bf98f975 | 21,066 | [
-1
] |
21,067 | finality.lisp | vlad-km_jscl-rx-src/finality.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
;;; JSCL-RX is a lisp (JSCL) wrapper for RxJS
;;; This file is part of the JSCL-RX
;;; Copyright © 2018 Vladimir Mezentsev
(in-package :cl-user)
(unless (find :jscl-rx *features*)
(push :jscl-rx *features*))
;;; EOF
| 263 | Common Lisp | .lisp | 8 | 30.75 | 45 | 0.66 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fad49c5646b532393be01e2eed51e5b9b4b80b549e1dca8855c40f58e3d5ed2a | 21,067 | [
-1
] |
21,068 | rx-sdf.lisp | vlad-km_jscl-rx-src/rx-sdf.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
;;; JSCL-RX is a lisp (JSCL) wrapper for JSCL-RX
;;; This file is part of the JSCL-RX
;;; Copyright © 2018 Vladimir Mezentsev
(lores:defsys :rx
:path "git/jscl-rx"
:depends (:promise)
:components ((:file "rx-package")
(:module "static" :depends ("r... | 538 | Common Lisp | .lisp | 14 | 28.714286 | 60 | 0.524178 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | de4fde1ddf08ae2af9a4d4181dab0e20b2812c0257f2cc60e4cd7b956250c56a | 21,068 | [
-1
] |
21,069 | observable.lisp | vlad-km_jscl-rx-src/instance/observable.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
;;; JSCL-RX is a lisp (JSCL) wrapper for RxJS
;;; This file is part of the JSCL-RX
;;; Copyright © 2018 Vladimir Mezentsev
(in-package :rx)
;;;
;;; Observable Instance methods
;;;
;;; SUBSCRIBE
;;;
;;;
(defun subscribe (rxo on &optional error complite)
(fun... | 25,930 | Common Lisp | .lisp | 683 | 36.452416 | 119 | 0.61164 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8efa62f2859283cb81a6a22f5d0e23d08cc7da1c91f4f03e1cc6cc406de6fded | 21,069 | [
-1
] |
21,070 | units.lisp | vlad-km_jscl-rx-src/tests/units.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
(defparameter *debug* nil)
(defun subs (rxo)
(rx:subscribe rxo
(lambda (x) (if *debug* (console "Ok" x))
(print (list 'Ok x)))
(lambda (x) (print (list 'Error x)))
(lambda () (print 'Complete )) ))
;;... | 8,032 | Common Lisp | .lisp | 245 | 27.106122 | 100 | 0.583431 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 948c04c0e10eac262188ecac32efc1c2c338d29d7044b19d3683fb83012b751f | 21,070 | [
-1
] |
21,071 | observable.lisp | vlad-km_jscl-rx-src/static/observable.lisp | ;;; -*- mode:lisp; coding:utf-8 -*-
;;; JSCL-RX is a lisp (JSCL) wrapper for RxJS
;;; This file is part of the JSCL-RX
;;; Copyright © 2018 Vladimir Mezentsev
(in-package :rx)
;;;
;;; Observable static methods
;;;
;;; AMB
;;;
;;; Propagates the observable sequence or Promise that reacts first. "am... | 23,941 | Common Lisp | .lisp | 673 | 34.228826 | 122 | 0.63958 | vlad-km/jscl-rx-src | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | febf4cab2bddd14f03c45d8ee2b41e8d6afbbc74723d1e1d7b1352b6a6a66c72 | 21,071 | [
-1
] |
21,093 | requests.lisp | gschjetne_cl-arango/src/requests.lisp | ;; Copyright © 2014 Grim Schjetne <gs@schjetne.se>
;; This file is part of CL-Arango.
;; CL-Arango is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your op... | 5,360 | Common Lisp | .lisp | 113 | 32.283186 | 83 | 0.517215 | gschjetne/cl-arango | 2 | 1 | 1 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a6ed646865c1fc6ba9ec28558cc7fbbdc6b7e8712c89de285f017e085628eb46 | 21,093 | [
-1
] |
21,094 | package.lisp | gschjetne_cl-arango/src/package.lisp | ;; Copyright © 2014 Grim Schjetne <gs@schjetne.se>
;; This file is part of CL-Arango.
;; CL-Arango is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your op... | 3,695 | Common Lisp | .lisp | 115 | 21.565217 | 69 | 0.546813 | gschjetne/cl-arango | 2 | 1 | 1 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 830122173773613c4f7efc24773eabc18a7c596c0458349999c24b81afe13fc3 | 21,094 | [
-1
] |
21,095 | rest.lisp | gschjetne_cl-arango/src/rest.lisp | ;; Copyright © 2014 Grim Schjetne <gs@schjetne.se>
;; This file is part of CL-Arango.
;; CL-Arango is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your op... | 29,160 | Common Lisp | .lisp | 642 | 33.579439 | 95 | 0.551404 | gschjetne/cl-arango | 2 | 1 | 1 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2f671aacb4429bb9c8c1289f9404ad8b462d66f89b09ca82d70e88f6edc18b01 | 21,095 | [
-1
] |
21,096 | cl-arango.asd | gschjetne_cl-arango/cl-arango.asd | ;; Copyright © 2014 Grim Schjetne <gs@schjetne.se>
;; This file is part of CL-Arango.
;; CL-Arango is free software: you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as
;; published by the Free Software Foundation, either version 3 of the
;; License, or (at your op... | 1,362 | Common Lisp | .asd | 32 | 37.53125 | 69 | 0.688822 | gschjetne/cl-arango | 2 | 1 | 1 | LGPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 97b7bcd036016dc6c99cb74cb02a4296ae75de242321cbb7e02ae6bd8918348a | 21,096 | [
-1
] |
21,116 | package.lisp | keithj_deoxybyte-io/test/package.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 978 | Common Lisp | .lisp | 23 | 41.173913 | 73 | 0.733473 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 35d83e91ae00a6c37985cce9e05abb306bb35a0e96cd81cbbdd1d520e52bae8c | 21,116 | [
-1
] |
21,117 | binary-operations-test.lisp | keithj_deoxybyte-io/test/binary-operations-test.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 7,953 | Common Lisp | .lisp | 158 | 43.664557 | 75 | 0.65125 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0756c91a15421033f2489d24d1350a0b6d6654bfdaf659073a7d476be6bc7428 | 21,117 | [
-1
] |
21,118 | command-line-interface-test.lisp | keithj_deoxybyte-io/test/command-line-interface-test.lisp | ;;;
;;; Copyright (c) 2010-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 6,704 | Common Lisp | .lisp | 138 | 36.637681 | 78 | 0.525118 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5724e86e3ffe7089e2a8ab5c240c60120e3685147054b87a879694bc8bb4c7ac | 21,118 | [
-1
] |
21,119 | deoxybyte-io-test.lisp | keithj_deoxybyte-io/test/deoxybyte-io-test.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 9,984 | Common Lisp | .lisp | 228 | 33.868421 | 80 | 0.581921 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2a68bf8feae68bf8f50ee5953087764b45286734ddbe81401c8cada7300ae3c5 | 21,119 | [
-1
] |
21,120 | pathnames-test.lisp | keithj_deoxybyte-io/test/pathnames-test.lisp | ;;;
;;; Copyright (c) 2010-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 3,361 | Common Lisp | .lisp | 66 | 45.075758 | 75 | 0.649224 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 92ca1449c42a0d2ec4a8c795cfe405c92e5053d7e3c4b9629b4135be6a2acf40 | 21,120 | [
-1
] |
21,121 | parse-float.lisp | keithj_deoxybyte-io/src/parse-float.lisp | ;;; Thu Aug 25 00:56:39 1994 by Mark Kantrowitz <mkant@SKEEZER.OZ.CS.CMU.EDU>
;;; atof.cl -- 7824 bytes
;;; ****************************************************************
;;; PARSE-FLOAT -- equivalent of C's atof **************************
;;; ****************************************************************
;;;
;;;... | 8,448 | Common Lisp | .lisp | 175 | 42.314286 | 79 | 0.643696 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5f525748413c6ee438c05b5ecf0934f7c54145555de2e9ff632ccbf040cce1fd | 21,121 | [
-1
] |
21,122 | simple-table-parser.lisp | keithj_deoxybyte-io/src/simple-table-parser.lisp | ;;;
;;; Copyright (c) 2008-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 9,929 | Common Lisp | .lisp | 209 | 37.416268 | 79 | 0.622873 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f0ea23e395fc3b0564633bdcec70857c9e7a391c4607c0e0a2bff97160b530bf | 21,122 | [
-1
] |
21,123 | package.lisp | keithj_deoxybyte-io/src/package.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 6,974 | Common Lisp | .lisp | 254 | 21.629921 | 73 | 0.649438 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6927ffe87f0b029a8153d69ed24b6f5b34c73368417033570241a94d5074068b | 21,123 | [
-1
] |
21,124 | external-merge-sort.lisp | keithj_deoxybyte-io/src/external-merge-sort.lisp | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 6,396 | Common Lisp | .lisp | 144 | 37.104167 | 79 | 0.667845 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 98a4bdc5dd9eac53e0f5b27799c4a330367c6d48fd719b480da3df107c8cc2ed | 21,124 | [
-1
] |
21,125 | deoxybyte-io.lisp | keithj_deoxybyte-io/src/deoxybyte-io.lisp | ;;;
;;; Copyright (c) 2010-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 2,552 | Common Lisp | .lisp | 63 | 36.174603 | 73 | 0.71059 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9975f8fd27a467a45572ecdeeb506781c6511fd83707e08b9c64372384bbc871 | 21,125 | [
-1
] |
21,126 | external-line-sort.lisp | keithj_deoxybyte-io/src/external-line-sort.lisp | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 2,668 | Common Lisp | .lisp | 61 | 37.459016 | 80 | 0.662048 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 54fa923ed31ae56ba6b860fd8d217b5cdb8ada72e764cdb073fab91f4af6a146 | 21,126 | [
-1
] |
21,127 | ccl.lisp | keithj_deoxybyte-io/src/ccl.lisp | ;;;
;;; Copyright (c) 2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the License,... | 1,423 | Common Lisp | .lisp | 35 | 38.971429 | 73 | 0.736614 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 31d70f5b01c4f1b1f90fa29d8ee850acd3a1edb5cba700a47b7011540a03c4f0 | 21,127 | [
-1
] |
21,128 | ieee-float.lisp | keithj_deoxybyte-io/src/ieee-float.lisp | ;;;
;;; Copyright (c) 2010-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 6,946 | Common Lisp | .lisp | 146 | 36.90411 | 80 | 0.583333 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1601cd1774a051dd7bc140655ee06ff1ce53830a8774cd082e5aaa64b4868937 | 21,128 | [
-1
] |
21,129 | environment.lisp | keithj_deoxybyte-io/src/environment.lisp | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 809 | Common Lisp | .lisp | 19 | 41.526316 | 73 | 0.737643 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7a20ac5104e708e3a1379f842a2ed7ead2b2481c7f8d24e29ad6058d462c9741 | 21,129 | [
-1
] |
21,130 | conditions.lisp | keithj_deoxybyte-io/src/conditions.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 6,342 | Common Lisp | .lisp | 145 | 37.489655 | 77 | 0.667098 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bd52b836996619e7631ca499162a42e17ce87a3896330e467400a9f74a493181 | 21,130 | [
-1
] |
21,131 | default.lisp | keithj_deoxybyte-io/src/default.lisp | ;;;
;;; Copyright (c) 2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the License,... | 1,609 | Common Lisp | .lisp | 36 | 43 | 76 | 0.752874 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7c15dff7684296102dcd17984e86ac4c4067e65771d76867eff7cfd7f2dcd400 | 21,131 | [
-1
] |
21,132 | line-stream.lisp | keithj_deoxybyte-io/src/line-stream.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 12,443 | Common Lisp | .lisp | 271 | 35.287823 | 79 | 0.593099 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5f4ca714230405bcca60b3a88b036beed10956b0a862390e8c023854ec85ec25 | 21,132 | [
-1
] |
21,133 | streams.lisp | keithj_deoxybyte-io/src/streams.lisp | ;;;
;;; Copyright (c) 2008-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 3,376 | Common Lisp | .lisp | 73 | 42.849315 | 78 | 0.737595 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d93071210605b5dd9531d4b1594d33ca359c1d064dda414bbfa39e0b91480e2c | 21,133 | [
-1
] |
21,134 | binary-operations.lisp | keithj_deoxybyte-io/src/binary-operations.lisp | ;;;
;;; Copyright (c) 2009-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 11,505 | Common Lisp | .lisp | 219 | 42.068493 | 80 | 0.616642 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | affb4a0ba98a69b19191a083217e858d70fde5b17c45192ce0bb17123c39fb08 | 21,134 | [
-1
] |
21,135 | sbcl.lisp | keithj_deoxybyte-io/src/sbcl.lisp | ;;;
;;; Copyright (c) 2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the License,... | 2,267 | Common Lisp | .lisp | 50 | 40.64 | 73 | 0.692935 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d7ae58d38c960eeae53a93c161056018f0244478708dc1f87c37672b47eae4ef | 21,135 | [
-1
] |
21,136 | files-and-directories.lisp | keithj_deoxybyte-io/src/files-and-directories.lisp | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 11,006 | Common Lisp | .lisp | 230 | 40.117391 | 78 | 0.666574 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4e14eb6b828a63c8720bc7178c94f95f0ac7f03754c18fad07e08a426adc0f2c | 21,136 | [
-1
] |
21,137 | deoxybyte-io.asd | keithj_deoxybyte-io/deoxybyte-io.asd | ;;;
;;; Copyright (c) 2007-2012 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 2,588 | Common Lisp | .asd | 58 | 31.913793 | 73 | 0.525337 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4beb392d62d1b1b9a262af951d868acc41d38ef317a3c8bdb7983c81055c322c | 21,137 | [
-1
] |
21,138 | deoxybyte-io-test.asd | keithj_deoxybyte-io/deoxybyte-io-test.asd | ;;;
;;; Copyright (c) 2007-2013 Keith James. All rights reserved.
;;;
;;; This file is part of deoxybyte-io.
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation, either version 3 of the Lic... | 1,325 | Common Lisp | .asd | 29 | 36.413793 | 78 | 0.598456 | keithj/deoxybyte-io | 2 | 0 | 2 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6b581c481539ef299a37cfe7ff86da3029da75986a38137b442ed913eed8a901 | 21,138 | [
-1
] |
21,177 | problem26.lisp | OlegTheCat_project-euler/problem26.lisp | (defun period-starts-from (n)
(let ((twos (factorize-by n 2))
(fives (factorize-by n 5)))
(values (1+ (max twos fives)) (/ (/ n (expt 2 twos)) (expt 5 fives)))))
(defun factorize-by (n factor &key (initial-value 0))
(if (= 0 (mod n factor))
(factorize-by (/ n factor) factor :initial-value (1+ initial-value... | 695 | Common Lisp | .lisp | 19 | 33.736842 | 78 | 0.618128 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8177402a98b0510c09349a2c563cf7ec8a4aa9ba75d152e092e35cea694ace26 | 21,177 | [
-1
] |
21,178 | problem33.lisp | OlegTheCat_project-euler/problem33.lisp | (defun problem33 ()
(let* ((fractions (loop for i from 10 to 99 nconc
(loop for j from 10 to 99
if (< (/ i j) 1)
collect
(list i j))))
(non-trivial (filter #'(lambda (f)
... | 1,847 | Common Lisp | .lisp | 27 | 44.740741 | 118 | 0.490369 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0bf787fad21f0c7ef2373f270766c5c9502fc2541ac99379d40c70bc35d9b657 | 21,178 | [
-1
] |
21,179 | problem17.lisp | OlegTheCat_project-euler/problem17.lisp | (defparameter repr
'((1 . "one")
(2 . "two")
(3 . "three")
(4 . "four")
(5 . "five")
(6 . "six")
(7 . "seven")
(8 . "eight")
(9 . "nine")
(10 . "ten")
(11 . "eleven")
(12 . "twelve")
(13 . "thirteen")
(14 . "fourteen")
(15 . "fifteen")
(16 . "sixteen")
(17 . "seventeen")
(18 . "eighteen")
(19 . "ni... | 1,316 | Common Lisp | .lisp | 52 | 22.846154 | 102 | 0.597774 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4d11266e0b0904862e81d704aedd639c4bed339244dbfd9382ba540cd7b958cf | 21,179 | [
-1
] |
21,180 | problem8.lisp | OlegTheCat_project-euler/problem8.lisp | (defun problem8()
(funcall (alambda (lst) (if (null (fifth lst)) 0 (max (apply #'* (subseq lst 0 5)) (self (cdr lst)))))
(explode
731671765313306249192251196744265747423553491949349698352031277450632623957831801698480186947885184385861560789112949495459501737958331952853208805511125406987471585238630507156... | 1,147 | Common Lisp | .lisp | 4 | 282.5 | 1,009 | 0.945757 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9554e089f7142f13ba305692bac81fff9bb687c6dab79dac28cd92e8c59e81d0 | 21,180 | [
-1
] |
21,181 | problem12.lisp | OlegTheCat_project-euler/problem12.lisp | (defun problem12()
(loop for i from 2 by 1 for num = (* (/ (+ 1 i) 2) i) do
(when (> (length (divisors-of num)) 500)
(return-from problem12 num))))
| 156 | Common Lisp | .lisp | 4 | 36 | 58 | 0.592105 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 95e3d15ce8ecd19e1c43cd8c7555dec9877699f91b05690dc35e91275570e345 | 21,181 | [
-1
] |
21,182 | problem2.lisp | OlegTheCat_project-euler/problem2.lisp | (defun sum-of-even-fibos (below &optional (start-from 1))
(let ((num (fibo start-from)))
(if (< num below)
(+ (if (evenp num) num 0) (sum-of-even-fibos below (1+ start-from)))
0)))
(defun problem2()
(sum-of-even-fibos 4000000))
| 261 | Common Lisp | .lisp | 7 | 31.571429 | 79 | 0.588933 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 05998a05cec12e283195c28f0ff240d3a4bba1132f1ec5ab5d40ad2aea4ccdc0 | 21,182 | [
-1
] |
21,183 | problem37.lisp | OlegTheCat_project-euler/problem37.lisp | (defun problem37 ()
(let ((truncatable-primes nil))
(loop for i from 1 while (< (length truncatable-primes) 11) if (is-truncatable-p i) do
(push i truncatable-primes))
(reduce #'+ truncatable-primes)))
(defun is-truncatable-p (num)
(and (prime-p num)
(let ((nums (explode num)))
(a... | 526 | Common Lisp | .lisp | 11 | 40.727273 | 92 | 0.59144 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f4a3fd5fe219073ed61eb12bbac3e7dd91ba9876c96d55e8e1e8bed1fe815475 | 21,183 | [
-1
] |
21,184 | problem4.lisp | OlegTheCat_project-euler/problem4.lisp | (defun problem4 ()
(apply #'max (mapcar #'stick-num (remove-if-not #'palindrome-p
(mapcar #'explode
(loop for i from 999 downto 100 append
(loop for j from 999 downto 100 collect (* i j))))))))
| 256 | Common Lisp | .lisp | 5 | 37.8 | 76 | 0.52988 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f11638f5834f8d77330ddecdad133fde4741aec99b705692b0cb3df9826f9e3e | 21,184 | [
-1
] |
21,185 | problem35.lisp | OlegTheCat_project-euler/problem35.lisp | (defun rotations (lst)
(labels ((%rotate (lst) (append1 (cdr lst) (car lst)))
(%perform (lst number)
(if (zerop number)
nil
(cons lst (%perform (%rotate lst) (1- number))))))
(%perform lst (length lst))))
(defun circular-prime-p (prim... | 527 | Common Lisp | .lisp | 13 | 31.846154 | 73 | 0.558824 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b7031c5c009563d81c42cf722b0a33ccc8f780957cdbdeb63531cfc84a2c0560 | 21,185 | [
-1
] |
21,186 | problem29.lisp | OlegTheCat_project-euler/problem29.lisp | (defun problem29 ()
(let ((combs (loop for i from 2 to 100 nconc
(loop for j from 2 to 100 collect
(expt i j)))))
(length (remove-duplicates combs))))
| 205 | Common Lisp | .lisp | 5 | 29.2 | 54 | 0.515 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 447ca498f2d91130c0cdcdb6648b5ecb0dea182f514ea5a048db2e39f07b22c1 | 21,186 | [
-1
] |
21,187 | problem15.lisp | OlegTheCat_project-euler/problem15.lisp | (defun problem15()
(do ((lst '(0) (let ((new (reduce
#'(lambda (x y) (cons (+ (car x) y) x)) (reverse (butlast lst)) :initial-value '(1))))
(cons (* 2 (car new)) new))))
((> (length lst) 20) (car lst))))
| 223 | Common Lisp | .lisp | 5 | 39.8 | 94 | 0.509174 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fb74ee4ad9bc085309642482d006c3b5357f4e3b4929e960fbfa37fb6b5e4555 | 21,187 | [
-1
] |
21,188 | problem36.lisp | OlegTheCat_project-euler/problem36.lisp | (defun double-base-palindrome-p (num)
(let ((numbers (explode num))
(bits (bits num)))
(and (palindrome-p numbers)
(palindrome-p bits))))
(defun problem36 ()
(loop for i from 0 to 999999 if (double-base-palindrome-p i) sum
i))
| 261 | Common Lisp | .lisp | 8 | 27.375 | 66 | 0.630952 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9486130504dc9fe2fb43fb981f932c5297924dc31782fcff39a143c14c1ee951 | 21,188 | [
-1
] |
21,189 | utils.lisp | OlegTheCat_project-euler/utils.lisp | (defun memoize (fn)
(let ((cache (make-hash-table :test #'equal)))
#'(lambda (&rest args)
(multiple-value-bind
(result exists)
(gethash args cache)
(if exists
result
(setf (gethash args cache)
(apply fn args)))))))
(de... | 7,782 | Common Lisp | .lisp | 243 | 26.567901 | 124 | 0.558765 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 85282a1b9f25bd614e4edea7400179210a731eda70d73412f4a99ad7315e1776 | 21,189 | [
-1
] |
21,190 | problem67.lisp | OlegTheCat_project-euler/problem67.lisp | (defun problem67 ()
(with-open-file (stream "data/problem67.txt" :if-does-not-exist nil)
(car (max-path (read-triangle stream)))))
| 134 | Common Lisp | .lisp | 3 | 42.666667 | 70 | 0.709924 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3d6950428ddc02fdef1feb342e5269b8986173b7588e3f53f09028acd97eb4fa | 21,190 | [
-1
] |
21,191 | problem9.lisp | OlegTheCat_project-euler/problem9.lisp | (defun triplet-p (a b c)
(and (< a b) (< b c) (= (+ (* a a) (* b b)) (* c c))))
(defun problem9()
(loop for i from 1 to 1000 do
(loop for j from (1+ i) to 1000 for k = (- 1000 i j) do
(and (triplet-p i j k) (return-from problem9 (* i j k))))))
| 281 | Common Lisp | .lisp | 6 | 39.666667 | 80 | 0.47619 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 93a9eed12167322c114bc11a195e8673859d746f42ad3cb9a8bd0db7b84d83a5 | 21,191 | [
-1
] |
21,192 | problem28.lisp | OlegTheCat_project-euler/problem28.lisp | (defun duplicate-elems (lst times)
(mapcan #'(lambda (el)
(loop for i from 1 to times collect el))
lst))
(defun problem28 ()
(let* ((size 1001)
(steps (make-num-lst 2 size 2))
(all-steps (cons 1 (duplicate-elems steps 4)))
(diagonal-els (cumsum all-steps)))
(reduce #'+ diagonal-els)))
| 311 | Common Lisp | .lisp | 10 | 27.6 | 49 | 0.646667 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c9812d2e35af9c282f47048e863f50ff9f7ac1a50d6d61fbf9e2ff033254d629 | 21,192 | [
-1
] |
21,193 | problem24.lisp | OlegTheCat_project-euler/problem24.lisp | (defun all-permutations-of (lst)
(if lst
(let ((perms (all-permutations-of (cdr lst))))
(append
(mapcar #'(lambda (x)
(cons (car lst) x))
perms)
(mapcan #'(lambda (x)
(loop for i from 1 to (length x) collect (insert-before x (car lst) i)))
perms)))
(list nil)))
(defun insert-before (l... | 507 | Common Lisp | .lisp | 17 | 26.352941 | 78 | 0.614754 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 109df128c0b2eda0fc309618541d06d2e60323f23a66f8caba96feaac5038eed | 21,193 | [
-1
] |
21,194 | problem30.lisp | OlegTheCat_project-euler/problem30.lisp | (defun problem30 ()
(let ((nums (make-num-lst 1 9999999)))
(reduce #'+ (delete-if-not #'(lambda (num)
(let ((digits (explode num)))
(and (cdr digits) ;; 2 or more
(= num
... | 627 | Common Lisp | .lisp | 11 | 20.636364 | 76 | 0.228896 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1fbd094db5f3c365af27a45ce8d9f18edf7cb2559834e68bbe4814701dc643c1 | 21,194 | [
-1
] |
21,195 | problem3.lisp | OlegTheCat_project-euler/problem3.lisp | (defun largest-prime-factor (n largest)
(aif (find-divisor n (1- largest) #'1- #'(lambda (n s) (> s 1)))
(if (prime-p it)
it
(largest-prime-factor n it))))
(defun problem3()
(largest-prime-factor 600851475143 (floor (sqrt 600851475143))))
| 276 | Common Lisp | .lisp | 7 | 33.142857 | 66 | 0.604478 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8d7149260c52fd065730acbd97699b5490ae0fb8d87b44f740c86130d940568c | 21,195 | [
-1
] |
21,196 | problem19.lisp | OlegTheCat_project-euler/problem19.lisp | (defun problem19 ()
(loop for year from 1901 to 2000 sum
(loop for month from 1 to 12 sum
(multiple-value-bind
(second minute hour date month year day-of-week dst-p tz)
(decode-universal-time (encode-universal-time 0 0 0 1 month year))
(if (= day-of-week 6) 1 0)))))
| 290 | Common Lisp | .lisp | 7 | 37.142857 | 70 | 0.678445 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 609f0f35d5c28f94c4910c584cbf388d5db7152ab8145e20d01e8efdbeacce39 | 21,196 | [
-1
] |
21,197 | problem6.lisp | OlegTheCat_project-euler/problem6.lisp | (defun problem6 ()
(let ((lst (make-num-lst 1 100)))
(- (expt (apply #'+ lst) 2) (apply #'+ (mapcar #'(lambda (x) (* x x)) lst)))))
| 149 | Common Lisp | .lisp | 3 | 43 | 85 | 0.5 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a53d0346f9a2b50f08eaed69c49326fe4459973b92a2654cd79b281a0aa28841 | 21,197 | [
-1
] |
21,198 | problem13.lisp | OlegTheCat_project-euler/problem13.lisp | (defun problem13 ()
(with-open-file (stream "data/problem13.txt" :if-does-not-exist nil)
(stick-num (subseq (explode (funcall (alambda (stream)
(aif (read-line stream nil nil)
(+ (parse-integer it) (self stream))
0))
stream)) 0 10))))
| 302 | Common Lisp | .lisp | 7 | 32.571429 | 70 | 0.552542 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ec3a8d875724c5c7acc277e766aa28fbb4596439f593e0f123e5036f6e5c74a0 | 21,198 | [
-1
] |
21,199 | problem27.lisp | OlegTheCat_project-euler/problem27.lisp | (defun gen-formula (a b)
#'(lambda (n) (+ (* n n) (* a n) b)))
(defun problem27 ()
(labels ((%gen-coeficients (max-abs-a max-abs-b)
(loop for i from (- max-abs-a) to max-abs-a append
(loop for j from (- max-abs-b) to max-abs-b collect (list i j)))))
(do ((i 0 (1+ i)) ;; Not do*
(coefs (%gen-... | 603 | Common Lisp | .lisp | 14 | 33.142857 | 77 | 0.5 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f5b0daf17bad132c7810917055852116366640ba2582d6cc07b62770342be967 | 21,199 | [
-1
] |
21,200 | problem32.lisp | OlegTheCat_project-euler/problem32.lisp | (defun problem32 ()
(let ((products (loop for i from 1 to 2000 nconc
(loop for j from 1 to 2000
for prod = (* i j)
if (pandigital-p (nconc (explode i) (explode j) (explode prod)))
collect prod))))
(r... | 549 | Common Lisp | .lisp | 11 | 35.545455 | 94 | 0.486034 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d568eba8069f05db42e966e8f2f38835fc19b97cbe8f8851811dbce0edcc4b7b | 21,200 | [
-1
] |
21,201 | problem1.lisp | OlegTheCat_project-euler/problem1.lisp | (defun get-sum-of-3-or-5 (num-below &optional (sum 0))
(if (< num-below 1)
sum
(get-sum-of-3-or-5 (1- num-below ) (if (or (= (mod num-below 3) 0) (= (mod num-below 5) 0)) (+ sum num-below) sum))))
(defun problem1 ()
(get-sum-of-3-or-5 999))
| 259 | Common Lisp | .lisp | 6 | 39.166667 | 123 | 0.573705 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 14ddbbff9e63d9a6d5a67c04ee2b452fc86fc315989ed3bfabfba75408014fed | 21,201 | [
-1
] |
21,202 | problem18.lisp | OlegTheCat_project-euler/problem18.lisp | (defun read-triangle (stream)
(aand (read-line stream nil nil)
(cons (mapcar #'parse-integer (cl-utilities:split-sequence #\Space it)) (read-triangle stream))))
;; Slow algorithm that works by tree traversing
#|(defun triangle2tree (triangle &optional (fmake-node #'(lambda (val &optional list-of-nodes)
... | 1,055 | Common Lisp | .lisp | 24 | 40.375 | 117 | 0.66439 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1cbeeb7967d74f01d257d4bedd7c64af88f3c86dcc94a3bfbea3b6c032657d8c | 21,202 | [
-1
] |
21,203 | problem22.lisp | OlegTheCat_project-euler/problem22.lisp | (defun read-names (stream)
(cl-utilities:split-sequence #\, (remove-if #'(lambda (x) (char= x #\")) (read-line stream nil nil))))
(defun problem22 ()
(with-open-file (stream "data/problem22.txt")
(reduce #'+ (names-to-scores (read-names stream)))))
(defun alphabet-pos-of (ch)
(- (char-int (char-upcase ch)) 64))... | 496 | Common Lisp | .lisp | 13 | 35.384615 | 103 | 0.629167 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 15f35733cd43f5f616e2eb4d9316e2d090b673b79debb77f2aeea112e90b63f5 | 21,203 | [
-1
] |
21,204 | problem34.lisp | OlegTheCat_project-euler/problem34.lisp | (defun problem34 ()
(let ((curious-nums (loop for i from 10 to 2903040
if (= i (reduce #'+ (mapcar #'factorial (explode i))))
collect i)))
(reduce #'+ curious-nums)))
| 229 | Common Lisp | .lisp | 5 | 32.4 | 82 | 0.482143 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 662e40ebe13e1117063ed6a001fe00365f31a20ca15f7cd1833a4c11f8241432 | 21,204 | [
-1
] |
21,205 | problem23.lisp | OlegTheCat_project-euler/problem23.lisp | (defun abundants-below-eq (n)
(loop for i from 1 to n if (> (sum-proper-divisors-of i) i) collect i))
#|(defun sum-of-abundant-below (n)
(let ((abundants (abundant-numbers-below n)))
(labels ((odd-abundants (even odd)
(loop for i in even append
(loop for j in odd for sum = (+ i j) if (not (> sum n)) ... | 1,123 | Common Lisp | .lisp | 27 | 34.851852 | 93 | 0.572869 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | da212c7c4264b9e8b7f36702c5895f71964b7f5b971ceaf44c8b0eefdcddee3e | 21,205 | [
-1
] |
21,206 | problem14.lisp | OlegTheCat_project-euler/problem14.lisp | (defun collatz-seq-next (n)
(if (evenp n)
(/ n 2)
(1+ (* 3 n))))
(defun collatz-seq-length (n)
(if (> n 1)
(+ 1 (collatz-seq-length (collatz-seq-next n)))
1))
(setf (fdefinition 'collatz-seq-length) (memoize #'collatz-seq-length))
(defun problem14 ()
(let ((alst (loop for i from 1 to 1000000 collect (cons ... | 406 | Common Lisp | .lisp | 12 | 31.666667 | 86 | 0.644501 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e5eab10a218dc55726816b28d9b9d5d447efade72e68f92c0b099fa42ca43139 | 21,206 | [
-1
] |
21,207 | problem31.lisp | OlegTheCat_project-euler/problem31.lisp | (defun problem31 ()
(count-coins 200 '(1 2 5 10 20 50 100 200)))
(defun count-coins (money coins)
(cond
((= money 0) 1)
((or (< money 0) (null coins)) 0)
(t (+ (count-coins (- money (car coins)) coins) (count-coins money (cdr coins))))))
| 255 | Common Lisp | .lisp | 7 | 33 | 87 | 0.59919 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a15b4e15a7327abd6d4551ae10182477af3d64b3455a7c09a532bf449983e75d | 21,207 | [
-1
] |
21,208 | problem25.lisp | OlegTheCat_project-euler/problem25.lisp | (defun problem25 ()
(do ((i 1 (1+ i)))
((= 1000 (length (explode (fibo i :initial-values '(1 . 1))))) i)))
| 110 | Common Lisp | .lisp | 3 | 34.666667 | 68 | 0.542056 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 169fb36dc6a34a31c325e86bc5042e5dccfa3fc2a2eac8a6f51ff0923cdeff7c | 21,208 | [
-1
] |
21,209 | problem21.lisp | OlegTheCat_project-euler/problem21.lisp | (defun dotted-pair-equal-p (x y)
(or
(and
(= (car x) (car y))
(= (cdr x) (cdr y)))
(and
(= (cdr x) (car y))
(= (car x) (cdr y)))))
(defun sum-proper-divisors-of (n)
(reduce #'+ (proper-divisors-of n)))
(defun amicable-pair-of (n)
(let ((new (sum-proper-divisors-of n)))
(and (not (= n new))
(=... | 667 | Common Lisp | .lisp | 23 | 25.826087 | 88 | 0.58216 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e954b3d46d9464e7c515a3d92b904d0a55bbd39817994fc798860794916920ab | 21,209 | [
-1
] |
21,210 | project-euler.asd | OlegTheCat_project-euler/project-euler.asd | (in-package :asdf)
(defsystem "project-euler"
:description "Project's Euler problems solutions in LISP"
:version "0.0.1"
:author "OlegTheCat"
:licence "Public Domain"
:components ((:file "utils")
(:file "problem1" :depends-on ("utils"))
(:file "problem2" :depends-on ("utils"))
(:file "problem3" :d... | 1,965 | Common Lisp | .asd | 45 | 38.377778 | 58 | 0.60219 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4047038a6ce4eabf67fdb057693865556406c4941073da8dac85d1601528e433 | 21,210 | [
-1
] |
21,246 | problem67.txt | OlegTheCat_project-euler/data/problem67.txt | 59
73 41
52 40 09
26 53 06 34
10 51 87 86 81
61 95 66 57 25 68
90 81 80 38 92 67 73
30 28 51 76 81 18 75 44
84 14 95 87 62 81 17 78 58
21 46 71 58 02 79 62 39 31 09
56 34 35 53 78 31 81 18 90 93 15
78 53 04 21 84 93 32 13 97 11 37 51
45 03 81 79 05 18 78 86 13 30 63 99 95
39 87 96 28 03 38 42 17 82 87 58 07 22 57
06 17... | 15,150 | Common Lisp | .l | 100 | 150.5 | 299 | 0.671096 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3983f6cc2bda389ba1d0bf0cfcb619552a94b03c60d43156cab99453b08f9970 | 21,246 | [
-1
] |
21,247 | problem18.txt | OlegTheCat_project-euler/data/problem18.txt | 75
95 64
17 47 82
18 35 87 10
20 04 82 47 65
19 01 23 75 03 34
88 02 77 73 07 63 67
99 65 04 28 06 16 70 92
41 41 26 56 83 40 80 70 33
41 48 72 33 47 32 37 16 94 29
53 71 44 65 25 43 91 52 97 51 14
70 11 33 28 77 73 17 78 39 68 17 57
91 71 52 38 17 14 91 43 58 50 27 29 48
63 66 04 68 89 53 67 30 73 16 69 87 40 31
04 62... | 360 | Common Lisp | .l | 15 | 23 | 44 | 0.695652 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 48706624e54607b58c57b18176431a15ce2948a4b4012f222f5627425692cf3e | 21,247 | [
-1
] |
21,248 | problem13.txt | OlegTheCat_project-euler/data/problem13.txt | 37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574161572522430563301811072406154908250
23067588207539346171171980310421047513778063246676
89261670696623633820136378418383684178734361726757
28112879812849... | 5,100 | Common Lisp | .l | 100 | 50 | 50 | 1 | OlegTheCat/project-euler | 2 | 0 | 0 | GPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b48328239597fe5cec4b18151d4dc59da9481a15af13a0926e70a38868d0f670 | 21,248 | [
-1
] |
21,263 | assertion-error-test.lisp | noloop_assertion-error/test/assertion-error-test.lisp | (in-package #:cl-user)
(defpackage #:noloop.assertion-error-test
(:use #:common-lisp)
(:nicknames #:assertion-error-test)
(:import-from #:assertion-error
#:assertion-error
#:get-stack-trace
#:assertion-error-message
#:assertion-error-result
... | 1,481 | Common Lisp | .lisp | 34 | 33.117647 | 117 | 0.598474 | noloop/assertion-error | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b7184297d2c81301ab016f738b39c73341217ceac4058a8521c0196b51fdd78a | 21,263 | [
-1
] |
21,264 | package.lisp | noloop_assertion-error/src/package.lisp | (in-package #:cl-user)
(defpackage #:noloop.assertion-error
(:use #:common-lisp)
(:nicknames #:assertion-error)
(:import-from #:dissect
#:stack)
(:export #:assertion-error
#:get-stack-trace
#:assertion-error-message
#:assertion-error-... | 491 | Common Lisp | .lisp | 14 | 24.5 | 42 | 0.559748 | noloop/assertion-error | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f2f111d21695c169dff43ac5d2c48d04a2f950b08742b41c6960ff73b1e58dcd | 21,264 | [
-1
] |
21,265 | assertion-error.lisp | noloop_assertion-error/src/assertion-error.lisp | (in-package #:assertion-error)
(define-condition assertion-error (error)
((assertion-error-message :initarg :assertion-error-message :reader assertion-error-message)
(assertion-error-result :initarg :assertion-error-result :reader assertion-error-result)
(assertion-error-actual :initarg :assertion-error-actual... | 580 | Common Lisp | .lisp | 9 | 61.444444 | 97 | 0.792619 | noloop/assertion-error | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d7f926d9fa2fb6e1adaaa5b3454a51f1e66e7c3699be9eed44d64bdeb3dcf135 | 21,265 | [
-1
] |
21,266 | assertion-error.asd | noloop_assertion-error/assertion-error.asd | ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(defsystem :assertion-error
:author "noloop <noloop@zoho.com>"
:maintainer "noloop <noloop@zoho.com>"
:license "GPLv3"
:version "0.1.0"
:homepage "https://github.com/noloop/assertion-error"
:bug-tracker "https://github.com/noloop/assertion-error/i... | 1,146 | Common Lisp | .asd | 26 | 38.5 | 90 | 0.663685 | noloop/assertion-error | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9524151e417550b0fb737a485f9af039eaa3c000334a61142171c3050a333c0a | 21,266 | [
-1
] |
21,285 | grantha.lisp | parjanya_grantha/grantha.lisp | #|
This file is a part of Grantha project.
Copyright (c) 2020 Edgard Bikelis (bikelis@gmail.com)
Author: Edgard Bikelis (bikelis@gmail.com)
Grantha is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, eit... | 27,402 | Common Lisp | .lisp | 712 | 34.516854 | 116 | 0.674331 | parjanya/grantha | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 48ff015a608333831d0ff11a8d2e252ef06530790a925b56fe01133087949259 | 21,285 | [
-1
] |
21,286 | grantha-dependent.lisp | parjanya_grantha/grantha-dependent.lisp | #|
This file is a part of grantha project.
Copyright (c) 2020 Edgard Bikelis (bikelis@gmail.com)
Author: Edgard Bikelis (bikelis@gmail.com)
Grantha is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, eit... | 1,845 | Common Lisp | .lisp | 52 | 32.634615 | 79 | 0.737798 | parjanya/grantha | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9915bb659d1da68e1d77cc859f72465ce6ec33d89c0752dc0fe491a76374242f | 21,286 | [
-1
] |
21,287 | grantha-tests.lisp | parjanya_grantha/grantha-tests.lisp | (defpackage grantham/tests/main
(:use :cl
:grantham
:rove))
(in-package :grantham/tests/main)
;; NOTE: To run this test file, execute `(asdf:test-system :grantha)' in your Lisp.
(deftest test-target-1
(testing "should (= 1 1) to be true"
(ok (= 1 1))))
| 279 | Common Lisp | .lisp | 9 | 27.111111 | 83 | 0.649254 | parjanya/grantha | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2429d9b3a7373061df5c653449c0d79fd9bd459e8f198ae04bca173fc8bcd5b9 | 21,287 | [
-1
] |
21,288 | grantha.asd | parjanya_grantha/grantha.asd | (defsystem "grantha"
:version "0.1.0"
:author "Edgard Bikelis"
:license "GPLv3"
:depends-on ("do-urlencode"
"dexador"
"cl-ppcre"
"plump"
;; "cl-store"
"cl-conspack"
"flexi-streams"
"salza2"
"s-base64"
"bordeaux-threads")
:components ((:file "grantha")
(:file "grantha-dependent... | 695 | Common Lisp | .asd | 26 | 22.846154 | 56 | 0.651198 | parjanya/grantha | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c9cbbc5db7c5d20a5017785c7388400ee48ed03bfb97d4c98b077e19f7f0a524 | 21,288 | [
-1
] |
21,307 | package.lisp | Izaakwltn_scale-your-violin/package.lisp | ;;;;package.lisp
;;;;
;;;;Copyright (c) 2021 Izaak Walton
(ql:quickload "hunchentoot")
(defpackage #:scale-your-violin
(:documentation "scaleyourviolin.com")
(:use #:cl #:parenscript #:spinneret #:hunchentoot #:vibratsia))
| 229 | Common Lisp | .lisp | 7 | 30.857143 | 66 | 0.722727 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d1ca24bc364b71078c058c7b6581405293cbb8626363b86dea886b866db262f3 | 21,307 | [
-1
] |
21,308 | build-that-site.lisp | Izaakwltn_scale-your-violin/build-that-site.lisp | ;;;;build-that-site.lisp
(in-package :scale-your-violin)
(defvar *server* (make-instance 'hunchentoot:easy-acceptor :port 4242
:document-root #p"/home/izaakwalton/programming/lisp-projects/scale-your-violin/www/"))
(hunchentoot::start *server*)
;http://127.0.0.1:4242/
;(push
; (hunchentoot:create-prefix-dispat... | 386 | Common Lisp | .lisp | 9 | 40.888889 | 88 | 0.751337 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5d50572b9b96b99e9e03044e85f2cba51635cec0169acea9f4c9194df6b0ebf8 | 21,308 | [
-1
] |
21,309 | scale-your-page.lisp | Izaakwltn_scale-your-violin/scale-your-page.lisp | ;;;;scale-your-page.lisp
;;;;
(in-package :scale-your-violin)
"Page template for website as a whole."
(defmacro with-page ((&key title) &body body)
`(spinneret::with-html-string
(:doctype)
(:html
(:head
(:meta :charset "utf-8")
(:meta :name "viewport" :content "width=device-width, initial-scale... | 853 | Common Lisp | .lisp | 25 | 29.32 | 72 | 0.616687 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 30f66459f26338388687a8aba9189df43c1f7d6203d22d972e760ba5a0c60cc5 | 21,309 | [
-1
] |
21,310 | resonance-output.lisp | Izaakwltn_scale-your-violin/www/resonance-output.lisp | ;;;;resonance-output.lisp
(in-package :scale-your-violin)
;;;;------------------------------------------------------------------------
;;;;Instrument Assessment
;;;;------------------------------------------------------------------------
(defvar instrument-parse-list '(("violin"
(vibratsia::luthier 'violin '(19... | 6,369 | Common Lisp | .lisp | 142 | 39.788732 | 99 | 0.625725 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 87db79129f1a86dad8c2d7094c440c79b02d1fbd38d515a832915e027ba049ce | 21,310 | [
-1
] |
21,311 | index.lisp | Izaakwltn_scale-your-violin/www/index.lisp | ;;;;index.lisp
(in-package :scale-your-violin)
(defun index-page ()
(with-page (:title "Scale Your Violin")
(:header
(:h1 "Scale Your Violin"))
(:section
(:img :src "IMG_0036.JPG"
:width "600"
:height "auto")
(:p "Hello, welcome to Scale Your Violin, a virtual violin studio dedicated ... | 792 | Common Lisp | .lisp | 18 | 39.722222 | 182 | 0.668831 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b2dc2e6f3bc88259df8cdd0c5535ff1c20e161255f77b83f4a151cc1a145703a | 21,311 | [
-1
] |
21,312 | resonance.lisp | Izaakwltn_scale-your-violin/www/resonance.lisp | ;;;;resonance.lisp
;;;;Resonance Calculator
(in-package :scale-your-violin)
;;;;------------------------------------------------------------------------
(defvar note-option-list (mapcar #'vibratsia::freq-to-note
(vibratsia::frequency-ladder 16.35 4185.6)))
(defvar instrument-option-list '("violin" "viola" "... | 4,814 | Common Lisp | .lisp | 96 | 44.0625 | 279 | 0.626862 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e9d6cb0092a7f4e8ff2870069264fa5d12903528b6303ed1de2991f12723520d | 21,312 | [
-1
] |
21,313 | contact.lisp | Izaakwltn_scale-your-violin/www/contact.lisp | ;;;;contact.lisp
(in-package :scale-your-violin)
(defun contact-page ()
(with-page (:title "Contact")
(:header
(:h1 "Contact"))
(:section
(:h2 "Send me an email at:")
(:h3 (:a :href "mailto: izaakviolin@gmail.com" "izaakviolin@gmail.com")))))
;(:h2 "Or visit our affiliate website:")
... | 505 | Common Lisp | .lisp | 14 | 32.214286 | 80 | 0.657787 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 615582da3cdeefd981f77fe270729fbae1d52b89103aeba431c54ad7da754ec8 | 21,313 | [
-1
] |
21,314 | blog.lisp | Izaakwltn_scale-your-violin/www/blog.lisp | ;;;;blog.lisp
(in-package :scale-your-violin)
(defun blog-page ()
(with-page (:title "Not that Kind of String Theory")
(:header
(:h1 "Not that Kind of String Theory"))
(:section
(:h3 "Blog coming soon"))))
(push
(hunchentoot:create-prefix-dispatcher "/blog.html" #'blog-page)
hunchentoot:*dispat... | 331 | Common Lisp | .lisp | 11 | 26.818182 | 64 | 0.681388 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3a23b04710f8cc4afe42b2297b7fe50cf8fa92d1c0e8b4cb3641f7f29f7f5762 | 21,314 | [
-1
] |
21,315 | about.lisp | Izaakwltn_scale-your-violin/www/about.lisp | ;;;;about.lisp
(in-package :scale-your-violin)
(defun about-page ()
(with-page (:title "About")
(:header
(:h1 "About"))
(:section
(:h3 "Izaak Walton")
(:p "Hello! I'm Izaak, a violinist and teacher of violin, viola, and mandolin based out of Denver, CO.")
(:br)
(:iframe :width "560"... | 1,234 | Common Lisp | .lisp | 18 | 63.388889 | 356 | 0.723001 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6a373436fe76a20bc39d3de6f9d2bd9bbc4be3d9dfea816d3cff5881214302f2 | 21,315 | [
-1
] |
21,316 | teachers.lisp | Izaakwltn_scale-your-violin/www/teachers.lisp | ;;;;teachers.lisp
(in-package :scale-your-violin)
(defun teacher-page ()
(with-page (:title "Meet the Teachers")
(:h1 "Studio Teachers")
;(:br)
(:section
(:h2 "Izaak Walton")
(:h3 "Violin, Viola, and Mandolin")
(:img :src "FB_IMG_1573334579763.jpg"
:width "300"
:height "auto")
... | 3,949 | Common Lisp | .lisp | 29 | 131.137931 | 1,587 | 0.788011 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fc2071f390f707cb93b98956242017d5828b97f977a06c73b74ab1ed331b539c | 21,316 | [
-1
] |
21,317 | scale-your-violin.asd | Izaakwltn_scale-your-violin/scale-your-violin.asd | ;;;;scale-your-violin.asd
;;;;
;;;;Copyright (c) 2021 Izaak Walton
(asdf:defsystem #:scale-your-violin
:version "0.0.1"
:author "Izaak Walton <izaakw@protonmail.com>"
:license "GNU General Purpose License"
:description "scaleyourviolin.com"
:depends-on (#:parenscript #:spinneret #:hunchentoot #:vibratsia #:p... | 678 | Common Lisp | .asd | 22 | 25.681818 | 81 | 0.618321 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b3dc384b19603434b92d3ed4b1f473af4ba8abb81cb6ac0c508b97495a511298 | 21,317 | [
-1
] |
21,330 | index.html | Izaakwltn_scale-your-violin/www/index.html | <html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS --> ... | 1,343 | Common Lisp | .l | 25 | 35.68 | 176 | 0.555465 | Izaakwltn/scale-your-violin | 2 | 0 | 0 | MPL-2.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9e19926f7779b35c3077c83f5d779873a79b304998624973f0b75c8554de53fe | 21,330 | [
-1
] |
21,345 | freeipa-master.asd | innaky_freeipa-master/freeipa-master.asd | #|
This file is a part of utils project.
Copyright (c) 2019 Innaky (innaky@protonmail.com)
|#
#|
Author: Innaky (innaky@protonmail.com)
|#
(defsystem "freeipa-master"
:version "0.1.1"
:author "Innaky"
:license "GPLv3"
:depends-on (:cl-launch
:cl-scripting
:inferior-shell
:ip-interfaces
... | 564 | Common Lisp | .asd | 24 | 19.5 | 51 | 0.66171 | innaky/freeipa-master | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6289f0bfcd7a99f796b9554c4966478e86e4702acb95637dce77c6d60d051073 | 21,345 | [
-1
] |
21,361 | math.lisp | alexpalade_such-is-life/src/math.lisp | (cl:in-package :sil-game)
(defun rotate-vec (vec angle)
(vec2 (- (* (x vec) (cos angle)) (* (y vec) (sin angle)))
(+ (* (x vec) (sin angle)) (* (y vec) (cos angle)))))
(defun len (vec)
(sqrt (+ (expt (x vec) 2) (expt (y vec) 2))))
| 245 | Common Lisp | .lisp | 6 | 37.5 | 61 | 0.527426 | alexpalade/such-is-life | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f92dcdaf6dd93a013402ba3ea8d309d42c4dfba0eb2470d109feb36f711a2e6d | 21,361 | [
-1
] |
21,362 | person.lisp | alexpalade_such-is-life/src/person.lisp | (cl:in-package :sil-game)
(defclass person ()
((destination :initform nil :accessor destination)
(path :initform nil :accessor path)
(target :initform nil :accessor target)
(state :initform 'wander :accessor state)
(rest-time :initform (+ 0.5 (/ 1 (+ 0.1 (random 10)))) :accessor rest-time)
(row :initf... | 3,736 | Common Lisp | .lisp | 89 | 35.325843 | 91 | 0.615109 | alexpalade/such-is-life | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | db3684d4e5ae53818f1258ec882544c6a03edb2613202e6e6df62ea6475a8875 | 21,362 | [
-1
] |
21,363 | util.lisp | alexpalade_such-is-life/src/util.lisp | (cl:in-package :sil-game)
(defmacro random-nth (lst)
`(when ,lst
(nth (random (length ,lst)) ,lst)))
(defun asset-path (pathname)
(asdf:system-relative-pathname :sil-game (merge-pathnames pathname "assets/")))
(defun valid-cell (row col num-rows num-cols)
(and (>= row 0)
(>= col 0)
(< row nu... | 762 | Common Lisp | .lisp | 21 | 31.571429 | 81 | 0.586957 | alexpalade/such-is-life | 2 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6969cd0f6f99041a4acf6e741df9bc792bd9877c65f79f0d61b0e496e74c510b | 21,363 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.