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
# Published on Docker Hub with above user alexellisio. | |
# If you want to rebuild your own copy, follow below instructions | |
# Build this on each type of machine so you have the correct CPU extensions. | |
FROM alexellisio/boostbase | |
RUN git clone -b Linux https://github.com/nicehash/nheqminer.git | |
RUN cd nheqminer/cpu_xenoncat/Linux/asm/ && sh assemble.sh && cd ../../../Linux_cmake/nheqminer_cpu && cmake . && make | |
ENTRYPOINT ["./nheqminer/Linux_cmake/nheqminer_cpu/nheqminer_cpu"] |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap version="1" name="Mac OS X 10.5+ Cursive" parent="Mac OS X 10.5+"> | |
<action id=":plugin.actions.paredit/backward"> | |
<keyboard-shortcut first-keystroke="shift meta H" /> | |
</action> | |
<action id=":plugin.actions.paredit/backward-down"> | |
<keyboard-shortcut first-keystroke="control meta U" /> | |
</action> | |
<action id=":plugin.actions.paredit/backward-up"> | |
<keyboard-shortcut first-keystroke="shift meta U" /> |
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
;; Una de les formes de trobar bones solucions és trobar bones | |
;; estructures de dades de partida. | |
;; Aquí has de representar tres coses: | |
;; 1. Regles del joc (quina cosa guanya a què) | |
;; 2. Resultats d'una ronda | |
;; 3. Resulatats d'un torneig | |
;; Formes de representar 1. |
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
(defn rpswinner | |
[match] | |
(if (= ((match 0) 1) ((match 1) 1)) | |
(match 0) | |
(if (and (= ((match 0) 1) "R") (= ((match 1) 1) "P")) | |
(match 1) | |
(if (and (= ((match 0) 1) "P") (= ((match 1) 1) "S")) | |
(match 1) | |
(if (and (= ((match 0) 1) "S") (= ((match 1) 1) "R")) | |
(match 1) |