npm init next-app ~/code/next-ts && code ~/code/next-ts
npm i -D typescript @types/react @types/node
git rm -f index.js
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
describe 'Expectations' do | |
it 'fails with the wrong expectations' do | |
my_hash = { 'created_at' => Time.now } | |
expect(my_hash['created_at']).to be_a_kind_of(Time) | |
# expect(my_hash) | |
# .to eql({ 'created_at' => a_kind_of(Time) }) | |
# expect(my_hash) | |
# .to eq({ 'created_at' => a_kind_of(Time) }) |
From Docker docs — Get started
- Stack
- A group of interrelated services that share dependencies, can be orchestrated and scaled together (e.g., add visualizer and redis services). Swarm
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
<div id="container"></div> |
OlderNewer