sidebar_position |
---|
1 |
SimApp
is a CLI application built using the Cosmos SDK for testing and educational purposes.
package main | |
import ( | |
"context" | |
"crypto/ecdsa" | |
"errors" | |
"fmt" | |
"github.com/ethereum/go-ethereum" | |
"github.com/ethereum/go-ethereum/accounts/abi/bind" | |
"github.com/ethereum/go-ethereum/core/types" |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"math/big" | |
"strings" | |
"time" |
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"golang.org/x/oauth2" | |
"io" | |
"net/http" | |
) |
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"golang.org/x/oauth2" | |
"golang.org/x/oauth2/github" | |
"io" | |
"net/http" |
import schedule | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
import time | |
import random # Import the random module | |
def setup_tor_profile(): | |
"""Sets up a Firefox profile for Tor.""" | |
profile = webdriver.FirefoxProfile() |
# Build stage | |
FROM golang:1.20-alpine AS build | |
# Set the working directory inside the container | |
WORKDIR /app | |
# Copy the Go application source code into the container | |
COPY . . | |
# Build the Go application |
package main | |
import ( | |
"fmt" | |
"gorm.io/driver/postgres" | |
"gorm.io/gorm" | |
"gorm.io/gorm/schema" | |
"log" | |
"time" | |
) |
package main | |
import ( | |
"github.com/brianvoe/gofakeit/v6" | |
"gorm.io/driver/postgres" | |
"gorm.io/gorm" | |
"log" | |
"time" | |
) |
package main | |
import ( | |
"image/jpeg" | |
"image/png" | |
"os" | |
"strings" | |
) | |
func main() { |