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
package golangbench | |
import ( | |
"fmt" | |
"hash/fnv" | |
"math/rand" | |
"runtime" | |
"sync" | |
"sync/atomic" | |
"testing" |
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
package btree | |
import ( | |
"fmt" | |
"slices" | |
"sort" | |
"strings" | |
) | |
type BTree struct { |
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
package main | |
import ( | |
"bufio" | |
"errors" | |
"fmt" | |
"io" | |
"log/slog" | |
"net" | |
"os" |
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
import socket | |
import os | |
import logging | |
import dataclasses | |
import asyncio | |
from typing import Callable, Dict, List, Any, Union | |
@dataclasses.dataclass | |
class Error: |
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
#!/bin/bash | |
sudo docker pull phpmyadmin/phpmyadmin | |
sudo docker pull mysql:5.7.24 | |
sudo docker network create mysql-network | |
sudo docker run --name a-mysql \ | |
--net=mysql-network \ | |
-p 3306:3306 \ |