Solved the problem with Attempt 2 with export LD_LIBRARY_PATH
## On-Premise
OS: Ubuntu 22.04.2
Golang Ver.: 1.21.0
GCC Ver.: 11.4.0
## Docker
_scan() async { | |
if (isDeviceConnected) return; | |
print('_scan()'); | |
try { | |
flutterBlue.scan( | |
timeout: Duration(seconds: 4), // onDone() | |
withServices: [], // modify the target service UUID | |
).listen((scanResult) { | |
print("scanResult : $scanResult"); |
import SwiftUI | |
struct ContentView : View { | |
@EnvironmentObject var router: Router | |
var body: some View { | |
NavigationStack(path: $router.path) { | |
#!/usr/bin/python | |
# -*- coding:utf-8 -*- | |
import os, sys, logging, time, datetime, signal | |
from datetime import datetime | |
import config | |
import utils | |
import threading | |
from flask import Flask, jsonify, request | |
from PIL import Image, ImageDraw, ImageFont |
from datetime import datetime | |
from fastapi import FastAPI | |
from fastapi.responses import JSONResponse | |
import uvicorn | |
from apscheduler.schedulers.background import BackgroundScheduler | |
## Init | |
app = FastAPI() | |
scheduler = BackgroundScheduler() |
// Date: 2023/05/19 | |
// From anomoly user named SI from Line OpenChat Flutter-Disgussion-Group | |
// For Education & Learning Purpose | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatefulWidget { | |
const MyApp({super.key}); |
import cv2 | |
import numpy as np | |
# Set frame size | |
frame_width = 1920 | |
frame_height = 1080 | |
# Create a VideoWriter object | |
video_writer = cv2.VideoWriter('output_video.mp4', cv2.VideoWriter_fourcc(*'mp4v'), 30, (frame_width, frame_height)) |
import polars as pl | |
df = pl.DataFrame({ | |
"epoch_seconds": [1648457740, 1648457740 + 10] | |
}) | |
# print(df) | |
df = df.with_columns( | |
pl.from_epoch("epoch_seconds", time_unit="s") |
// ==UserScript== | |
// @name ScreenCloud AWS: region dropdown cleanup | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @author wolf@screencloud.io | |
// @include https://*.console.aws.amazon.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
package model | |
import ( | |
log "omc-backend/pkg/logging" | |
"omc-backend/pkg/role" | |
) | |
type Permissions struct { | |
Create bool `json:"create"` | |
Read bool `json:"read"` |