This is a sample script for transposing slice from (n x m) to (m x n) for golang.
package main
import "fmt"
func transpose(slice [][]string) [][]string {| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| "strconv" | |
| "strings" | |
| ) | |
| func ParseFloat(str string) (float64, error) { |
| import * as Sentry from '@sentry/browser'; | |
| import getConfig from 'next/config'; | |
| import React from 'react'; | |
| const { SENTRY_DSN } = getConfig().publicRuntimeConfig; | |
| Sentry.init({ dsn: SENTRY_DSN }); | |
| /** | |
| * Send an error event to Sentry. |
| https://forums.quectel.com/t/eg12-and-freq-or-cell-lock-feature/4619 | |
| thanks. | |
| After many test I discover all stuff. | |
| This is example at RouterBoard Chateau, RouterOS 7 beta 8 | |
| Quectel EG12 not support frequency lock to select band at any tower. | |
| Quectel EG12 support one and many Cell Lock’s, you can enter max 20 of CellLock’s and it select the one with the best signal and set it as primary-band. |