Skip to content

Instantly share code, notes, and snippets.

View askainet's full-sized avatar
🍻

Ivan Lopez askainet

🍻
View GitHub Profile
@askainet
askainet / ANSI.md
Created February 21, 2025 16:34 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

Architecture NVIDIA GPU Instance type Instance name Number of GPUs GPU Memory (per GPU) GPU Interconnect (NVLink / PCIe) Thermal
Design Power (TDP) from nvidia-smi
Tensor Cores (mixed-precision) Precision Support CPU Type Nitro based
Ampere A100 P4 p4d.24xlarge 8 40 GB NVLink gen 3 (600 GB/s) 400W Tensor Cores (Gen 3) FP64, FP32, FP16, INT8, BF16, TF32 Intel Xeon Scalable (Cascade Lake) Yes
Ampere A10G G5 g5.xlarge 1 24 GB NA (
@askainet
askainet / gist:a41ec027e3ec14b8ad54ad4447be6af0
Created October 6, 2020 15:42
terratest http-helper tests results
$ go test -v -count=1 .
=== RUN TestRunDummyServer
=== PAUSE TestRunDummyServer
=== RUN TestContinuouslyCheck
=== PAUSE TestContinuouslyCheck
=== RUN TestOkBody
=== PAUSE TestOkBody
=== RUN TestHTTPDoWithValidation
=== PAUSE TestHTTPDoWithValidation
=== RUN TestHTTPDoWithCustomValidation
@askainet
askainet / gist:e01966f2677d41d547a67782d35eef3b
Created October 6, 2020 15:40
terratest retry tests results
$ go test -v -count=1 .
=== RUN TestDoWithRetry
=== PAUSE TestDoWithRetry
=== RUN TestDoWithTimeout
=== PAUSE TestDoWithTimeout
=== RUN TestDoInBackgroundUntilStopped
=== PAUSE TestDoInBackgroundUntilStopped
=== RUN TestDoWithRetryableErrors
=== PAUSE TestDoWithRetryableErrors
=== CONT TestDoWithRetry
@askainet
askainet / gist:93d334396fd2ded4f0148ddcacc6c680
Last active October 6, 2020 15:37
terratest dns-helper test results
$ go test -v -count=1 .
=== RUN TestOkDNSFindNameservers
=== PAUSE TestOkDNSFindNameservers
=== RUN TestErrorDNSFindNameservers
=== PAUSE TestErrorDNSFindNameservers
=== RUN TestOkTerratestDNSLookupAuthoritative
=== PAUSE TestOkTerratestDNSLookupAuthoritative
=== RUN TestOkLocalDNSLookupAuthoritative
=== PAUSE TestOkLocalDNSLookupAuthoritative
=== RUN TestErrorLocalDNSLookupAuthoritative

Keybase proof

I hereby claim:

  • I am askainet on github.
  • I am askainet (https://keybase.io/askainet) on keybase.
  • I have a public key ASBf71Acmt3TISzA5XMppyTUVN3NmE2zrn5YBkHWprXBago

To claim this, I am signing this object: