I hereby claim:
- I am stroncium on github.
- I am stronzi (https://keybase.io/stronzi) on keybase.
- I have a public key ASD936GRMz-1acsXn9l7dBQzn6SaRh5BLQ5p66G3h7zcnQo
To claim this, I am signing this object:
| # Fixes the view each time the view changes | |
| require 'sketchup' | |
| def refresh | |
| UI.start_timer(0, false) { | |
| Sketchup.active_model.active_view.invalidate.refresh | |
| } | |
| end |
| const ora = require("."); | |
| const spinner = ora(); | |
| function loop(n) { | |
| if (n === 10) { | |
| spinner.succeed(String(n)); | |
| spinner.stop(); | |
| return; |
I hereby claim:
To claim this, I am signing this object:
| package tests; | |
| import js.Node; | |
| using AsyncLambda; | |
| class TestNode implements async.Build{ | |
| @:async static function writeAll(fd:Int, content:String){ | |
| var total = 0, length = content.length; | |
| while (total > length){ | |
| async(written = Node.fs.write(fd, content, total, length - total, null)); | |
| total+= written; |