Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions markup/scripting
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const _ = require('lodash');||import os, re, sys||##gray|# sudo apt install php-
@<&nbsp;>@||$ node foo.js||$ python foo.py||$ php -f foo.php||$ ruby foo.rb||
||[[# repl]][#repl-note repl] _
@<&nbsp;>@||$ node||$ python||$ php -a||$ irb||
||[[# cmd-line-program]][#cmd-line-program-note command line program]||$ node -e "console.log('hi!');"||$ python -c 'print("hi!")'||$ php -r 'echo "hi!\n";'||$ ruby -e 'puts "hi!"'||
||[[# cmd-line-program]][#cmd-line-program-note command line program]||$ node -e "console.log('hi!');"
$ node -p "'hi!'"||$ python -c 'print("hi!")'||$ php -r 'echo "hi!\n";'||$ ruby -e 'puts "hi!"'||
||[[# block-delimiters]][#block-delimiters-note block delimiters] _
@<&nbsp;>@||{}||: ##gray|//and offside rule//##||{}||{} _
do end||
Expand Down Expand Up @@ -4885,4 +4886,4 @@ Ruby MRI threads are operating system threads, but a global interpreter lock pre
[[# wait-on-thread-note]]
++ [#wait-on-thread wait on thread]

How to make a thread wait for another thread to finish.
How to make a thread wait for another thread to finish.