trackler 2.2.1.175 → 2.2.1.176
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/clojure/config.json +1 -0
- data/tracks/clojure/docs/ABOUT.md +13 -0
- data/tracks/clojure/docs/INSTALLATION.md +21 -0
- data/tracks/clojure/docs/LEARNING.md +29 -0
- data/tracks/clojure/docs/RESOURCES.md +9 -0
- data/tracks/clojure/docs/{TESTS.org → TESTS.md} +22 -27
- data/tracks/clojure/exercises/anagram/src/anagram.clj +1 -1
- data/tracks/clojure/exercises/armstrong-numbers/src/armstrong_numbers.clj +1 -1
- data/tracks/clojure/exercises/beer-song/src/beer_song.clj +1 -1
- data/tracks/clojure/exercises/bob/src/bob.clj +1 -1
- data/tracks/clojure/exercises/clock/src/clock.clj +3 -3
- data/tracks/clojure/exercises/collatz-conjecture/src/collatz_conjecture.clj +1 -1
- data/tracks/clojure/exercises/etl/src/etl.clj +1 -1
- data/tracks/clojure/exercises/flatten-array/src/flatten_array.clj +1 -1
- data/tracks/clojure/exercises/grade-school/src/grade_school.clj +3 -3
- data/tracks/clojure/exercises/hamming/src/hamming.clj +2 -2
- data/tracks/clojure/exercises/leap/src/leap.clj +1 -1
- data/tracks/clojure/exercises/nucleotide-count/src/nucleotide_count.clj +2 -2
- data/tracks/clojure/exercises/phone-number/src/phone_number.clj +3 -3
- data/tracks/clojure/exercises/reverse-string/src/reverse_string.clj +1 -1
- data/tracks/clojure/exercises/rna-transcription/src/rna_transcription.clj +1 -1
- data/tracks/clojure/exercises/robot-name/src/robot_name.clj +2 -2
- data/tracks/clojure/exercises/run-length-encoding/src/run_length_encoding.clj +3 -3
- data/tracks/clojure/exercises/say/src/say.clj +1 -1
- data/tracks/clojure/exercises/series/src/series.clj +1 -1
- data/tracks/clojure/exercises/sublist/src/sublist.clj +1 -1
- data/tracks/clojure/exercises/two-fer/src/two_fer.clj +1 -1
- data/tracks/clojure/exercises/word-count/src/word_count.clj +1 -1
- data/tracks/ecmascript/config.json +12 -0
- data/tracks/ecmascript/exercises/reverse-string/README.md +42 -0
- data/tracks/ecmascript/exercises/reverse-string/example.js +9 -0
- data/tracks/ecmascript/exercises/reverse-string/package.json +70 -0
- data/tracks/ecmascript/exercises/reverse-string/reverse-string.spec.js +33 -0
- data/tracks/erlang/config.json +11 -0
- data/tracks/erlang/exercises/armstrong-numbers/README.md +53 -0
- data/tracks/erlang/exercises/armstrong-numbers/rebar.config +30 -0
- data/tracks/erlang/exercises/armstrong-numbers/src/armstrong_numbers.app.src +9 -0
- data/tracks/erlang/exercises/armstrong-numbers/src/armstrong_numbers.erl +8 -0
- data/tracks/erlang/exercises/armstrong-numbers/src/example.erl +29 -0
- data/tracks/erlang/exercises/armstrong-numbers/test/armstrong_numbers_tests.erl +33 -0
- data/tracks/erlang/exercises/bracket-push/src/example.erl +1 -1
- data/tracks/erlang/exercises/isbn-verifier/src/example.erl +1 -1
- data/tracks/julia/config.json +12 -0
- data/tracks/julia/docs/ABOUT.md +3 -3
- data/tracks/julia/exercises/spiral-matrix/README.md +31 -0
- data/tracks/julia/exercises/spiral-matrix/example.jl +9 -0
- data/tracks/julia/exercises/spiral-matrix/runtests.jl +25 -0
- data/tracks/julia/exercises/spiral-matrix/spiral-matrix.jl +3 -0
- data/tracks/perl5/config.json +1 -0
- data/tracks/perl5/docs/ABOUT.md +4 -3
- data/tracks/perl6/config.json +1 -0
- data/tracks/powershell/config.json +1 -1
- data/tracks/python/exercises/hello-world/example.py +2 -5
- data/tracks/python/exercises/hello-world/hello_world.py +1 -1
- data/tracks/reasonml/.gitignore +1 -0
- data/tracks/reasonml/Makefile +6 -3
- data/tracks/reasonml/config.json +21 -0
- data/tracks/reasonml/exercises/anagram/src/Anagram.rei +1 -0
- data/tracks/reasonml/exercises/anagram/src/Example.re +10 -12
- data/tracks/reasonml/exercises/binary-search/src/BinarySearch.rei +1 -0
- data/tracks/reasonml/exercises/bob/src/Bob.rei +1 -0
- data/tracks/reasonml/exercises/change/src/Change.rei +2 -0
- data/tracks/reasonml/exercises/change/src/Example.re +16 -15
- data/tracks/reasonml/exercises/hello-world/src/HelloWorld.rei +1 -0
- data/tracks/reasonml/exercises/leap/src/Leap.rei +1 -0
- data/tracks/reasonml/exercises/pangram/README.md +21 -0
- data/tracks/reasonml/exercises/pangram/__tests__/Pangram_test.re +36 -0
- data/tracks/reasonml/exercises/pangram/bsconfig.json +30 -0
- data/tracks/reasonml/exercises/pangram/package.json +20 -0
- data/tracks/reasonml/exercises/pangram/src/Example.re +36 -0
- data/tracks/reasonml/exercises/pangram/src/Pangram.rei +1 -0
- data/tracks/reasonml/exercises/phone-number/.gitignore +6 -0
- data/tracks/reasonml/exercises/phone-number/README.md +43 -0
- data/tracks/reasonml/exercises/phone-number/__tests__/PhoneNumber_test.re +48 -0
- data/tracks/reasonml/exercises/phone-number/bsconfig.json +27 -0
- data/tracks/reasonml/exercises/phone-number/package-lock.json +5853 -0
- data/tracks/reasonml/exercises/phone-number/package.json +20 -0
- data/tracks/reasonml/exercises/phone-number/src/Example.re +13 -0
- data/tracks/reasonml/exercises/phone-number/src/PhoneNumber.rei +1 -0
- data/tracks/reasonml/exercises/raindrops/src/Raindrops.rei +1 -0
- data/tracks/reasonml/exercises/rna-transcription/src/Example.re +13 -6
- data/tracks/reasonml/exercises/rna-transcription/src/RnaTranscription.rei +13 -0
- data/tracks/reasonml/exercises/run-length-encoding/src/RunLengthEncoding.rei +2 -0
- data/tracks/reasonml/exercises/space-age/__tests__/SpaceAge_test.re +8 -8
- data/tracks/reasonml/exercises/space-age/src/Example.re +3 -5
- data/tracks/reasonml/exercises/space-age/src/SpaceAge.rei +11 -0
- data/tracks/reasonml/exercises/word-count/src/WordCount.rei +1 -0
- data/tracks/sml/config.json +1 -0
- data/tracks/swift/.gitignore +5 -3
- data/tracks/swift/.travis.yml +8 -1
- data/tracks/swift/Package.swift +70 -11
- data/tracks/swift/exercises/atbash-cipher/Package.swift +1 -1
- data/tracks/swift/exercises/atbash-cipher/Sources/{Atbash.swift → AtbashCipher.swift} +0 -0
- data/tracks/swift/exercises/atbash-cipher/Sources/{AtbashExample.swift → AtbashCipherExample.swift} +1 -1
- data/tracks/swift/exercises/atbash-cipher/Tests/{AtbashTests/AtbashTests.swift → AtbashCipherTests/AtbashCipherTests.swift} +11 -11
- data/tracks/swift/exercises/atbash-cipher/Tests/LinuxMain.swift +2 -2
- data/tracks/swift/exercises/custom-set/Sources/CustomSetExample.swift +6 -2
- data/tracks/swift/exercises/poker/Sources/PokerExample.swift +2 -2
- metadata +49 -14
- data/tracks/clojure/docs/ABOUT.org +0 -24
- data/tracks/clojure/docs/INSTALLATION.org +0 -26
- data/tracks/clojure/docs/LEARNING.org +0 -35
- data/tracks/clojure/docs/RESOURCES.org +0 -9
- data/tracks/swift/.swift-version +0 -1
- data/tracks/swift/allProjects.xcworkspace.source/contents.xcworkspacedata +0 -4
- data/tracks/swift/allProjects.xcworkspace.source/xcshareddata/xcschemes/AllTest.xcscheme +0 -46
- data/tracks/swift/allProjectsPopulateWorkspace.sh +0 -35
@@ -1,24 +0,0 @@
|
|
1
|
-
#+TITLE: About
|
2
|
-
|
3
|
-
[[http://clojure.org][Clojure]] is a dynamic programming language that targets
|
4
|
-
the Java Virtual Machine (JVM). Designed as a general purpose language, Clojure
|
5
|
-
combines the approachability of a scripting language with a robust
|
6
|
-
infrastructure for multithreaded programming.
|
7
|
-
|
8
|
-
Clojure is predominantly a functional programming language, and features a rich
|
9
|
-
set of immutable, persistent [[http://clojure.org/data_structures][data structures]].
|
10
|
-
|
11
|
-
Clojure is open source, and information about contributing to the language
|
12
|
-
[[http://clojure.org/contributing][can be found here]].
|
13
|
-
|
14
|
-
Rich Hickey, the creator of Clojure, wanted a modern Lisp for functional
|
15
|
-
programming, symbiotic with the established Java platform, and designed for
|
16
|
-
concurrency; thus, Clojure was born.
|
17
|
-
|
18
|
-
#+BEGIN_QUOTE
|
19
|
-
Good design is not about making grand plans, but about taking things apart.
|
20
|
-
#+END_QUOTE
|
21
|
-
|
22
|
-
#+BEGIN_QUOTE
|
23
|
-
Programming is not about typing...it's about thinking.
|
24
|
-
#+END_QUOTE
|
@@ -1,26 +0,0 @@
|
|
1
|
-
#+TITLE: Installation
|
2
|
-
|
3
|
-
* Installing Leiningen
|
4
|
-
The simplest approach to setting up a Clojure environment is to install the
|
5
|
-
build tool [[https://github.com/technomancy/leiningen][Leiningen]] which will provide access to a REPL (Read Eval Print Loop)
|
6
|
-
for interactive development and allow you to run Clojure code.
|
7
|
-
|
8
|
-
** Linux and Windows
|
9
|
-
For installation instructions on most platforms see:
|
10
|
-
[[https://github.com/technomancy/leiningen#installation][Leiningen installation]].
|
11
|
-
|
12
|
-
** Homebrew for Mac OS X
|
13
|
-
Update your Homebrew:
|
14
|
-
#+BEGIN_SRC bash
|
15
|
-
$ brew update
|
16
|
-
#+END_SRC
|
17
|
-
|
18
|
-
Install Leiningen:
|
19
|
-
#+BEGIN_SRC bash
|
20
|
-
$ brew install leiningen
|
21
|
-
#+END_SRC
|
22
|
-
|
23
|
-
** Installing the standalone JAR
|
24
|
-
Alternatively you can download the latest stable release jar file from
|
25
|
-
[[http://clojure.org/community/downloads][clojure.org/downloads]] which contains everything required to run Clojure code and
|
26
|
-
provides a basic REPL.
|
@@ -1,35 +0,0 @@
|
|
1
|
-
#+TITLE: Learning
|
2
|
-
|
3
|
-
Exercism provides exercises and feedback but can be difficult to jump
|
4
|
-
into for those learning Clojure for the first time.
|
5
|
-
|
6
|
-
These resources can help you get started:
|
7
|
-
|
8
|
-
* References
|
9
|
-
- [[http://clojure.org][Clojure.org]] The official language website.
|
10
|
-
- [[https://clojuredocs.org][ClojureDocs]] A repository of language references
|
11
|
-
and examples by function or keyword.
|
12
|
-
- [[http://conj.io][Grimoire]] Community combined cheatsheet and examples.
|
13
|
-
|
14
|
-
* Exercises and Tutorials
|
15
|
-
- [[http://www.4clojure.com][4Clojure]] A resource to help fledgling clojurians learn the language through
|
16
|
-
interactive problems.
|
17
|
-
- [[http://clojurekatas.org][Clojure Katas]] A set of problems to help you get your hands dirty with Clojure.
|
18
|
-
- [[https://github.com/gigasquid/wonderland-clojure-katas][Wonderland Clojure Katas]] Clojure Katas inspired by Alice in Wonderland.
|
19
|
-
- [[http://www.parens-of-the-dead.com][Parens of the Dead]] A screencast series of zombie-themed games written with
|
20
|
-
Clojure and ClojureScript.
|
21
|
-
- [[http://clojurekoans.com][Clojure Koans]] ([[http://clojurescriptkoans.com][online]]) Exercises meant to initiate you to the mysteries of the
|
22
|
-
Clojure language.
|
23
|
-
|
24
|
-
* Community
|
25
|
-
- [[http://www.clojurebridge.org][ClojureBridge]] Aims to increase diversity within the Clojure community by
|
26
|
-
offering free, beginner-friendly Clojure programming workshops for women.
|
27
|
-
- [[http://planet.clojure.in][Planet Clojure]] Clojure blog aggregator.
|
28
|
-
- [[http://www.clojuregazette.com][Clojure Gazette]] A free, weekly email to inspire Clojure programmers.
|
29
|
-
- [[http://reborg.tumblr.com][Clojure Weekly]] A weekly collection of Clojure topics.
|
30
|
-
|
31
|
-
* Books
|
32
|
-
- [[http://shop.oreilly.com/product/0636920034292.do][Living Clojure]] by Carin Meier
|
33
|
-
- [[http://www.braveclojure.com][Clojure for the Brave and True]] by Daniel Higginbotham
|
34
|
-
- [[https://www.manning.com/books/the-joy-of-clojure-second-edition][The Joy of Clojure]] by Michael Fogus and Chris Houser
|
35
|
-
- [[https://pragprog.com/book/vmclojeco/clojure-applied][Clojure Applied]] by Ben Vandgrift and Alex Miller
|
@@ -1,9 +0,0 @@
|
|
1
|
-
#+TITLE: Resources
|
2
|
-
|
3
|
-
* Recommended Learning Resources
|
4
|
-
There are some great resources available to help you get started
|
5
|
-
learning Clojure; here is a short list.
|
6
|
-
- [[http://learn-clojure.com/][Learn Clojure]]
|
7
|
-
- [[https://clojuredocs.org/][Clojure Docs]]
|
8
|
-
- [[http://www.braveclojure.com/][Brave Clojure]]
|
9
|
-
- [[https://www.4clojure.com/][4Clojure]]
|
data/tracks/swift/.swift-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.0
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<Scheme
|
3
|
-
LastUpgradeVersion = "0900"
|
4
|
-
version = "1.3">
|
5
|
-
<BuildAction
|
6
|
-
parallelizeBuildables = "YES"
|
7
|
-
buildImplicitDependencies = "YES">
|
8
|
-
</BuildAction>
|
9
|
-
<TestAction
|
10
|
-
buildConfiguration = "Debug"
|
11
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
12
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
13
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
14
|
-
<Testables>
|
15
|
-
</Testables>
|
16
|
-
<AdditionalOptions>
|
17
|
-
</AdditionalOptions>
|
18
|
-
</TestAction>
|
19
|
-
<LaunchAction
|
20
|
-
buildConfiguration = "Debug"
|
21
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
22
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
23
|
-
launchStyle = "0"
|
24
|
-
useCustomWorkingDirectory = "NO"
|
25
|
-
ignoresPersistentStateOnLaunch = "NO"
|
26
|
-
debugDocumentVersioning = "YES"
|
27
|
-
debugServiceExtension = "internal"
|
28
|
-
allowLocationSimulation = "YES">
|
29
|
-
<AdditionalOptions>
|
30
|
-
</AdditionalOptions>
|
31
|
-
</LaunchAction>
|
32
|
-
<ProfileAction
|
33
|
-
buildConfiguration = "Release"
|
34
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
35
|
-
savedToolIdentifier = ""
|
36
|
-
useCustomWorkingDirectory = "NO"
|
37
|
-
debugDocumentVersioning = "YES">
|
38
|
-
</ProfileAction>
|
39
|
-
<AnalyzeAction
|
40
|
-
buildConfiguration = "Debug">
|
41
|
-
</AnalyzeAction>
|
42
|
-
<ArchiveAction
|
43
|
-
buildConfiguration = "Release"
|
44
|
-
revealArchiveInOrganizer = "YES">
|
45
|
-
</ArchiveAction>
|
46
|
-
</Scheme>
|
@@ -1,35 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
if [ -d "./allProjects.xcworkspace" ]; then
|
4
|
-
echo "Please remove allProjects.xcworkspace. This script recreates this file."
|
5
|
-
exit 1;
|
6
|
-
fi
|
7
|
-
|
8
|
-
#creates all the xcode projects
|
9
|
-
for d in ./exercises/*/ ; do
|
10
|
-
set -e -o pipefail # http://linuxcommand.org/lc3_man_pages/seth.html
|
11
|
-
swift package -C $d generate-xcodeproj --output allProjects
|
12
|
-
done
|
13
|
-
|
14
|
-
#create a new blank copy of a workspace file with an scheme of AllTest
|
15
|
-
/bin/cp -rf allProjects.xcworkspace.source allProjects.xcworkspace
|
16
|
-
|
17
|
-
declare -a names
|
18
|
-
suffix=".xcodeproj/"
|
19
|
-
prefix="./allProjects/"
|
20
|
-
index=0
|
21
|
-
|
22
|
-
#This creates a workspace with an AllTest scheme to run all tests.
|
23
|
-
for p in ./allProjects/*/ ; do
|
24
|
-
sed -i '' '/<\/Workspace>/i \
|
25
|
-
<FileRef location = "group:'$p'"> </FileRef>' allProjects.xcworkspace/contents.xcworkspacedata
|
26
|
-
name=${p#$prefix}
|
27
|
-
name=${name%$suffix}
|
28
|
-
names[$index]=$name;
|
29
|
-
((index+=1))
|
30
|
-
sed -i '' '/<Testables>/a \
|
31
|
-
<TestableReference skipped = "NO"><BuildableReference BuildableIdentifier = "primary" BlueprintIdentifier = "OBJ_24" BuildableName = "'$name'Tests.xctest" BlueprintName = "'$name'Tests" ReferencedContainer = "container:'$p'"> </BuildableReference> </TestableReference>' allProjects.xcworkspace/xcshareddata/xcschemes/AllTest.xcscheme
|
32
|
-
|
33
|
-
done
|
34
|
-
|
35
|
-
echo "Now you can run the AllTests scheme on allProjects.xcworkspace";
|