This file has been truncated, but you can view the full file.
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
abajgat | |
abakusz | |
abál | |
abált | |
abaposztó | |
abárol | |
abba | |
abbahagy | |
abbahagyat | |
abbahagyogat |
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
diff --git i/project.clj w/project.clj | |
index 66b878b..68ba0cb 100644 | |
--- i/project.clj | |
+++ w/project.clj | |
@@ -3,6 +3,7 @@ | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
+ :main dactyl-keyboard.dactyl | |
:dependencies [[org.clojure/clojure "1.7.0"] |
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
diff --git i/project.clj w/project.clj | |
index 66b878b..68ba0cb 100644 | |
--- i/project.clj | |
+++ w/project.clj | |
@@ -3,6 +3,7 @@ | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
+ :main dactyl-keyboard.dactyl | |
:dependencies [[org.clojure/clojure "1.7.0"] |
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
diff --git i/project.clj w/project.clj | |
index 66b878b..68ba0cb 100644 | |
--- i/project.clj | |
+++ w/project.clj | |
@@ -3,6 +3,7 @@ | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
+ :main dactyl-keyboard.dactyl | |
:dependencies [[org.clojure/clojure "1.7.0"] |
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
diff --git i/project.clj w/project.clj | |
index 66b878b..68ba0cb 100644 | |
--- i/project.clj | |
+++ w/project.clj | |
@@ -3,6 +3,7 @@ | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
+ :main dactyl-keyboard.dactyl | |
:dependencies [[org.clojure/clojure "1.7.0"] |
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
(ns dactyl-keyboard.dactyl | |
(:refer-clojure :exclude [use import]) | |
(:require [clojure.core.matrix :refer [array matrix mmul]] | |
[scad-clj.scad :refer :all] | |
[scad-clj.model :refer :all] | |
[unicode-math.core :refer :all])) | |
(defn deg2rad [degrees] | |
(* (/ degrees 180) pi)) |
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
diff --git i/src/dactyl_keyboard/dactyl.clj w/src/dactyl_keyboard/dactyl.clj | |
index f082903..097ae50 100644 | |
--- i/src/dactyl_keyboard/dactyl.clj | |
+++ w/src/dactyl_keyboard/dactyl.clj | |
@@ -14,13 +14,13 @@ | |
;;;;;;;;;;;;;;;;;;;;;; | |
(def nrows 4) | |
-(def ncols 5) | |
+(def ncols 8) |
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
[ | |
[ | |
{ | |
"r": 15, | |
"x": 5, | |
"a": 6 | |
}, | |
"E" | |
], | |
[ |
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
import re | |
number = r'\d+ (?: \. \d*)?' # one or more digits, followed by an optional dot and zero or more digits | |
coord2 = re.compile(r'\s* \( \s* (?P<lat> {number}) \s* , \s* (?P<lon> {number}) \s* \) \s*'.format(number=number), re.VERBOSE) | |
s = '(23.34, 11)' | |
match = coord2.match(s) | |
if match: | |
lat, lon = float(match.group('lat')), float(match.group('lon')) | |
print('Captured coordinates {:0.2f} {:0.2f}'.format(lat, lon)) |
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
FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04 | |
LABEL maintainer="[email protected]" | |
# Install ROS Kinetic robot | |
# install packages | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
dirmngr \ | |
gnupg2 \ | |
&& rm -rf /var/lib/apt/lists/* |
NewerOlder