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
| use log::{Level, Metadata, Record}; | |
| use serde_json::{json, Value as JsonValue}; | |
| use std::sync::{Arc, Mutex}; | |
| pub struct Logger { | |
| axiom_token: String, | |
| axiom_dataset: String, | |
| client: reqwest::blocking::Client, | |
| buffer: Arc<Mutex<Vec<JsonValue>>>, |
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
| version: '3.2' | |
| volumes: | |
| postgres_data: | |
| minio_data: | |
| services: | |
| axiom-db: | |
| image: axiomhq/axiom-db:1.13.0 | |
| environment: |
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
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
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
| # Put this in your ~/.(bash|zsh|*)rc file | |
| # Usage: apm bundle | |
| # For an example Atomfile, look here: https://github.com/bahlo/dotfiles/tree/master/atom.symlink | |
| function apm() { | |
| REAL_APM="/usr/local/bin/apm" | |
| if [[ $# -eq 0 ]]; then | |
| $REAL_APM $1 | |
| echo "<command> can also be bundle." | |
| echo |
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
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDE9yuE4Jkl44l7MU7gb2WxUwKaZSmX+rdnl0N441s3hwIgqdF1MNr/XWZmsy3b1WZUFP98Zs8/GAF3PmbaKuYwPBEwMaty7XsPhgUhg/dEeDVGc3QqEWQ8ET6J6GABPOr87uAhmn8uU5yHENW+pBrY5bD11i5zbNg9+HthBta0w/WaiZmjYHRw7mot/vFtAfD3Zx9UAtZdU1thuj8agylnFfLrd99eous30nX3s29ZlG9T0mdzSqwflaiRCepW704G3q1Y26kalty+Oq5QyGHyVXNmza/I5WNTivGdzXV3lJCRhdVSDcFB+p4K0p8j7TH6Zo+9w5QzNISv6DB2eQjX29iMHQu30ViUSqB5DXB2xiRF1xDuCGAlgaAA+9sOW2SOeM8UUYwP37BTHLFBbsXCp9DN4YbmPhMuZdxTxkL9cDJcjjP5SVugWKLX1AkqRsBih5YliejQHI0K+J7o2V8qKHcP82Lwz/6X+N/E47ZrcV9n3HBi+IHXdxiiNAoJAot7EyrjA+xiyzh/YTEa+GZzNDyPmSIBuT+gLD0BJL9tTIEKXk5Ye1mjQAj+DnIt6lu25uek1WWLR9w8fNLJeNPc7+QmOeZ7wNMtTlC76G5lvSl6ECyR9DPencQPrjP25saGfNnmAVPslN8kC7Z8alry4+0PNGoscQWSsFZVTOu4eQ== [email protected] |