Created
December 3, 2023 20:44
-
-
Save secwang/a8897c5d52d5476490394c11d514d71b to your computer and use it in GitHub Desktop.
camp sh and http command
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
hc ← ⎕SE.SALT.Load'HttpCommand' | |
a ← {hc.Get 'https://api.kanye.rest/'} | |
b←{⎕sh 'curl -s "https://api.kanye.rest/"'} | |
)copy dfns cmpx | |
cmpx 'a 0' 'b 0' | |
a 0 → 1.3E0 | 0% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ | |
* b 0 → 1.1E0 | -18% ⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕⎕ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment