diff --git a/assets/css/main.css b/assets/css/main.css index 2225870..4082a0f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -26,30 +26,6 @@ li { list-style: none; } -code { - background-color: white; - opacity: 0.9; - color: black; - font-weight: bold; - padding: 15px; - border-radius: 15px; -} - -article { - background-color: black; - height: 100%; - opacity: 0.4; - margin: 5px; - padding: 15px; - border-radius: 15px; -} - -article li { - color: yellow; - text-align: left; - display: flex; -} - /* Links */ a { diff --git a/assets/css/notes.css b/assets/css/notes.css index 42c20c0..0613251 100644 --- a/assets/css/notes.css +++ b/assets/css/notes.css @@ -5,5 +5,62 @@ body { background-color: black; background-size: cover; overflow: scroll; + text-align: right; +} + +article { + background-color: black; + opacity: 0.5; + margin: 5px; + padding: 25px; + border-radius: 25px; + display: inline-block; + font-family: avenir; + text-align: left; +} + +code { + background-color: white; + color: black; + font-weight: bold; + padding: 10px; + border-radius: 10px; +} + +h2 { + font-family: tahoma; +} + +header { + color: black; +} + +/* ul { */ +/* display: block; */ +/* } */ + +/* Links */ + +a { + text-decoration: none; +} + +/* unvisited link */ +a:link { + color: indigo; +} + +/* visited link */ +a:visited { + color: black; +} + +/* mouse over link */ +a:hover { + color: hotpink; +} + +footer { + position: relative; } diff --git a/notes.html b/notes.html index 482c7a9..42e6a87 100644 --- a/notes.html +++ b/notes.html @@ -21,65 +21,43 @@ -
-

Running tests continuously using `entr`

- - - ls *.rb | entr ruby *_test.rb - - -

When you save a ruby file in that directory, the test refreshes and re-runs.

- -

Ruby

- -

Minitest - - ls *.rb | entr ruby *_test.rb - - -

RSpec

-

You need to include the path to the respective files - example with rspec using lib and spec directories.

- - ls lib/*.rb | entr rspec spec/* - - - -

JavaScript/Yarn

- - ls *.js | entr yarn test - - -

Elixir/Mix

- - ls *exs | entr mix test - - - -

Aliases

-

You can alias these to something simper if you would like.

- -

Example:

- - alias minitest_feed="ls *.rb | entr ruby *_test.rb" - - alias rspec_feed="ls lib/*.rb | entr rspec spec/*" - - alias elixir_mix_test_feed="ls *exs | entr mix test" - - alias yarn_test_feed="ls *.js | entr yarn test" - - - -

References

- +
+

Test feed using `entr`

+ +

When you save a ruby file in that directory, the test refreshes and re-runs.

+ + + +
-